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

Unified Diff: Source/web/WebSettingsImpl.h

Issue 428633004: Webkit setting for embedders that do not support fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nits 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/WebSettingsImpl.h
diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h
index 56276a111ea1e2690efc25455a48460c906d96c0..d6176d9b0badec5b04246194d5959d29b2fe5bdb 100644
--- a/Source/web/WebSettingsImpl.h
+++ b/Source/web/WebSettingsImpl.h
@@ -45,6 +45,8 @@ public:
explicit WebSettingsImpl(blink::Settings*, blink::InspectorController*);
virtual ~WebSettingsImpl() { }
+ virtual bool disallowFullscreenForNonMediaElements() const OVERRIDE;
+ virtual bool fullscreenEnabled() const OVERRIDE;
virtual bool mainFrameResizesAreOrientationChanges() const OVERRIDE;
virtual bool shrinksViewportContentToFit() const OVERRIDE;
virtual bool scrollAnimatorEnabled() const OVERRIDE;
@@ -99,6 +101,7 @@ public:
virtual void setExperimentalWebGLEnabled(bool) OVERRIDE;
virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) OVERRIDE;
virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) OVERRIDE;
+ virtual void setFullscreenEnabled(bool) OVERRIDE;
virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE;
virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE;
virtual void setImagesEnabled(bool) OVERRIDE;
@@ -176,7 +179,6 @@ public:
bool showPaintRects() const { return m_showPaintRects; }
bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificationEnabled; }
bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNodeToLegibleScale; }
- bool disallowFullscreenForNonMediaElements() const { return m_disallowFullscreenForNonMediaElements; }
bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedTargetDensityDPI; }
@@ -211,7 +213,6 @@ private:
// can be removed any time after 2015. See http://crbug.com/313754.
bool m_clobberUserAgentInitialScaleQuirk;
bool m_mainFrameResizesAreOrientationChanges;
- bool m_disallowFullscreenForNonMediaElements;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698