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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void setDOMPasteAllowed(bool) OVERRIDE; 83 virtual void setDOMPasteAllowed(bool) OVERRIDE;
84 virtual void setDefaultFixedFontSize(int) OVERRIDE; 84 virtual void setDefaultFixedFontSize(int) OVERRIDE;
85 virtual void setDefaultFontSize(int) OVERRIDE; 85 virtual void setDefaultFontSize(int) OVERRIDE;
86 virtual void setDefaultTextEncodingName(const WebString&) OVERRIDE; 86 virtual void setDefaultTextEncodingName(const WebString&) OVERRIDE;
87 virtual void setDefaultVideoPosterURL(const WebString&) OVERRIDE; 87 virtual void setDefaultVideoPosterURL(const WebString&) OVERRIDE;
88 virtual void setDeferredFiltersEnabled(bool) OVERRIDE; 88 virtual void setDeferredFiltersEnabled(bool) OVERRIDE;
89 virtual void setDeferredImageDecodingEnabled(bool) OVERRIDE; 89 virtual void setDeferredImageDecodingEnabled(bool) OVERRIDE;
90 virtual void setDeviceScaleAdjustment(float) OVERRIDE; 90 virtual void setDeviceScaleAdjustment(float) OVERRIDE;
91 virtual void setDeviceSupportsMouse(bool) OVERRIDE; 91 virtual void setDeviceSupportsMouse(bool) OVERRIDE;
92 virtual void setDeviceSupportsTouch(bool) OVERRIDE; 92 virtual void setDeviceSupportsTouch(bool) OVERRIDE;
93 virtual void setDisallowFullscreenForNonMediaElements(bool) OVERRIDE;
93 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; 94 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE;
94 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; 95 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE;
95 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; 96 virtual void setEditingBehavior(EditingBehavior) OVERRIDE;
96 virtual void setEnableScrollAnimator(bool) OVERRIDE; 97 virtual void setEnableScrollAnimator(bool) OVERRIDE;
97 virtual void setEnableTouchAdjustment(bool) OVERRIDE; 98 virtual void setEnableTouchAdjustment(bool) OVERRIDE;
98 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; 99 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE;
99 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; 100 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE;
100 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE; 101 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE;
101 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE; 102 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE;
102 virtual void setGestureTapHighlightEnabled(bool) OVERRIDE; 103 virtual void setGestureTapHighlightEnabled(bool) OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; 173 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE;
173 virtual void setWebSecurityEnabled(bool) OVERRIDE; 174 virtual void setWebSecurityEnabled(bool) OVERRIDE;
174 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; 175 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
175 virtual void setXSSAuditorEnabled(bool) OVERRIDE; 176 virtual void setXSSAuditorEnabled(bool) OVERRIDE;
176 177
177 bool showFPSCounter() const { return m_showFPSCounter; } 178 bool showFPSCounter() const { return m_showFPSCounter; }
178 bool showPaintRects() const { return m_showPaintRects; } 179 bool showPaintRects() const { return m_showPaintRects; }
179 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 180 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
180 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 181 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
181 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } 182 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; }
183 bool disallowFullscreenForNonMediaElements() const { return m_disallowFullsc reenForNonMediaElements; }
182 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 184 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
183 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 185 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
184 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 186 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
185 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded HeuristicsForGpuRasterization; } 187 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded HeuristicsForGpuRasterization; }
186 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 188 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
187 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 189 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
188 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; } 190 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; }
189 191
190 private: 192 private:
191 WebCore::Settings* m_settings; 193 WebCore::Settings* m_settings;
(...skipping 15 matching lines...) Expand all
207 bool m_viewportMetaLayoutSizeQuirk; 209 bool m_viewportMetaLayoutSizeQuirk;
208 // This quirk is to maintain compatibility with Android apps built on 210 // This quirk is to maintain compatibility with Android apps built on
209 // the Android SDK prior to and including version 18. Presumably, this 211 // the Android SDK prior to and including version 18. Presumably, this
210 // can be removed any time after 2015. See http://crbug.com/312691. 212 // can be removed any time after 2015. See http://crbug.com/312691.
211 bool m_viewportMetaNonUserScalableQuirk; 213 bool m_viewportMetaNonUserScalableQuirk;
212 // This quirk is to maintain compatibility with Android apps built on 214 // This quirk is to maintain compatibility with Android apps built on
213 // the Android SDK prior to and including version 18. Presumably, this 215 // the Android SDK prior to and including version 18. Presumably, this
214 // can be removed any time after 2015. See http://crbug.com/313754. 216 // can be removed any time after 2015. See http://crbug.com/313754.
215 bool m_clobberUserAgentInitialScaleQuirk; 217 bool m_clobberUserAgentInitialScaleQuirk;
216 bool m_mainFrameResizesAreOrientationChanges; 218 bool m_mainFrameResizesAreOrientationChanges;
219 bool m_disallowFullscreenForNonMediaElements;
217 }; 220 };
218 221
219 } // namespace blink 222 } // namespace blink
220 223
221 #endif 224 #endif
OLDNEW
« 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