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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 17558002: Set default pinch viewport overlay scrollbar thickness in WebPreferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move setting default thickness value to WebContentsImpl. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/common/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 16bf2ab536404a6675c54aba13b507506ca2ca6f..60aa8bd0cfbcd81394a34306d7a24203077cd343 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -552,6 +552,7 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
command_line.HasSwitch(switches::kEnableExperimentalWebSocket);
prefs.pinch_virtual_viewport_enabled =
command_line.HasSwitch(cc::switches::kEnablePinchVirtualViewport);
+ prefs.pinch_overlay_scrollbar_thickness = 10;
jamesr 2013/06/21 19:11:36 if we don't have pinch viewport enabled, why set t
#if defined(OS_ANDROID)
prefs.user_gesture_required_for_media_playback = !command_line.HasSwitch(
« no previous file with comments | « no previous file | webkit/common/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698