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

Issue 2250783002: Allow InkDropRipple to co-exist with highlight (Closed)

Created:
4 years, 4 months ago by Evan Stade
Modified:
4 years, 3 months ago
Reviewers:
sky, bruthig
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow InkDropRipple to co-exist with highlight. Allow InkDropRipple to co-exist with highlight by adding InkDropRipple::OverridesHighlight. I initially made this part of InkDropHost but then realized that it was more a property of the ripple itself, and it would be too easy to overlook when adding an ink drop to a new surface. The immediate effect of this change is that flood fill ripples will paint on top of the hover highlight effect (e.g. on bookmark buttons). BUG=617961 Committed: https://crrev.com/d17dd4ab4c7802be7190cbc80e9c56a4ddb793c9 Cr-Commit-Position: refs/heads/master@{#419848}

Patch Set 1 #

Patch Set 2 : improved docs #

Patch Set 3 : git cl try #

Total comments: 30

Patch Set 4 : bruthig feedback #

Patch Set 5 : ++tests #

Total comments: 1

Patch Set 6 : changes #

Patch Set 7 : with dbg code #

Patch Set 8 : w/o dbg code #

Total comments: 4

Patch Set 9 : . #

Total comments: 6

Patch Set 10 : remove EmptyInkDropRipple #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -34 lines) Patch
M ui/views/animation/flood_fill_ink_drop_ripple.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/animation/flood_fill_ink_drop_ripple.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/animation/ink_drop_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +28 lines, -19 lines 0 comments Download
M ui/views/animation/ink_drop_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +63 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_ripple.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M ui/views/animation/ink_drop_ripple.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/animation/square_ink_drop_ripple.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/animation/square_ink_drop_ripple.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/animation/test/test_ink_drop_host.h View 1 2 3 4 9 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/animation/test/test_ink_drop_host.cc View 1 2 3 4 9 4 chunks +13 lines, -4 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 3 7 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 54 (24 generated)
Evan Stade
4 years, 4 months ago (2016-08-16 19:06:57 UTC) #3
bruthig
On 2016/08/16 19:06:57, Evan Stade wrote: I took a quick look and in general looks ...
4 years, 4 months ago (2016-08-18 15:08:51 UTC) #5
bruthig
I did a more thorough review and left some comments inline. At a high level, ...
4 years, 3 months ago (2016-08-25 17:45:29 UTC) #6
Evan Stade
> At a high level, I weakly challenge your perspective that the > "OverridesHighlight" property ...
4 years, 3 months ago (2016-08-26 23:36:15 UTC) #7
Evan Stade
also added a unit test
4 years, 3 months ago (2016-08-27 01:17:11 UTC) #8
bruthig
On 2016/08/26 23:36:15, Evan Stade wrote: > > At a high level, I weakly challenge ...
4 years, 3 months ago (2016-08-31 22:22:30 UTC) #13
Evan Stade
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc File ui/views/animation/ink_drop_impl.cc (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc#newcode179 ui/views/animation/ink_drop_impl.cc:179: ink_drop_host_->AddInkDropLayer(root_layer_.get()); On 2016/08/31 22:22:29, bruthig wrote: > On 2016/08/26 ...
4 years, 3 months ago (2016-09-01 01:19:15 UTC) #14
bruthig
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc File ui/views/animation/ink_drop_impl.cc (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc#newcode179 ui/views/animation/ink_drop_impl.cc:179: ink_drop_host_->AddInkDropLayer(root_layer_.get()); On 2016/09/01 01:19:15, Evan Stade wrote: > On ...
4 years, 3 months ago (2016-09-01 15:53:57 UTC) #15
Evan Stade
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc File ui/views/animation/ink_drop_impl.cc (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_impl.cc#newcode184 ui/views/animation/ink_drop_impl.cc:184: if (root_layer_added_to_host_ && !highlight_ && !ink_drop_ripple_) { On 2016/09/01 ...
4 years, 3 months ago (2016-09-07 23:46:19 UTC) #19
bruthig
Can you: - update InkDropTest to run the tests for the new ripple flavor? - ...
4 years, 3 months ago (2016-09-08 15:56:04 UTC) #23
Evan Stade
On 2016/09/08 15:56:04, bruthig wrote: > Can you: > - update InkDropTest to run the ...
4 years, 3 months ago (2016-09-08 19:16:18 UTC) #24
Evan Stade
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h File ui/views/animation/ink_drop_ripple.h (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h#newcode60 ui/views/animation/ink_drop_ripple.h:60: virtual void AnimateToState(InkDropState ink_drop_state); On 2016/09/08 15:56:04, bruthig wrote: ...
4 years, 3 months ago (2016-09-08 19:17:32 UTC) #25
bruthig
On 2016/09/08 19:16:18, Evan Stade wrote: > On 2016/09/08 15:56:04, bruthig wrote: > > Can ...
4 years, 3 months ago (2016-09-09 16:05:47 UTC) #26
Evan Stade
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h File ui/views/animation/ink_drop_ripple.h (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h#newcode60 ui/views/animation/ink_drop_ripple.h:60: virtual void AnimateToState(InkDropState ink_drop_state); On 2016/09/09 16:05:47, bruthig wrote: ...
4 years, 3 months ago (2016-09-09 18:55:48 UTC) #27
bruthig
https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h File ui/views/animation/ink_drop_ripple.h (right): https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h#newcode60 ui/views/animation/ink_drop_ripple.h:60: virtual void AnimateToState(InkDropState ink_drop_state); On 2016/09/09 18:55:48, Evan Stade ...
4 years, 3 months ago (2016-09-09 19:30:05 UTC) #28
Evan Stade
On 2016/09/09 19:30:05, bruthig wrote: > https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h > File ui/views/animation/ink_drop_ripple.h (right): > > https://codereview.chromium.org/2250783002/diff/40001/ui/views/animation/ink_drop_ripple.h#newcode60 > ...
4 years, 3 months ago (2016-09-14 20:16:56 UTC) #29
bruthig
> > > > How about this, in the quick return you could invoke > ...
4 years, 3 months ago (2016-09-14 22:03:11 UTC) #30
Evan Stade
On 2016/09/14 22:03:11, bruthig wrote: > > > > > > How about this, in ...
4 years, 3 months ago (2016-09-14 22:19:12 UTC) #31
bruthig
On 2016/09/14 22:19:12, Evan Stade wrote: > On 2016/09/14 22:03:11, bruthig wrote: > > > ...
4 years, 3 months ago (2016-09-14 22:44:45 UTC) #32
Evan Stade
On 2016/09/14 22:44:45, bruthig wrote: > On 2016/09/14 22:19:12, Evan Stade wrote: > > On ...
4 years, 3 months ago (2016-09-14 23:36:36 UTC) #33
bruthig
On 2016/09/14 23:36:36, Evan Stade wrote: > On 2016/09/14 22:44:45, bruthig wrote: > > On ...
4 years, 3 months ago (2016-09-15 04:57:28 UTC) #34
Evan Stade
I've excised the controversial part of this change (EmptyInkDropRipple) and now all that remains is ...
4 years, 3 months ago (2016-09-20 15:34:00 UTC) #36
bruthig
nit: Please update the CL description, i.e. remove "or not exist at all" Otherwise, lgtm
4 years, 3 months ago (2016-09-20 16:23:45 UTC) #39
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/2250783002/180001
4 years, 3 months ago (2016-09-20 17:59:23 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/263068)
4 years, 3 months ago (2016-09-20 18:09:10 UTC) #45
Evan Stade
+sky for ownership
4 years, 3 months ago (2016-09-20 19:43:35 UTC) #47
sky
LabelButton LGTM
4 years, 3 months ago (2016-09-20 20:10:35 UTC) #48
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/2250783002/180001
4 years, 3 months ago (2016-09-20 20:18:41 UTC) #50
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-09-20 20:26:09 UTC) #52
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 20:28:59 UTC) #54
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d17dd4ab4c7802be7190cbc80e9c56a4ddb793c9
Cr-Commit-Position: refs/heads/master@{#419848}

Powered by Google App Engine
This is Rietveld 408576698