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

Issue 819953002: Mac: Update scrollbar size and input position during impl-overscroll (Closed)

Created:
6 years ago by ccameron
Modified:
6 years ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Mac: Update scrollbar size and input position during impl-overscroll Hook up WebViewImpl::applyViewportDeltas to send the elastic overscroll delta to the FrameView, which tracks the current elastic overscroll, and is queried for the delta in Widget's convertHitPointToWindow helper function. Note that this is in contrast to the page scale factor, which is tracked in Page's FrameHost's PinchViewport. Push the current elastic overscroll down to the FrameView's scrollbars, and invalidate them when the value changes. Plumb the setter and getter functions through Scrollbar, ScrollbarThemeClient, and WebScrollbar, so that the value may be accessed in ScrollbarTheme::thumbLength. BUG=133097 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187661

Patch Set 1 #

Patch Set 2 : Add code for sloppy computation #

Patch Set 3 : Put a test on it #

Patch Set 4 : Clean up #

Total comments: 10

Patch Set 5 : Incorporate review feedback #

Patch Set 6 : Peure virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -3 lines) Patch
M Source/core/frame/FrameView.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M Source/platform/exported/WebScrollbarImpl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/exported/WebScrollbarImpl.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/platform/exported/WebScrollbarThemeClientImpl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/exported/WebScrollbarThemeClientImpl.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/platform/scroll/Scrollbar.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M Source/platform/scroll/Scrollbar.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/scroll/ScrollbarTheme.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/platform/scroll/ScrollbarThemeClient.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/WebInputEventConversion.cpp View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M Source/web/WebPluginScrollbarImpl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/WebPluginScrollbarImpl.cpp View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 4 2 chunks +62 lines, -0 lines 0 comments Download
M public/platform/WebScrollbar.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ccameron
Relatively simple plumbing patch. Adding kbr for OWNER of core+platform+web. Adding bokan WRT placing of ...
6 years ago (2014-12-22 23:26:47 UTC) #3
Ken Russell (switch to Gerrit)
LGTM overall. https://codereview.chromium.org/819953002/diff/60001/Source/platform/scroll/ScrollbarTheme.cpp File Source/platform/scroll/ScrollbarTheme.cpp (right): https://codereview.chromium.org/819953002/diff/60001/Source/platform/scroll/ScrollbarTheme.cpp#newcode278 Source/platform/scroll/ScrollbarTheme.cpp:278: // thread overscroll mode (first) // and ...
6 years ago (2014-12-22 23:46:08 UTC) #4
ccameron
Thanks! https://codereview.chromium.org/819953002/diff/60001/Source/platform/scroll/ScrollbarTheme.cpp File Source/platform/scroll/ScrollbarTheme.cpp (right): https://codereview.chromium.org/819953002/diff/60001/Source/platform/scroll/ScrollbarTheme.cpp#newcode278 Source/platform/scroll/ScrollbarTheme.cpp:278: // thread overscroll mode (first) // and then ...
6 years ago (2014-12-22 23:57:23 UTC) #5
dcheng
public/ changes LGTM
6 years ago (2014-12-23 00:22:38 UTC) #7
bokan
lgtm
6 years ago (2014-12-23 16:59:23 UTC) #8
bokan
As a followup to our chat yesterday, with device emulation it is possible that you'll ...
6 years ago (2014-12-23 17:02:26 UTC) #9
ccameron
Thanks!
6 years ago (2014-12-23 18:29:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/819953002/100001
6 years ago (2014-12-23 18:30:31 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-23 20:55:36 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187661

Powered by Google App Engine
This is Rietveld 408576698