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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 virtual void setDeferred2dCanvasEnabled(bool); | 86 virtual void setDeferred2dCanvasEnabled(bool); |
87 virtual void setDeferredImageDecodingEnabled(bool); | 87 virtual void setDeferredImageDecodingEnabled(bool); |
88 virtual void setDeviceSupportsMouse(bool); | 88 virtual void setDeviceSupportsMouse(bool); |
89 virtual void setDeviceSupportsTouch(bool); | 89 virtual void setDeviceSupportsTouch(bool); |
90 virtual void setDoubleTapToZoomEnabled(bool); | 90 virtual void setDoubleTapToZoomEnabled(bool); |
91 virtual void setDownloadableBinaryFontsEnabled(bool); | 91 virtual void setDownloadableBinaryFontsEnabled(bool); |
92 virtual void setEditableLinkBehaviorNeverLive(); | 92 virtual void setEditableLinkBehaviorNeverLive(); |
93 virtual void setEditingBehavior(EditingBehavior); | 93 virtual void setEditingBehavior(EditingBehavior); |
94 virtual void setEnableScrollAnimator(bool); | 94 virtual void setEnableScrollAnimator(bool); |
95 virtual void setEnableTouchAdjustment(bool); | 95 virtual void setEnableTouchAdjustment(bool); |
96 virtual void setExpandLayoutToFillVisualViewport(bool); | |
kenneth.r.christiansen
2013/08/27 17:42:21
As this is a Quirk can be append Quirk?
mnaganov (inactive)
2013/08/27 18:16:51
I have no problem with adding it, although, I woul
aelias_OOO_until_Jul13
2013/08/28 21:26:47
Adding "Quirk" sounds fine to me.
Maybe name it V
mnaganov (inactive)
2013/08/29 12:09:54
Done.
| |
96 virtual void setExperimentalCSSCustomFilterEnabled(bool); | 97 virtual void setExperimentalCSSCustomFilterEnabled(bool); |
97 virtual void setRegionBasedColumnsEnabled(bool); | 98 virtual void setRegionBasedColumnsEnabled(bool); |
98 virtual void setCSSStickyPositionEnabled(bool); | 99 virtual void setCSSStickyPositionEnabled(bool); |
99 virtual void setExperimentalWebGLEnabled(bool); | 100 virtual void setExperimentalWebGLEnabled(bool); |
100 virtual void setExperimentalWebSocketEnabled(bool); | 101 virtual void setExperimentalWebSocketEnabled(bool); |
101 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON); | 102 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON); |
102 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON); | 103 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON); |
103 virtual void setFixedPositionCreatesStackingContext(bool); | 104 virtual void setFixedPositionCreatesStackingContext(bool); |
104 virtual void setForceCompositingMode(bool); | 105 virtual void setForceCompositingMode(bool); |
105 virtual void setFullScreenEnabled(bool); | 106 virtual void setFullScreenEnabled(bool); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
172 virtual void setXSSAuditorEnabled(bool); | 173 virtual void setXSSAuditorEnabled(bool); |
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 gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } | 179 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } |
179 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } | 180 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } |
180 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } | 181 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } |
181 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } | 182 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } |
183 bool expandLayoutToFillVisualViewport() const { return m_expandLayoutToFillV isualViewport; } | |
182 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; } | 184 int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarT hickness; } |
183 | 185 |
184 private: | 186 private: |
185 WebCore::Settings* m_settings; | 187 WebCore::Settings* m_settings; |
186 bool m_showFPSCounter; | 188 bool m_showFPSCounter; |
187 bool m_showPaintRects; | 189 bool m_showPaintRects; |
188 bool m_renderVSyncNotificationEnabled; | 190 bool m_renderVSyncNotificationEnabled; |
189 bool m_gestureTapHighlightEnabled; | 191 bool m_gestureTapHighlightEnabled; |
190 bool m_autoZoomFocusedNodeToLegibleScale; | 192 bool m_autoZoomFocusedNodeToLegibleScale; |
191 bool m_deferredImageDecodingEnabled; | 193 bool m_deferredImageDecodingEnabled; |
192 bool m_doubleTapToZoomEnabled; | 194 bool m_doubleTapToZoomEnabled; |
193 bool m_perTilePaintingEnabled; | 195 bool m_perTilePaintingEnabled; |
194 bool m_supportDeprecatedTargetDensityDPI; | 196 bool m_supportDeprecatedTargetDensityDPI; |
197 // This quirk is to maintain compatibility with Android apps built on | |
198 // the Android SDK prior to and including version 18. Presumably, this | |
199 // can be removed any time after 2015. See http://crbug.com/277369. | |
200 bool m_expandLayoutToFillVisualViewport; | |
kenneth.r.christiansen
2013/08/27 17:42:21
*Quirk
| |
195 int m_pinchOverlayScrollbarThickness; | 201 int m_pinchOverlayScrollbarThickness; |
196 }; | 202 }; |
197 | 203 |
198 } // namespace WebKit | 204 } // namespace WebKit |
199 | 205 |
200 #endif | 206 #endif |
OLD | NEW |