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

Side by Side Diff: third_party/WebKit/public/web/WebSettings.h

Issue 2773403003: Removed device_supports_touch. (Closed)
Patch Set: Preserved old touch-flag behavior. Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | no next file » | 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 UScriptCode = USCRIPT_COMMON) = 0; 155 UScriptCode = USCRIPT_COMMON) = 0;
156 virtual void setDNSPrefetchingEnabled(bool) = 0; 156 virtual void setDNSPrefetchingEnabled(bool) = 0;
157 virtual void setDataSaverEnabled(bool) = 0; 157 virtual void setDataSaverEnabled(bool) = 0;
158 virtual void setDOMPasteAllowed(bool) = 0; 158 virtual void setDOMPasteAllowed(bool) = 0;
159 virtual void setDefaultFixedFontSize(int) = 0; 159 virtual void setDefaultFixedFontSize(int) = 0;
160 virtual void setDefaultFontSize(int) = 0; 160 virtual void setDefaultFontSize(int) = 0;
161 virtual void setDefaultTextEncodingName(const WebString&) = 0; 161 virtual void setDefaultTextEncodingName(const WebString&) = 0;
162 virtual void setDefaultVideoPosterURL(const WebString&) = 0; 162 virtual void setDefaultVideoPosterURL(const WebString&) = 0;
163 void setDeferred2dCanvasEnabled(bool) {} // temporary stub 163 void setDeferred2dCanvasEnabled(bool) {} // temporary stub
164 virtual void setDeviceScaleAdjustment(float) = 0; 164 virtual void setDeviceScaleAdjustment(float) = 0;
165 virtual void setDeviceSupportsTouch(bool) = 0;
166 virtual void setDisableReadingFromCanvas(bool) = 0; 165 virtual void setDisableReadingFromCanvas(bool) = 0;
167 virtual void setDoubleTapToZoomEnabled(bool) = 0; 166 virtual void setDoubleTapToZoomEnabled(bool) = 0;
168 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; 167 virtual void setDownloadableBinaryFontsEnabled(bool) = 0;
169 virtual void setEditingBehavior(EditingBehavior) = 0; 168 virtual void setEditingBehavior(EditingBehavior) = 0;
170 virtual void setEnableScrollAnimator(bool) = 0; 169 virtual void setEnableScrollAnimator(bool) = 0;
171 virtual void setEnableTouchAdjustment(bool) = 0; 170 virtual void setEnableTouchAdjustment(bool) = 0;
172 virtual bool multiTargetTapNotificationEnabled() = 0; 171 virtual bool multiTargetTapNotificationEnabled() = 0;
173 virtual void setMultiTargetTapNotificationEnabled(bool) = 0; 172 virtual void setMultiTargetTapNotificationEnabled(bool) = 0;
174 virtual void setExperimentalWebGLEnabled(bool) = 0; 173 virtual void setExperimentalWebGLEnabled(bool) = 0;
175 virtual void setFantasyFontFamily(const WebString&, 174 virtual void setFantasyFontFamily(const WebString&,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; 296 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0;
298 virtual void setMediaControlsEnabled(bool) = 0; 297 virtual void setMediaControlsEnabled(bool) = 0;
299 298
300 protected: 299 protected:
301 ~WebSettings() {} 300 ~WebSettings() {}
302 }; 301 };
303 302
304 } // namespace blink 303 } // namespace blink
305 304
306 #endif 305 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698