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

Issue 2740493003: Call setNeedsRedraw when scrollbar opacity changes. (Closed)

Created:
3 years, 9 months ago by bokan
Modified:
3 years, 9 months ago
Reviewers:
weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call setNeedsRedraw when scrollbar opacity changes. This is needed to ensure that the change to scrollbar opacity is actually shown if there's no other side effects. BUG=698275 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2740493003 Cr-Commit-Position: refs/heads/master@{#456782} Committed: https://chromium.googlesource.com/chromium/src/+/7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Call SetNeedsRedraw when changing opacity #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Fix test that was causing redraw during initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -1 line) Patch
M cc/input/scrollbar_animation_controller.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 2 chunks +68 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
bokan
ptal
3 years, 9 months ago (2017-03-07 16:52:54 UTC) #4
bokan
ptal
3 years, 9 months ago (2017-03-07 16:52:54 UTC) #5
weiliangc
Still thinking it through, sharing some initial thoughts. https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2298 cc/trees/layer_tree_host_impl.cc:2298: client_->SetNeedsCommitOnImplThread(); ...
3 years, 9 months ago (2017-03-07 22:53:34 UTC) #6
bokan
https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2298 cc/trees/layer_tree_host_impl.cc:2298: client_->SetNeedsCommitOnImplThread(); On 2017/03/07 22:53:34, weiliangc wrote: > For setNeedsRedraw ...
3 years, 9 months ago (2017-03-07 23:19:50 UTC) #7
weiliangc
Sorry for the delay. https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2298 cc/trees/layer_tree_host_impl.cc:2298: client_->SetNeedsCommitOnImplThread(); On 2017/03/07 at 23:19:49, ...
3 years, 9 months ago (2017-03-13 20:11:09 UTC) #8
bokan
https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2740493003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2298 cc/trees/layer_tree_host_impl.cc:2298: client_->SetNeedsCommitOnImplThread(); On 2017/03/13 20:11:09, weiliangc wrote: > On 2017/03/07 ...
3 years, 9 months ago (2017-03-13 21:56:23 UTC) #9
weiliangc
Thanks! LGTM
3 years, 9 months ago (2017-03-14 16:09:51 UTC) #11
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/2740493003/40001
3 years, 9 months ago (2017-03-14 17:11:21 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/136431)
3 years, 9 months ago (2017-03-14 17:47:30 UTC) #15
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/2740493003/80001
3 years, 9 months ago (2017-03-14 18:07:52 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 19:23:09 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7858bc70062f09e1cd60e9a99dd8...

Powered by Google App Engine
This is Rietveld 408576698