Index: Source/web/WebSettingsImpl.cpp |
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp |
index b99d22a70f145dbcc7baca96458b3231eb008f67..0e05d8d748645c3aa8a9cc9e466c9637da9fed89 100644 |
--- a/Source/web/WebSettingsImpl.cpp |
+++ b/Source/web/WebSettingsImpl.cpp |
@@ -58,7 +58,6 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings, InspectorController* inspec |
, m_viewportMetaNonUserScalableQuirk(false) |
, m_clobberUserAgentInitialScaleQuirk(false) |
, m_mainFrameResizesAreOrientationChanges(false) |
- , m_disallowFullscreenForNonMediaElements(false) |
{ |
ASSERT(settings); |
} |
@@ -75,6 +74,11 @@ void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri |
m_settings->notifyGenericFontFamilyChange(); |
} |
+void WebSettingsImpl::setFullScreenEnabled(bool enabled) |
+{ |
+ m_settings->setFullScreenEnabled(enabled); |
+} |
+ |
void WebSettingsImpl::setSerifFontFamily(const WebString& font, UScriptCode script) |
{ |
if (m_settings->genericFontFamilySettings().updateSerif(font, script)) |
@@ -698,7 +702,7 @@ void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) |
{ |
- m_disallowFullscreenForNonMediaElements = enabled; |
+ m_settings->setDisallowFullscreenForNonMediaElements(enabled); |
} |
} // namespace blink |