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

Issue 461083002: Force a commit at the end of the top controls animation (Closed)

Created:
6 years, 4 months ago by jdduke (slow)
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Schedule commit when top controls animation updates the scroll offset Force a commit if the top controls animate the scroll offset. This prevents main and impl scroll offsets from remaining out-of-sync, which can cause problems with subsequent touch interaction. BUG=402907, 364340 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289217

Patch Set 1 #

Patch Set 2 : Test and always force commit #

Patch Set 3 : Comment cleanup #

Total comments: 2

Patch Set 4 : SetNeedsAnimate while animation active #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -6 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 3 1 chunk +14 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jdduke (slow)
aelias@: Does this look reasonable? Or should we keep finer track of whether the offset ...
6 years, 4 months ago (2014-08-12 18:53:54 UTC) #1
aelias_OOO_until_Jul13
I think you can just put the SetNeedsCommit and RenewTreePriority calls on every scroll increment ...
6 years, 4 months ago (2014-08-12 19:01:09 UTC) #2
aelias_OOO_until_Jul13
Could you also add a unit test for this?
6 years, 4 months ago (2014-08-12 19:02:08 UTC) #3
jdduke (slow)
On 2014/08/12 19:02:08, aelias wrote: > Could you also add a unit test for this? ...
6 years, 4 months ago (2014-08-12 20:23:18 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/461083002/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/461083002/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode3041 cc/trees/layer_tree_host_impl.cc:3041: SetNeedsAnimate(); Now that I look at this, this SetNeedsAnimate ...
6 years, 4 months ago (2014-08-12 20:38:09 UTC) #5
jdduke (slow)
https://codereview.chromium.org/461083002/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/461083002/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode3041 cc/trees/layer_tree_host_impl.cc:3041: SetNeedsAnimate(); On 2014/08/12 20:38:09, aelias wrote: > Now that ...
6 years, 4 months ago (2014-08-12 22:48:50 UTC) #6
aelias_OOO_until_Jul13
lgtm
6 years, 4 months ago (2014-08-12 22:51:22 UTC) #7
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-12 23:49:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/461083002/60001
6 years, 4 months ago (2014-08-13 00:18:33 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-13 01:38:25 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 08:51:26 UTC) #11
Message was sent while issue was closed.
Change committed as 289217

Powered by Google App Engine
This is Rietveld 408576698