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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: check for presence of settings using DCHECK + sync. Created 4 years, 2 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void setMainFrameClipsContent(bool) override; 118 void setMainFrameClipsContent(bool) override;
119 void setMainFrameResizesAreOrientationChanges(bool) override; 119 void setMainFrameResizesAreOrientationChanges(bool) override;
120 void setMaxTouchPoints(int) override; 120 void setMaxTouchPoints(int) override;
121 void setMediaControlsOverlayPlayButtonEnabled(bool) override; 121 void setMediaControlsOverlayPlayButtonEnabled(bool) override;
122 void setMediaPlaybackRequiresUserGesture(bool) override; 122 void setMediaPlaybackRequiresUserGesture(bool) override;
123 void setPresentationRequiresUserGesture(bool) override; 123 void setPresentationRequiresUserGesture(bool) override;
124 void setMinimumAccelerated2dCanvasSize(int) override; 124 void setMinimumAccelerated2dCanvasSize(int) override;
125 void setMinimumFontSize(int) override; 125 void setMinimumFontSize(int) override;
126 void setMinimumLogicalFontSize(int) override; 126 void setMinimumLogicalFontSize(int) override;
127 void setMockScrollbarsEnabled(bool) override; 127 void setMockScrollbarsEnabled(bool) override;
128 void setHideScrollbars(bool) override;
128 void setOfflineWebApplicationCacheEnabled(bool) override; 129 void setOfflineWebApplicationCacheEnabled(bool) override;
129 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override; 130 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override;
130 void setPasswordEchoDurationInSeconds(double) override; 131 void setPasswordEchoDurationInSeconds(double) override;
131 void setPasswordEchoEnabled(bool) override; 132 void setPasswordEchoEnabled(bool) override;
132 void setPerTilePaintingEnabled(bool) override; 133 void setPerTilePaintingEnabled(bool) override;
133 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override; 134 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override;
134 void setPinchOverlayScrollbarThickness(int) override; 135 void setPinchOverlayScrollbarThickness(int) override;
135 void setPluginsEnabled(bool) override; 136 void setPluginsEnabled(bool) override;
136 void setAvailablePointerTypes(int) override; 137 void setAvailablePointerTypes(int) override;
137 void setPrimaryPointerType(PointerType) override; 138 void setPrimaryPointerType(PointerType) override;
(...skipping 92 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
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698