OLD | NEW |
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 Loading... |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |