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

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

Issue 1965493002: Add runtime setting to force passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void setMainFrameResizesAreOrientationChanges(bool) override; 116 void setMainFrameResizesAreOrientationChanges(bool) override;
117 void setMaxTouchPoints(int) override; 117 void setMaxTouchPoints(int) override;
118 void setMediaControlsOverlayPlayButtonEnabled(bool) override; 118 void setMediaControlsOverlayPlayButtonEnabled(bool) override;
119 void setMediaPlaybackRequiresUserGesture(bool) override; 119 void setMediaPlaybackRequiresUserGesture(bool) override;
120 void setPresentationRequiresUserGesture(bool) override; 120 void setPresentationRequiresUserGesture(bool) override;
121 void setMinimumAccelerated2dCanvasSize(int) override; 121 void setMinimumAccelerated2dCanvasSize(int) override;
122 void setMinimumFontSize(int) override; 122 void setMinimumFontSize(int) override;
123 void setMinimumLogicalFontSize(int) override; 123 void setMinimumLogicalFontSize(int) override;
124 void setMockScrollbarsEnabled(bool) override; 124 void setMockScrollbarsEnabled(bool) override;
125 void setOfflineWebApplicationCacheEnabled(bool) override; 125 void setOfflineWebApplicationCacheEnabled(bool) override;
126 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override;
126 void setPasswordEchoDurationInSeconds(double) override; 127 void setPasswordEchoDurationInSeconds(double) override;
127 void setPasswordEchoEnabled(bool) override; 128 void setPasswordEchoEnabled(bool) override;
128 void setPerTilePaintingEnabled(bool) override; 129 void setPerTilePaintingEnabled(bool) override;
129 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override; 130 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override;
130 void setPinchOverlayScrollbarThickness(int) override; 131 void setPinchOverlayScrollbarThickness(int) override;
131 void setPluginsEnabled(bool) override; 132 void setPluginsEnabled(bool) override;
132 void setAvailablePointerTypes(int) override; 133 void setAvailablePointerTypes(int) override;
133 void setPrimaryPointerType(PointerType) override; 134 void setPrimaryPointerType(PointerType) override;
134 void setAvailableHoverTypes(int) override; 135 void setAvailableHoverTypes(int) override;
135 void setPrimaryHoverType(HoverType) override; 136 void setPrimaryHoverType(HoverType) override;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 bool m_viewportMetaNonUserScalableQuirk; 231 bool m_viewportMetaNonUserScalableQuirk;
231 // This quirk is to maintain compatibility with Android apps built on 232 // This quirk is to maintain compatibility with Android apps built on
232 // the Android SDK prior to and including version 18. Presumably, this 233 // the Android SDK prior to and including version 18. Presumably, this
233 // 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.
234 bool m_clobberUserAgentInitialScaleQuirk; 235 bool m_clobberUserAgentInitialScaleQuirk;
235 }; 236 };
236 237
237 } // namespace blink 238 } // namespace blink
238 239
239 #endif 240 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698