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

Side by Side 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: Created 6 years, 4 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
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual void setDeviceSupportsTouch(bool) OVERRIDE; 91 virtual void setDeviceSupportsTouch(bool) OVERRIDE;
92 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE; 92 virtual void setDoubleTapToZoomEnabled(bool) OVERRIDE;
93 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE; 93 virtual void setDownloadableBinaryFontsEnabled(bool) OVERRIDE;
94 virtual void setEditingBehavior(EditingBehavior) OVERRIDE; 94 virtual void setEditingBehavior(EditingBehavior) OVERRIDE;
95 virtual void setEnableScrollAnimator(bool) OVERRIDE; 95 virtual void setEnableScrollAnimator(bool) OVERRIDE;
96 virtual void setEnableTouchAdjustment(bool) OVERRIDE; 96 virtual void setEnableTouchAdjustment(bool) OVERRIDE;
97 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE; 97 virtual void setRegionBasedColumnsEnabled(bool) OVERRIDE;
98 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE; 98 virtual void setExperimentalWebGLEnabled(bool) OVERRIDE;
99 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE; 99 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) OVERRIDE;
100 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE; 100 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) OVERRIDE;
101 virtual void setFullscreenEnabled(bool) OVERRIDE;
101 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE; 102 virtual void setHyperlinkAuditingEnabled(bool) OVERRIDE;
102 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE; 103 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) OVERRIDE;
103 virtual void setImagesEnabled(bool) OVERRIDE; 104 virtual void setImagesEnabled(bool) OVERRIDE;
104 virtual void setJavaEnabled(bool) OVERRIDE; 105 virtual void setJavaEnabled(bool) OVERRIDE;
105 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE; 106 virtual void setJavaScriptCanAccessClipboard(bool) OVERRIDE;
106 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE; 107 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) OVERRIDE;
107 virtual void setJavaScriptEnabled(bool) OVERRIDE; 108 virtual void setJavaScriptEnabled(bool) OVERRIDE;
108 virtual void setLayerSquashingEnabled(bool) OVERRIDE; 109 virtual void setLayerSquashingEnabled(bool) OVERRIDE;
109 virtual void setLoadsImagesAutomatically(bool) OVERRIDE; 110 virtual void setLoadsImagesAutomatically(bool) OVERRIDE;
110 virtual void setLoadWithOverviewMode(bool) OVERRIDE; 111 virtual void setLoadWithOverviewMode(bool) OVERRIDE;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; 170 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE;
170 virtual void setWebSecurityEnabled(bool) OVERRIDE; 171 virtual void setWebSecurityEnabled(bool) OVERRIDE;
171 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; 172 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
172 virtual void setXSSAuditorEnabled(bool) OVERRIDE; 173 virtual void setXSSAuditorEnabled(bool) OVERRIDE;
173 174
174 bool showFPSCounter() const { return m_showFPSCounter; } 175 bool showFPSCounter() const { return m_showFPSCounter; }
175 bool showPaintRects() const { return m_showPaintRects; } 176 bool showPaintRects() const { return m_showPaintRects; }
176 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 177 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
177 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 178 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
178 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 179 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
180 bool fullscreenEnabled() const { return m_fullscreenEnabled; }
179 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
180 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
181 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded HeuristicsForGpuRasterization; } 183 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded HeuristicsForGpuRasterization; }
182 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 184 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
183 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 185 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
184 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; } 186 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; }
185 187
186 private: 188 private:
187 blink::Settings* m_settings; 189 blink::Settings* m_settings;
188 blink::InspectorController* m_inspectorController; 190 blink::InspectorController* m_inspectorController;
189 bool m_showFPSCounter; 191 bool m_showFPSCounter;
190 bool m_showPaintRects; 192 bool m_showPaintRects;
191 bool m_renderVSyncNotificationEnabled; 193 bool m_renderVSyncNotificationEnabled;
192 bool m_autoZoomFocusedNodeToLegibleScale; 194 bool m_autoZoomFocusedNodeToLegibleScale;
193 bool m_deferredImageDecodingEnabled; 195 bool m_deferredImageDecodingEnabled;
194 bool m_doubleTapToZoomEnabled; 196 bool m_doubleTapToZoomEnabled;
197 bool m_fullscreenEnabled;
195 bool m_perTilePaintingEnabled; 198 bool m_perTilePaintingEnabled;
196 bool m_supportDeprecatedTargetDensityDPI; 199 bool m_supportDeprecatedTargetDensityDPI;
197 bool m_shrinksViewportContentToFit; 200 bool m_shrinksViewportContentToFit;
198 bool m_useExpandedHeuristicsForGpuRasterization; 201 bool m_useExpandedHeuristicsForGpuRasterization;
199 // This quirk is to maintain compatibility with Android apps built on 202 // This quirk is to maintain compatibility with Android apps built on
200 // the Android SDK prior to and including version 18. Presumably, this 203 // the Android SDK prior to and including version 18. Presumably, this
201 // can be removed any time after 2015. See http://crbug.com/277369. 204 // can be removed any time after 2015. See http://crbug.com/277369.
202 bool m_viewportMetaLayoutSizeQuirk; 205 bool m_viewportMetaLayoutSizeQuirk;
203 // This quirk is to maintain compatibility with Android apps built on 206 // This quirk is to maintain compatibility with Android apps built on
204 // the Android SDK prior to and including version 18. Presumably, this 207 // the Android SDK prior to and including version 18. Presumably, this
205 // can be removed any time after 2015. See http://crbug.com/312691. 208 // can be removed any time after 2015. See http://crbug.com/312691.
206 bool m_viewportMetaNonUserScalableQuirk; 209 bool m_viewportMetaNonUserScalableQuirk;
207 // This quirk is to maintain compatibility with Android apps built on 210 // This quirk is to maintain compatibility with Android apps built on
208 // the Android SDK prior to and including version 18. Presumably, this 211 // the Android SDK prior to and including version 18. Presumably, this
209 // can be removed any time after 2015. See http://crbug.com/313754. 212 // can be removed any time after 2015. See http://crbug.com/313754.
210 bool m_clobberUserAgentInitialScaleQuirk; 213 bool m_clobberUserAgentInitialScaleQuirk;
211 bool m_mainFrameResizesAreOrientationChanges; 214 bool m_mainFrameResizesAreOrientationChanges;
212 }; 215 };
213 216
214 } // namespace blink 217 } // namespace blink
215 218
216 #endif 219 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698