summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp')
-rw-r--r--Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp7
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()