Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1416)

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 428633004: Webkit setting for embedders that do not support fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 637b399993e528252e21c266544d287a2be35077..e971df245dfc320f922f3a18655274870f0c5a1f 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -694,6 +694,11 @@ void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer)
m_webView->setRootGraphicsLayer(rootLayer);
}
+bool ChromeClientImpl::fullscreenEnabled(Element* element)
+{
+ return m_webView->fullscreenEnabled(element);
+}
+
void ChromeClientImpl::enterFullScreenForElement(Element* element)
{
m_webView->enterFullScreenForElement(element);

Powered by Google App Engine
This is Rietveld 408576698