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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: Add missing plumbing of hide_scrollbars preference. Created 4 years, 3 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 setMainFrameClipsContent(bool) override; 116 void setMainFrameClipsContent(bool) override;
117 void setMainFrameResizesAreOrientationChanges(bool) override; 117 void setMainFrameResizesAreOrientationChanges(bool) override;
118 void setMaxTouchPoints(int) override; 118 void setMaxTouchPoints(int) override;
119 void setMediaControlsOverlayPlayButtonEnabled(bool) override; 119 void setMediaControlsOverlayPlayButtonEnabled(bool) override;
120 void setMediaPlaybackRequiresUserGesture(bool) override; 120 void setMediaPlaybackRequiresUserGesture(bool) override;
121 void setPresentationRequiresUserGesture(bool) override; 121 void setPresentationRequiresUserGesture(bool) override;
122 void setMinimumAccelerated2dCanvasSize(int) override; 122 void setMinimumAccelerated2dCanvasSize(int) override;
123 void setMinimumFontSize(int) override; 123 void setMinimumFontSize(int) override;
124 void setMinimumLogicalFontSize(int) override; 124 void setMinimumLogicalFontSize(int) override;
125 void setMockScrollbarsEnabled(bool) override; 125 void setMockScrollbarsEnabled(bool) override;
126 void setHideScrollbars(bool) override;
126 void setOfflineWebApplicationCacheEnabled(bool) override; 127 void setOfflineWebApplicationCacheEnabled(bool) override;
127 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override; 128 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override;
128 void setPasswordEchoDurationInSeconds(double) override; 129 void setPasswordEchoDurationInSeconds(double) override;
129 void setPasswordEchoEnabled(bool) override; 130 void setPasswordEchoEnabled(bool) override;
130 void setPerTilePaintingEnabled(bool) override; 131 void setPerTilePaintingEnabled(bool) override;
131 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override; 132 void setPictographFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override;
132 void setPinchOverlayScrollbarThickness(int) override; 133 void setPinchOverlayScrollbarThickness(int) override;
133 void setPluginsEnabled(bool) override; 134 void setPluginsEnabled(bool) override;
134 void setAvailablePointerTypes(int) override; 135 void setAvailablePointerTypes(int) override;
135 void setPrimaryPointerType(PointerType) override; 136 void setPrimaryPointerType(PointerType) override;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 bool m_viewportMetaNonUserScalableQuirk; 229 bool m_viewportMetaNonUserScalableQuirk;
229 // This quirk is to maintain compatibility with Android apps built on 230 // This quirk is to maintain compatibility with Android apps built on
230 // the Android SDK prior to and including version 18. Presumably, this 231 // the Android SDK prior to and including version 18. Presumably, this
231 // can be removed any time after 2015. See http://crbug.com/313754. 232 // can be removed any time after 2015. See http://crbug.com/313754.
232 bool m_clobberUserAgentInitialScaleQuirk; 233 bool m_clobberUserAgentInitialScaleQuirk;
233 }; 234 };
234 235
235 } // namespace blink 236 } // namespace blink
236 237
237 #endif 238 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698