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

Unified Diff: Source/web/WebSettingsImpl.h

Issue 290643005: Don't show video fullscreen until DidEnterFullscreen() is called, and disable fullscreen for non-me… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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/FullscreenController.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.h
diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h
index 45b0dfe38be34b55ca9228333a23c372f050bc92..bc1664576685d26efb2e2feab0d53939d11f2bb1 100644
--- a/Source/web/WebSettingsImpl.h
+++ b/Source/web/WebSettingsImpl.h
@@ -90,6 +90,7 @@ public:
virtual void setDeviceScaleAdjustment(float) OVERRIDE;
virtual void setDeviceSupportsMouse(bool) OVERRIDE;
virtual void setDeviceSupportsTouch(bool) OVERRIDE;
+ virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE;
virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE;
virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE;
virtual void setEditingBehavior(EditingBehavior) OVERRIDE;
@@ -179,6 +180,7 @@ public:
bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificationEnabled; }
bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNodeToLegibleScale; }
bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnabled; }
+ bool disallowFullscreenForNonMediaElements() const { return m_disallowFullscreenForNonMediaElements; }
bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedTargetDensityDPI; }
@@ -214,6 +216,7 @@ private:
// can be removed any time after 2015. See http://crbug.com/313754.
bool m_clobberUserAgentInitialScaleQuirk;
bool m_mainFrameResizesAreOrientationChanges;
+ bool m_disallowFullscreenForNonMediaElements;
};
} // namespace blink
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698