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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 309593007: Expand GPU rasterization trigger for Finch experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use a WebSetting Created 6 years, 6 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 | « no previous file | 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual void setSupportsMultipleWindows(bool) OVERRIDE; 150 virtual void setSupportsMultipleWindows(bool) OVERRIDE;
151 virtual void setSyncXHRInDocumentsEnabled(bool) OVERRIDE; 151 virtual void setSyncXHRInDocumentsEnabled(bool) OVERRIDE;
152 virtual void setTextAreasAreResizable(bool) OVERRIDE; 152 virtual void setTextAreasAreResizable(bool) OVERRIDE;
153 virtual void setTextAutosizingEnabled(bool) OVERRIDE; 153 virtual void setTextAutosizingEnabled(bool) OVERRIDE;
154 virtual void setAccessibilityFontScaleFactor(float) OVERRIDE; 154 virtual void setAccessibilityFontScaleFactor(float) OVERRIDE;
155 virtual void setTouchDragDropEnabled(bool) OVERRIDE; 155 virtual void setTouchDragDropEnabled(bool) OVERRIDE;
156 virtual void setTouchEditingEnabled(bool) OVERRIDE; 156 virtual void setTouchEditingEnabled(bool) OVERRIDE;
157 virtual void setUnifiedTextCheckerEnabled(bool) OVERRIDE; 157 virtual void setUnifiedTextCheckerEnabled(bool) OVERRIDE;
158 virtual void setUnsafePluginPastingEnabled(bool) OVERRIDE; 158 virtual void setUnsafePluginPastingEnabled(bool) OVERRIDE;
159 virtual void setUsesEncodingDetector(bool) OVERRIDE; 159 virtual void setUsesEncodingDetector(bool) OVERRIDE;
160 virtual void setUseExpandedHeuristicsForGpuRasterization(bool) OVERRIDE;
160 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) OVERRIDE; 161 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) OVERRIDE;
161 virtual void setUseSolidColorScrollbars(bool) OVERRIDE; 162 virtual void setUseSolidColorScrollbars(bool) OVERRIDE;
162 virtual void setUseWideViewport(bool) OVERRIDE; 163 virtual void setUseWideViewport(bool) OVERRIDE;
163 virtual void setValidationMessageTimerMagnification(int) OVERRIDE; 164 virtual void setValidationMessageTimerMagnification(int) OVERRIDE;
164 virtual void setViewportEnabled(bool) OVERRIDE; 165 virtual void setViewportEnabled(bool) OVERRIDE;
165 virtual void setViewportMetaEnabled(bool) OVERRIDE; 166 virtual void setViewportMetaEnabled(bool) OVERRIDE;
166 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE; 167 virtual void setViewportMetaLayoutSizeQuirk(bool) OVERRIDE;
167 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE; 168 virtual void setViewportMetaMergeContentQuirk(bool) OVERRIDE;
168 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE; 169 virtual void setViewportMetaNonUserScalableQuirk(bool) OVERRIDE;
169 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE; 170 virtual void setViewportMetaZeroValuesQuirk(bool) OVERRIDE;
170 virtual void setWebAudioEnabled(bool) OVERRIDE; 171 virtual void setWebAudioEnabled(bool) OVERRIDE;
171 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE; 172 virtual void setWebGLErrorsToConsoleEnabled(bool) OVERRIDE;
172 virtual void setWebSecurityEnabled(bool) OVERRIDE; 173 virtual void setWebSecurityEnabled(bool) OVERRIDE;
173 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE; 174 virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
174 virtual void setXSSAuditorEnabled(bool) OVERRIDE; 175 virtual void setXSSAuditorEnabled(bool) OVERRIDE;
175 176
176 bool showFPSCounter() const { return m_showFPSCounter; } 177 bool showFPSCounter() const { return m_showFPSCounter; }
177 bool showPaintRects() const { return m_showPaintRects; } 178 bool showPaintRects() const { return m_showPaintRects; }
178 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 179 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
179 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 180 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
180 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; } 181 bool gestureTapHighlightEnabled() const { return m_gestureTapHighlightEnable d; }
181 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 182 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
182 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 183 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
183 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 184 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
185 bool useExpandedHeuristicsForGpuRasterization() const { return m_useExpanded HeuristicsForGpuRasterization; }
184 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 186 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
185 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 187 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
186 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; } 188 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; }
187 189
188 private: 190 private:
189 WebCore::Settings* m_settings; 191 WebCore::Settings* m_settings;
190 WebCore::InspectorController* m_inspectorController; 192 WebCore::InspectorController* m_inspectorController;
191 bool m_showFPSCounter; 193 bool m_showFPSCounter;
192 bool m_showPaintRects; 194 bool m_showPaintRects;
193 bool m_renderVSyncNotificationEnabled; 195 bool m_renderVSyncNotificationEnabled;
194 bool m_gestureTapHighlightEnabled; 196 bool m_gestureTapHighlightEnabled;
195 bool m_autoZoomFocusedNodeToLegibleScale; 197 bool m_autoZoomFocusedNodeToLegibleScale;
196 bool m_deferredImageDecodingEnabled; 198 bool m_deferredImageDecodingEnabled;
197 bool m_doubleTapToZoomEnabled; 199 bool m_doubleTapToZoomEnabled;
198 bool m_perTilePaintingEnabled; 200 bool m_perTilePaintingEnabled;
199 bool m_supportDeprecatedTargetDensityDPI; 201 bool m_supportDeprecatedTargetDensityDPI;
200 bool m_shrinksViewportContentToFit; 202 bool m_shrinksViewportContentToFit;
203 bool m_useExpandedHeuristicsForGpuRasterization;
201 // This quirk is to maintain compatibility with Android apps built on 204 // This quirk is to maintain compatibility with Android apps built on
202 // the Android SDK prior to and including version 18. Presumably, this 205 // the Android SDK prior to and including version 18. Presumably, this
203 // can be removed any time after 2015. See http://crbug.com/277369. 206 // can be removed any time after 2015. See http://crbug.com/277369.
204 bool m_viewportMetaLayoutSizeQuirk; 207 bool m_viewportMetaLayoutSizeQuirk;
205 // This quirk is to maintain compatibility with Android apps built on 208 // This quirk is to maintain compatibility with Android apps built on
206 // the Android SDK prior to and including version 18. Presumably, this 209 // the Android SDK prior to and including version 18. Presumably, this
207 // can be removed any time after 2015. See http://crbug.com/312691. 210 // can be removed any time after 2015. See http://crbug.com/312691.
208 bool m_viewportMetaNonUserScalableQuirk; 211 bool m_viewportMetaNonUserScalableQuirk;
209 // This quirk is to maintain compatibility with Android apps built on 212 // This quirk is to maintain compatibility with Android apps built on
210 // the Android SDK prior to and including version 18. Presumably, this 213 // the Android SDK prior to and including version 18. Presumably, this
211 // can be removed any time after 2015. See http://crbug.com/313754. 214 // can be removed any time after 2015. See http://crbug.com/313754.
212 bool m_clobberUserAgentInitialScaleQuirk; 215 bool m_clobberUserAgentInitialScaleQuirk;
213 bool m_mainFrameResizesAreOrientationChanges; 216 bool m_mainFrameResizesAreOrientationChanges;
214 }; 217 };
215 218
216 } // namespace blink 219 } // namespace blink
217 220
218 #endif 221 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698