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

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

Issue 2049493002: Remove the default wheel event handler from blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two tests, fix nit Created 4 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
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void setV8CacheStrategiesForCacheStorage(V8CacheStrategiesForCacheStorage) o verride; 186 void setV8CacheStrategiesForCacheStorage(V8CacheStrategiesForCacheStorage) o verride;
187 void setValidationMessageTimerMagnification(int) override; 187 void setValidationMessageTimerMagnification(int) override;
188 void setViewportEnabled(bool) override; 188 void setViewportEnabled(bool) override;
189 void setViewportMetaEnabled(bool) override; 189 void setViewportMetaEnabled(bool) override;
190 void setViewportMetaLayoutSizeQuirk(bool) override; 190 void setViewportMetaLayoutSizeQuirk(bool) override;
191 void setViewportMetaMergeContentQuirk(bool) override; 191 void setViewportMetaMergeContentQuirk(bool) override;
192 void setViewportMetaNonUserScalableQuirk(bool) override; 192 void setViewportMetaNonUserScalableQuirk(bool) override;
193 void setViewportMetaZeroValuesQuirk(bool) override; 193 void setViewportMetaZeroValuesQuirk(bool) override;
194 void setWebGLErrorsToConsoleEnabled(bool) override; 194 void setWebGLErrorsToConsoleEnabled(bool) override;
195 void setWebSecurityEnabled(bool) override; 195 void setWebSecurityEnabled(bool) override;
196 void setWheelGesturesEnabled(bool) override;
197 void setWideViewportQuirkEnabled(bool) override; 196 void setWideViewportQuirkEnabled(bool) override;
198 void setXSSAuditorEnabled(bool) override; 197 void setXSSAuditorEnabled(bool) override;
199 198
200 bool showFPSCounter() const { return m_showFPSCounter; } 199 bool showFPSCounter() const { return m_showFPSCounter; }
201 bool showPaintRects() const { return m_showPaintRects; } 200 bool showPaintRects() const { return m_showPaintRects; }
202 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 201 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
203 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 202 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
204 bool doubleTapToZoomEnabled() const; 203 bool doubleTapToZoomEnabled() const;
205 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 204 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
206 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 205 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
207 bool viewportMetaEnabled() const; 206 bool viewportMetaEnabled() const;
208 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 207 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
209 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 208 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
210 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; } 209 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; }
211 210
212 void setMockGestureTapHighlightsEnabled(bool); 211 void setMockGestureTapHighlightsEnabled(bool);
213 bool mockGestureTapHighlightsEnabled() const; 212 bool mockGestureTapHighlightsEnabled() const;
214 bool wheelGesturesEnabled() const;
215 213
216 private: 214 private:
217 Settings* m_settings; 215 Settings* m_settings;
218 UntracedMember<DevToolsEmulator> m_devToolsEmulator; 216 UntracedMember<DevToolsEmulator> m_devToolsEmulator;
219 bool m_showFPSCounter; 217 bool m_showFPSCounter;
220 bool m_showPaintRects; 218 bool m_showPaintRects;
221 bool m_renderVSyncNotificationEnabled; 219 bool m_renderVSyncNotificationEnabled;
222 bool m_autoZoomFocusedNodeToLegibleScale; 220 bool m_autoZoomFocusedNodeToLegibleScale;
223 bool m_perTilePaintingEnabled; 221 bool m_perTilePaintingEnabled;
224 bool m_supportDeprecatedTargetDensityDPI; 222 bool m_supportDeprecatedTargetDensityDPI;
225 bool m_shrinksViewportContentToFit; 223 bool m_shrinksViewportContentToFit;
226 // This quirk is to maintain compatibility with Android apps built on 224 // This quirk is to maintain compatibility with Android apps built on
227 // the Android SDK prior to and including version 18. Presumably, this 225 // the Android SDK prior to and including version 18. Presumably, this
228 // can be removed any time after 2015. See http://crbug.com/277369. 226 // can be removed any time after 2015. See http://crbug.com/277369.
229 bool m_viewportMetaLayoutSizeQuirk; 227 bool m_viewportMetaLayoutSizeQuirk;
230 // This quirk is to maintain compatibility with Android apps built on 228 // This quirk is to maintain compatibility with Android apps built on
231 // the Android SDK prior to and including version 18. Presumably, this 229 // the Android SDK prior to and including version 18. Presumably, this
232 // can be removed any time after 2015. See http://crbug.com/312691. 230 // can be removed any time after 2015. See http://crbug.com/312691.
233 bool m_viewportMetaNonUserScalableQuirk; 231 bool m_viewportMetaNonUserScalableQuirk;
234 // This quirk is to maintain compatibility with Android apps built on 232 // This quirk is to maintain compatibility with Android apps built on
235 // the Android SDK prior to and including version 18. Presumably, this 233 // the Android SDK prior to and including version 18. Presumably, this
236 // can be removed any time after 2015. See http://crbug.com/313754. 234 // can be removed any time after 2015. See http://crbug.com/313754.
237 bool m_clobberUserAgentInitialScaleQuirk; 235 bool m_clobberUserAgentInitialScaleQuirk;
238 }; 236 };
239 237
240 } // namespace blink 238 } // namespace blink
241 239
242 #endif 240 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698