Index: Source/web/WebSettingsImpl.cpp |
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp |
index be306879779080c1174cd123c59ed2e11a2b8bc0..77530a5befebaef534d46b5d68598cbed92ec5b3 100644 |
--- a/Source/web/WebSettingsImpl.cpp |
+++ b/Source/web/WebSettingsImpl.cpp |
@@ -59,6 +59,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings, InspectorController* inspec |
, m_viewportMetaNonUserScalableQuirk(false) |
, m_clobberUserAgentInitialScaleQuirk(false) |
, m_mainFrameResizesAreOrientationChanges(false) |
+ , m_disallowFullscreenForNonMediaElements(false) |
{ |
ASSERT(settings); |
} |
@@ -711,4 +712,9 @@ void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
m_mainFrameResizesAreOrientationChanges = enabled; |
} |
+void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) |
+{ |
+ m_disallowFullscreenForNonMediaElements = enabled; |
+} |
+ |
} // namespace blink |