• mitz@apple.com's avatar
    REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides · bf4519a5
    mitz@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=64615
    
    Reviewed by Anders Carlsson.
    
    Source/WebCore: 
    
    * html/shadow/MediaControlRootElement.cpp:
    (WebCore::MediaControlRootElement::enteredFullscreen): Hide the mouse cursor immediately when
    entering full screen.
    (WebCore::MediaControlRootElement::hideFullscreenControlsTimerFired): Hide the mouse cursor when
    hiding the HUD.
    * loader/EmptyClients.h:
    (WebCore::EmptyChromeClient::setCursorHiddenUntilMouseMoves): Added empty implementation.
    * page/Chrome.cpp:
    (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Added. Calls through to the client.
    * page/Chrome.h:
    * page/ChromeClient.h:
    * platform/HostWindow.h:
    
    Source/WebKit/chromium: 
    
    * src/ChromeClientImpl.cpp:
    (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
    * src/ChromeClientImpl.h:
    
    Source/WebKit/efl: 
    
    * WebCoreSupport/ChromeClientEfl.cpp:
    (WebCore::ChromeClientEfl::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebCoreSupport/ChromeClientEfl.h:
    
    Source/WebKit/gtk: 
    
    * WebCoreSupport/ChromeClientGtk.cpp:
    (WebKit::ChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebCoreSupport/ChromeClientGtk.h:
    
    Source/WebKit/haiku: 
    
    * WebCoreSupport/ChromeClientHaiku.cpp:
    (WebCore::ChromeClientHaiku::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebCoreSupport/ChromeClientHaiku.h:
    
    Source/WebKit/mac: 
    
    * WebCoreSupport/WebChromeClient.h:
    * WebCoreSupport/WebChromeClient.mm:
    (WebChromeClient::setCursorHiddenUntilMouseMoves): Added. Calls
    +[NSCursor setHiddenUntilMouseMoves:].
    
    Source/WebKit/qt: 
    
    * WebCoreSupport/ChromeClientQt.h:
    (WebCore::ChromeClientQt::setCursorHiddenUntilMouseMoves): Added this stub.
    
    Source/WebKit/win: 
    
    * WebCoreSupport/WebChromeClient.cpp:
    (WebChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebCoreSupport/WebChromeClient.h:
    
    Source/WebKit/wince: 
    
    * WebCoreSupport/ChromeClientWinCE.cpp:
    (WebKit::ChromeClientWinCE::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebCoreSupport/ChromeClientWinCE.h:
    
    Source/WebKit/wx: 
    
    * WebKitSupport/ChromeClientWx.h:
    (WebCore::ChromeClientWx::setCursorHiddenUntilMouseMoves): Added this stub.
    
    Source/WebKit2: 
    
    * UIProcess/API/efl/PageClientImpl.cpp:
    (WebKit::PageClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
    * UIProcess/API/efl/PageClientImpl.h:
    * UIProcess/API/gtk/PageClientImpl.cpp:
    (WebKit::PageClientImpl::setCursorHiddenUntilMouseMoves): Ditto.
    * UIProcess/API/gtk/PageClientImpl.h:
    * UIProcess/API/mac/PageClientImpl.h:
    * UIProcess/API/mac/PageClientImpl.mm:
    (WebKit::PageClientImpl::setCursorHiddenUntilMouseMoves): Added. Calls +[NSCursor setHiddenUntilMouseMoves:].
    * UIProcess/PageClient.h:
    * UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::setCursorHiddenUntilMouseMoves): Added. Calls through to the PageClient.
    * UIProcess/WebPageProxy.h:
    * UIProcess/WebPageProxy.messages.in: Added SetCursorHiddenUntilMouseMoves message.
    * UIProcess/win/WebView.cpp:
    (WebKit::WebView::setCursorHiddenUntilMouseMoves): Added this stub.
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    (WebKit::WebChromeClient::setCursorHiddenUntilMouseMoves): Added. Sends SetCursorHiddenUntilMouseMoves message
    to the page proxy.
    * WebProcess/WebCoreSupport/WebChromeClient.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bf4519a5
ChangeLog 683 KB