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

Issue 2842553003: Call SAC::DidScrollUpdate only for compositor-triggered scrolls. (Closed)

Created:
3 years, 8 months ago by skobes
Modified:
3 years, 7 months ago
CC:
blink-reviews, cc-bugs_chromium.org, chaopeng, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Call SAC::DidScrollUpdate only for compositor-triggered scrolls. For everything else we should rely on SAC::DidRequestShowFromMainThread. Additionally, ensure that show-from-main requests are processed in synchronous compositing mode (which commits directly to the active tree). BUG=606395 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2842553003 Cr-Commit-Position: refs/heads/master@{#467855} Committed: https://chromium.googlesource.com/chromium/src/+/697a467f819ce09da5209a3df13b8b92f33e35a4

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : address review comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -142 lines) Patch
M cc/layers/scrollbar_layer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 6 chunks +17 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 7 chunks +12 lines, -66 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 3 chunks +16 lines, -37 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html View 2 chunks +10 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change1.html View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change1-expected.html View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2-expected.html View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 37 (28 generated)
skobes
3 years, 8 months ago (2017-04-25 20:35:47 UTC) #10
skobes
Note: on the review thread of http://crrev.com/2770293003 I said that layout tests don't create ScrollbarAnimationController. ...
3 years, 8 months ago (2017-04-25 20:36:43 UTC) #11
bokan
https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode352 cc/trees/layer_tree_host_impl.cc:352: active_tree_->ShowScrollbars(); I was a little confused until I checked ...
3 years, 8 months ago (2017-04-25 22:56:48 UTC) #14
skobes
https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode352 cc/trees/layer_tree_host_impl.cc:352: active_tree_->ShowScrollbars(); On 2017/04/25 22:56:48, bokan wrote: > I was ...
3 years, 8 months ago (2017-04-27 00:46:31 UTC) #18
bokan
Thanks, lgtm https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/2842553003/diff/20001/cc/trees/layer_tree_host_impl_unittest.cc#newcode12218 cc/trees/layer_tree_host_impl_unittest.cc:12218: scrollbar_1_animation_controller->DidScrollUpdate(); On 2017/04/27 00:46:31, skobes wrote: > ...
3 years, 7 months ago (2017-04-27 19:38:58 UTC) #26
skobes
Thanks! Waiting on aelias for cc/OWNERS.
3 years, 7 months ago (2017-04-27 21:46:38 UTC) #31
aelias_OOO_until_Jul13
lgtm
3 years, 7 months ago (2017-04-27 22:28:04 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2842553003/100001
3 years, 7 months ago (2017-04-28 01:39:12 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 02:54:32 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/697a467f819ce09da5209a3df13b...

Powered by Google App Engine
This is Rietveld 408576698