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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 422923002: Revert of Remove WebSettings::setDisallowFullscreenForNonMediaElements(bool) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 07803b4746f24e260fddb01a3f572a4368f8f76e..b99d22a70f145dbcc7baca96458b3231eb008f67 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -58,6 +58,7 @@
, m_viewportMetaNonUserScalableQuirk(false)
, m_clobberUserAgentInitialScaleQuirk(false)
, m_mainFrameResizesAreOrientationChanges(false)
+ , m_disallowFullscreenForNonMediaElements(false)
{
ASSERT(settings);
}
@@ -695,4 +696,9 @@
m_mainFrameResizesAreOrientationChanges = enabled;
}
+void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
+{
+ m_disallowFullscreenForNonMediaElements = enabled;
+}
+
} // namespace blink
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698