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

Issue 608223002: [Android]Increase Scrollbar fade delay on Resize. (Closed)

Created:
6 years, 2 months ago by MuVen
Modified:
6 years, 2 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, Sikugu_, danakj, jdduke (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android]Increase Scrollbar fade delay on Resize. Increase Scrollbar fade delay during on Resize to 2000mS. Scrollbar layer properties changes during page load, which is triggering scrollbar animation continuously because of 300mS fade delay. Increasing the fade delay to 2000mS on Resize ensures the scrollbar animates optimally rather than animating rapidly while loading heavy sites. BUG=361141 Committed: https://crrev.com/07f11a816954910f11186cfe461f4bb3cfc5faaf Cr-Commit-Position: refs/heads/master@{#298471}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : addressed review comments #

Total comments: 11

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Added test case #

Total comments: 2

Patch Set 5 : Remodified as per the review comments #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -50 lines) Patch
M cc/animation/scrollbar_animation_controller.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M cc/animation/scrollbar_animation_controller.cc View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_linear_fade.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M cc/animation/scrollbar_animation_controller_linear_fade.cc View 1 2 chunks +14 lines, -5 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc View 1 2 3 4 5 11 chunks +27 lines, -8 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning.h View 1 2 3 4 5 3 chunks +3 lines, -1 line 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning.cc View 1 2 chunks +14 lines, -5 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning_unittest.cc View 1 2 3 4 5 4 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 chunks +8 lines, -7 lines 0 comments Download
M cc/layers/scrollbar_layer_impl_base.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/scrollbar_layer_impl_base.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 2 chunks +13 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (15 generated)
MuVen
PTAL.
6 years, 2 months ago (2014-09-29 10:13:49 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/608223002/diff/40001/cc/animation/scrollbar_animation_controller.h File cc/animation/scrollbar_animation_controller.h (right): https://codereview.chromium.org/608223002/diff/40001/cc/animation/scrollbar_animation_controller.h#newcode34 cc/animation/scrollbar_animation_controller.h:34: void SetDelayOnScrollbarAnimation(base::TimeDelta delay); Instead of this, please have a ...
6 years, 2 months ago (2014-09-29 19:33:46 UTC) #5
MuVen
PTAL https://codereview.chromium.org/608223002/diff/40001/cc/animation/scrollbar_animation_controller.h File cc/animation/scrollbar_animation_controller.h (right): https://codereview.chromium.org/608223002/diff/40001/cc/animation/scrollbar_animation_controller.h#newcode34 cc/animation/scrollbar_animation_controller.h:34: void SetDelayOnScrollbarAnimation(base::TimeDelta delay); On 2014/09/29 19:33:46, aelias wrote: ...
6 years, 2 months ago (2014-09-30 12:50:26 UTC) #6
aelias_OOO_until_Jul13
https://codereview.chromium.org/608223002/diff/60001/cc/animation/scrollbar_animation_controller.h File cc/animation/scrollbar_animation_controller.h (right): https://codereview.chromium.org/608223002/diff/60001/cc/animation/scrollbar_animation_controller.h#newcode35 cc/animation/scrollbar_animation_controller.h:35: virtual void DidScrollUpdate(bool on_resize = false); Please remove this ...
6 years, 2 months ago (2014-09-30 18:55:28 UTC) #7
MuVen
PTAL. https://codereview.chromium.org/608223002/diff/60001/cc/animation/scrollbar_animation_controller.h File cc/animation/scrollbar_animation_controller.h (right): https://codereview.chromium.org/608223002/diff/60001/cc/animation/scrollbar_animation_controller.h#newcode35 cc/animation/scrollbar_animation_controller.h:35: virtual void DidScrollUpdate(bool on_resize = false); On 2014/09/30 ...
6 years, 2 months ago (2014-10-01 16:45:52 UTC) #13
aelias_OOO_until_Jul13
Looking better, just a few more comments. https://codereview.chromium.org/608223002/diff/180001/cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc File cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc (right): https://codereview.chromium.org/608223002/diff/180001/cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc#newcode16 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc:16: class ScrollbarAnimationControllerLinearFadeTest ...
6 years, 2 months ago (2014-10-01 18:41:27 UTC) #14
MuVen
PTAL. Updated new testcase. https://codereview.chromium.org/608223002/diff/180001/cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc File cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc (right): https://codereview.chromium.org/608223002/diff/180001/cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc#newcode16 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc:16: class ScrollbarAnimationControllerLinearFadeTest On 2014/10/01 18:41:26, ...
6 years, 2 months ago (2014-10-02 08:42:48 UTC) #15
aelias_OOO_until_Jul13
https://codereview.chromium.org/608223002/diff/200001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/608223002/diff/200001/cc/layers/layer_impl.cc#newcode1279 cc/layers/layer_impl.cc:1279: bool did_scrollbar_resize = false; Sorry, one more thing. I ...
6 years, 2 months ago (2014-10-03 01:57:53 UTC) #16
MuVen
PTAL. https://codereview.chromium.org/608223002/diff/200001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/608223002/diff/200001/cc/layers/layer_impl.cc#newcode1279 cc/layers/layer_impl.cc:1279: bool did_scrollbar_resize = false; Done.
6 years, 2 months ago (2014-10-03 13:01:37 UTC) #17
aelias_OOO_until_Jul13
lgtm, thanks. Adding jamesr@ for OWNERS review of new setting in render_widget_compositor.cc
6 years, 2 months ago (2014-10-03 19:19:01 UTC) #19
MuVen
jamesr, PTAL. Thanks,
6 years, 2 months ago (2014-10-07 02:58:48 UTC) #21
jamesr
content/renderer/ lgtm
6 years, 2 months ago (2014-10-07 04:02:40 UTC) #22
MuVen
On 2014/10/07 04:02:40, jamesr wrote: > content/renderer/ lgtm thanks jamesr & aelias.
6 years, 2 months ago (2014-10-07 04:03:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608223002/220001
6 years, 2 months ago (2014-10-07 04:05:24 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/75826) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/65162) win_gpu ...
6 years, 2 months ago (2014-10-07 04:10:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608223002/220001
6 years, 2 months ago (2014-10-07 04:13:11 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/75827) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/65165) win_gpu ...
6 years, 2 months ago (2014-10-07 04:18:36 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608223002/240001
6 years, 2 months ago (2014-10-07 13:21:25 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:240001) as 4c6006d240d3e11119143ad9c4cd9004bb96512e
6 years, 2 months ago (2014-10-07 14:29:28 UTC) #34
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 14:30:23 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/07f11a816954910f11186cfe461f4bb3cfc5faaf
Cr-Commit-Position: refs/heads/master@{#298471}

Powered by Google App Engine
This is Rietveld 408576698