diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp b/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp index 4817f3fb0..352d6a075 100644 --- a/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp +++ b/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp @@ -28,6 +28,7 @@ #if ENABLE(FULLSCREEN_API) +#include "APIFullscreenClient.h" #include "WebFullScreenManagerMessages.h" #include "WebFullScreenManagerProxyMessages.h" #include "WebPageProxy.h" @@ -56,21 +57,25 @@ WebFullScreenManagerProxy::~WebFullScreenManagerProxy() void WebFullScreenManagerProxy::willEnterFullScreen() { + m_page->fullscreenClient().willEnterFullscreen(m_page); m_page->process().send(Messages::WebFullScreenManager::WillEnterFullScreen(), m_page->pageID()); } void WebFullScreenManagerProxy::didEnterFullScreen() { + m_page->fullscreenClient().didEnterFullscreen(m_page); m_page->process().send(Messages::WebFullScreenManager::DidEnterFullScreen(), m_page->pageID()); } void WebFullScreenManagerProxy::willExitFullScreen() { + m_page->fullscreenClient().willExitFullscreen(m_page); m_page->process().send(Messages::WebFullScreenManager::WillExitFullScreen(), m_page->pageID()); } void WebFullScreenManagerProxy::didExitFullScreen() { + m_page->fullscreenClient().didExitFullscreen(m_page); m_page->process().send(Messages::WebFullScreenManager::DidExitFullScreen(), m_page->pageID()); } @@ -86,7 +91,7 @@ void WebFullScreenManagerProxy::requestExitFullScreen() void WebFullScreenManagerProxy::supportsFullScreen(bool withKeyboard, bool& supports) { - supports = !withKeyboard; + supports = true; } void WebFullScreenManagerProxy::saveScrollPosition() |