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

Issue 1286693004: Extracted InkDropAnimator class from InkDropAnimationController. (Closed)

Created:
5 years, 4 months ago by bruthig
Modified:
5 years, 4 months ago
CC:
chromium-reviews, tfarina, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extracted InkDropAnimator class and InkDropState enum from InkDropAnimationController. NOTE: This is based on this review: https://codereview.chromium.org/1280953003/ . Follow up review: https://codereview.chromium.org/1298513003/ The InkDropAnimationController is becoming overloaded and the ink drop animation is only going to become more complex. Thus it will be easier to iterate on it if it becomes contained in it's own .h/.cc files. TEST=Tested clicking, touching, and long pressing all the affected ToolbarButton's with and without material design enabled. Verified reasonable visuals and no crashes. BUG=517903 Committed: https://crrev.com/2c31473df0db630276fbb6f91379359ee65fbfc9 Cr-Commit-Position: refs/heads/master@{#344589}

Patch Set 1 #

Patch Set 2 : Removed cached InkDropState from InkDropAnimation. #

Patch Set 3 : Merged in changes to 1280953003. #

Patch Set 4 : Merged in changes to 1280953003. #

Patch Set 5 : Merged in changes to 1280953003. #

Patch Set 6 : Fixed the diff base. #

Patch Set 7 : Merged in changes to 1280953003. #

Patch Set 8 : Fixed the diff base. #

Patch Set 9 : Merged in changes to 1280953003. #

Patch Set 10 : Updated comment with crbug number. #

Total comments: 6

Patch Set 11 : Addressed nits from patch set 10. #

Patch Set 12 : Merge branch 'master' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -453 lines) Patch
A + ui/views/animation/ink_drop_animation.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +26 lines, -24 lines 0 comments Download
A + ui/views/animation/ink_drop_animation.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +17 lines, -31 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller.h View 1 2 3 4 5 6 7 2 chunks +1 line, -18 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -58 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -319 lines 0 comments Download
A ui/views/animation/ink_drop_state.h View 1 chunk +30 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
bruthig
jonross@, tdanderson@, can you guys PTAL before I send it off for OWNERS review?
5 years, 4 months ago (2015-08-11 17:52:44 UTC) #2
bruthig
pkasting@, Please review changes in: - chrome/browser/* sadrul@, Please review changes in: - ui/views/*
5 years, 4 months ago (2015-08-14 19:40:26 UTC) #4
Peter Kasting
I'm confused, are you not landing the other CL I just R+ed, and instead landing ...
5 years, 4 months ago (2015-08-14 19:52:30 UTC) #5
bruthig
Sorry my bad pkasting@, I didn't set the proper diff base when uploading and then ...
5 years, 4 months ago (2015-08-14 19:55:23 UTC) #7
jonross
Minor request, basically a nit. Otherwise LGTM https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.cc#newcode208 ui/views/animation/ink_drop_animation.cc:208: ui::Layer* InkDropAnimation::GetRootLayer() ...
5 years, 4 months ago (2015-08-19 21:41:02 UTC) #8
tdanderson
lgtm also
5 years, 4 months ago (2015-08-19 22:13:26 UTC) #9
sadrul
lgtm https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.h File ui/views/animation/ink_drop_animation.h (right): https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.h#newcode35 ui/views/animation/ink_drop_animation.h:35: // Set the size of the ink drop. ...
5 years, 4 months ago (2015-08-20 06:32:38 UTC) #10
bruthig
https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1286693004/diff/180001/ui/views/animation/ink_drop_animation.cc#newcode208 ui/views/animation/ink_drop_animation.cc:208: ui::Layer* InkDropAnimation::GetRootLayer() { On 2015/08/19 21:41:01, jonross wrote: > ...
5 years, 4 months ago (2015-08-20 12:16:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286693004/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286693004/210001
5 years, 4 months ago (2015-08-20 15:21:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/96071)
5 years, 4 months ago (2015-08-20 16:35:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286693004/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286693004/210001
5 years, 4 months ago (2015-08-20 20:29:53 UTC) #18
commit-bot: I haz the power
Committed patchset #12 (id:210001)
5 years, 4 months ago (2015-08-20 21:50:53 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 21:51:29 UTC) #20
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2c31473df0db630276fbb6f91379359ee65fbfc9
Cr-Commit-Position: refs/heads/master@{#344589}

Powered by Google App Engine
This is Rietveld 408576698