WebFullScreenManagerProxyQt.cpp [plain text]
#include "config.h"
#include "WebFullScreenManagerProxy.h"
#if ENABLE(FULLSCREEN_API)
#include "WebContext.h"
#include "WebFullScreenManagerMessages.h"
#include "WebFullScreenManagerProxyMessages.h"
#include "WebProcess.h"
#include "qquickwebview_p.h"
#include <WebCore/NotImplemented.h>
using namespace WebCore;
namespace WebKit {
void WebFullScreenManagerProxy::invalidate()
{
m_webView = 0;
}
void WebFullScreenManagerProxy::close()
{
notImplemented();
}
bool WebFullScreenManagerProxy::isFullScreen()
{
notImplemented();
return false;
}
void WebFullScreenManagerProxy::enterFullScreen()
{
willEnterFullScreen();
emit m_webView->experimental()->enterFullScreenRequested();
didEnterFullScreen();
}
void WebFullScreenManagerProxy::exitFullScreen()
{
willExitFullScreen();
emit m_webView->experimental()->exitFullScreenRequested();
didExitFullScreen();
}
void WebFullScreenManagerProxy::beganEnterFullScreen(const IntRect& initialFrame, const IntRect& finalFrame)
{
notImplemented();
}
void WebFullScreenManagerProxy::beganExitFullScreen(const IntRect& initialFrame, const IntRect& finalFrame)
{
notImplemented();
}
}
#endif // ENABLE(FULLSCREEN_API)