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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
166 virtual void setUnsafePluginPastingEnabled(bool); | 166 virtual void setUnsafePluginPastingEnabled(bool); |
167 virtual void setUserStyleSheetLocation(const WebURL&); | 167 virtual void setUserStyleSheetLocation(const WebURL&); |
168 virtual void setUsesEncodingDetector(bool); | 168 virtual void setUsesEncodingDetector(bool); |
169 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool); | 169 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool); |
170 virtual void setUseSolidColorScrollbars(bool); | 170 virtual void setUseSolidColorScrollbars(bool); |
171 virtual void setUseWideViewport(bool); | 171 virtual void setUseWideViewport(bool); |
172 virtual void setValidationMessageTimerMagnification(int); | 172 virtual void setValidationMessageTimerMagnification(int); |
173 virtual void setViewportEnabled(bool); | 173 virtual void setViewportEnabled(bool); |
174 virtual void setViewportMetaLayoutSizeQuirk(bool); | 174 virtual void setViewportMetaLayoutSizeQuirk(bool); |
175 virtual void setViewportMetaMergeContentQuirk(bool); | 175 virtual void setViewportMetaMergeContentQuirk(bool); |
176 virtual void setViewportMetaNonUserScalableQuirk(bool); | |
176 virtual void setViewportMetaZeroValuesQuirk(bool); | 177 virtual void setViewportMetaZeroValuesQuirk(bool); |
177 virtual void setWebAudioEnabled(bool); | 178 virtual void setWebAudioEnabled(bool); |
178 virtual void setWebGLErrorsToConsoleEnabled(bool); | 179 virtual void setWebGLErrorsToConsoleEnabled(bool); |
179 virtual void setWebSecurityEnabled(bool); | 180 virtual void setWebSecurityEnabled(bool); |
180 virtual void setWideViewportQuirkEnabled(bool); | 181 virtual void setWideViewportQuirkEnabled(bool); |
181 virtual void setXSSAuditorEnabled(bool); | 182 virtual void setXSSAuditorEnabled(bool); |
182 | 183 |
183 // FIXME: Make chromium stop calling this and delete the method. | 184 // FIXME: Make chromium stop calling this and delete the method. |
184 virtual void setVisualWordMovementEnabled(bool) { } | 185 virtual void setVisualWordMovementEnabled(bool) { } |
185 | 186 |
186 bool showFPSCounter() const { return m_showFPSCounter; } | 187 bool showFPSCounter() const { return m_showFPSCounter; } |
187 bool showPaintRects() const { return m_showPaintRects; } | 188 bool showPaintRects() const { return m_showPaintRects; } |
188 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } | 189 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } |
189 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } | 190 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } |
190 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } | 191 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } |
191 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 192 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
192 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 193 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
193 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } | 194 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } |
194 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } | 195 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } |
196 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } | |
195 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; } | 197 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; } |
196 | 198 |
197 private: | 199 private: |
198 WebCore::Settings* m_settings; | 200 WebCore::Settings* m_settings; |
199 bool m_showFPSCounter; | 201 bool m_showFPSCounter; |
200 bool m_showPaintRects; | 202 bool m_showPaintRects; |
201 bool m_renderVSyncNotificationEnabled; | 203 bool m_renderVSyncNotificationEnabled; |
202 bool m_gestureTapHighlightEnabled; | 204 bool m_gestureTapHighlightEnabled; |
203 bool m_autoZoomFocusedNodeToLegibleScale; | 205 bool m_autoZoomFocusedNodeToLegibleScale; |
204 bool m_deferredImageDecodingEnabled; | 206 bool m_deferredImageDecodingEnabled; |
205 bool m_doubleTapToZoomEnabled; | 207 bool m_doubleTapToZoomEnabled; |
206 bool m_perTilePaintingEnabled; | 208 bool m_perTilePaintingEnabled; |
207 bool m_supportDeprecatedTargetDensityDPI; | 209 bool m_supportDeprecatedTargetDensityDPI; |
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/277369. | 212 // can be removed any time after 2015. See http://crbug.com/277369. |
211 bool m_viewportMetaLayoutSizeQuirk; | 213 bool m_viewportMetaLayoutSizeQuirk; |
214 // This quirk is to maintain compatibility with Android apps built on | |
eseidel
2013/11/05 20:09:54
Thank you!
| |
215 // the Android SDK prior to and including version 18. Presumably, this | |
216 // can be removed any time after 2015. See http://crbug.com/312691. | |
217 bool m_viewportMetaNonUserScalableQuirk; | |
212 int m_pinchOverlayScrollbarThickness; | 218 int m_pinchOverlayScrollbarThickness; |
213 }; | 219 }; |
214 | 220 |
215 } // namespace WebKit | 221 } // namespace WebKit |
216 | 222 |
217 #endif | 223 #endif |
OLD | NEW |