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 |