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

Issue 17558002: Set default pinch viewport overlay scrollbar thickness in WebPreferences. (Closed)

Created:
7 years, 6 months ago by wjmaclean
Modified:
7 years, 6 months ago
Reviewers:
jamesr, sky
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Set default pinch viewport overlay scrollbar thickness in WebPreferences. WebSettings defaults this value to 0, so we need to set the default value in WebPreferences. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208076

Patch Set 1 #

Patch Set 2 : Move setting default thickness value to WebContentsImpl. #

Total comments: 1

Patch Set 3 : Only set default thickness if pinch viewport enabled. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/common/webpreferences.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/common/webpreferences.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/renderer/webpreferences_renderer.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
wjmaclean
Small patch to set default thickness for pinch viewport overlay scrollbars.
7 years, 6 months ago (2013-06-21 17:58:18 UTC) #1
jamesr
Shouldn't the client configuring pinch viewport scrollbars set these? In most embedding situations we won't ...
7 years, 6 months ago (2013-06-21 18:04:04 UTC) #2
wjmaclean
On 2013/06/21 18:04:04, jamesr wrote: > Shouldn't the client configuring pinch viewport scrollbars set these? ...
7 years, 6 months ago (2013-06-21 18:19:18 UTC) #3
jamesr
On 2013/06/21 18:19:18, wjmaclean wrote: > On 2013/06/21 18:04:04, jamesr wrote: > > Shouldn't the ...
7 years, 6 months ago (2013-06-21 18:37:42 UTC) #4
wjmaclean
Ahh, OK. The enabling flag is handled in WebContentsImpl, so I've move setting the default ...
7 years, 6 months ago (2013-06-21 19:09:40 UTC) #5
jamesr
https://codereview.chromium.org/17558002/diff/6001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/17558002/diff/6001/content/browser/web_contents/web_contents_impl.cc#newcode555 content/browser/web_contents/web_contents_impl.cc:555: prefs.pinch_overlay_scrollbar_thickness = 10; if we don't have pinch viewport ...
7 years, 6 months ago (2013-06-21 19:11:35 UTC) #6
wjmaclean
This version only sets the value when the pinch virtual viewport is enabled. PTAL.
7 years, 6 months ago (2013-06-21 19:37:12 UTC) #7
jamesr
lgtm
7 years, 6 months ago (2013-06-21 19:38:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-21 19:40:47 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=11453
7 years, 6 months ago (2013-06-21 19:50:05 UTC) #10
sky
LGTM
7 years, 6 months ago (2013-06-21 20:17:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-21 20:19:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-22 02:46:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-22 03:09:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-22 03:22:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-22 03:38:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/17558002/12001
7 years, 6 months ago (2013-06-22 03:44:36 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 17:20:12 UTC) #18
Message was sent while issue was closed.
Change committed as 208076

Powered by Google App Engine
This is Rietveld 408576698