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

Issue 1896953003: Added a views::test::TestInkDropAnimationObserverHelper (Closed)

Created:
4 years, 8 months ago by bruthig
Modified:
4 years, 8 months ago
Reviewers:
sky
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

Added a views::test::TestInkDropAnimationObserverHelper This change is a foundation for a follow-up CL that will be adding an InkDropHoverObserver and a TestInkDropHoverObserver. This change will allow code re-use between the InkDropHoverObserver/InkDropAnimationObserver and TestInkDropHoverObserver/TestInkDropAnimationObserver classes. BUG=604415 Committed: https://crrev.com/0cf6c96f36bd9a5a6bbfebb13285d5166f193881 Cr-Commit-Position: refs/heads/master@{#388923}

Patch Set 1 #

Patch Set 2 : Updated OWNERs file. #

Patch Set 3 : Merge with master. #

Patch Set 4 : Added TestAnimationObserver<ParentType, ContextType>. #

Patch Set 5 : Added test_animation_observer.h to views.gyp. #

Patch Set 6 : Added test_animation_observer.h file. #

Total comments: 6

Patch Set 7 : Addressed comments from patch set 6. #

Patch Set 8 : Removed general AnimationObserver. #

Total comments: 2

Patch Set 9 : Fixed build issue and nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -201 lines) Patch
M ui/views/animation/ink_drop_animation.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_animation.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -5 lines 0 comments Download
A ui/views/animation/ink_drop_animation_ended_reason.h View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A ui/views/animation/ink_drop_animation_ended_reason.cc View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_animation_observer.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -27 lines 0 comments Download
D ui/views/animation/ink_drop_animation_observer.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M ui/views/animation/ink_drop_animation_unittest.cc View 1 2 3 4 5 6 7 7 chunks +10 lines, -10 lines 0 comments Download
M ui/views/animation/test/test_ink_drop_animation_observer.h View 1 2 3 4 5 6 7 5 chunks +11 lines, -73 lines 0 comments Download
M ui/views/animation/test/test_ink_drop_animation_observer.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -51 lines 0 comments Download
A ui/views/animation/test/test_ink_drop_animation_observer_helper.h View 1 2 3 4 5 6 7 1 chunk +143 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
bruthig
sky@, can you PTAL?
4 years, 8 months ago (2016-04-20 15:14:01 UTC) #3
sky
Can you elaborate on why you need the template parameter? Can't observer implementations internally keep ...
4 years, 8 months ago (2016-04-20 19:38:48 UTC) #4
bruthig
On 2016/04/20 19:38:48, sky wrote: > Can you elaborate on why you need the template ...
4 years, 8 months ago (2016-04-20 21:20:09 UTC) #5
sky
On Wed, Apr 20, 2016 at 2:20 PM, <bruthig@chromium.org> wrote: > On 2016/04/20 19:38:48, sky ...
4 years, 8 months ago (2016-04-20 22:25:46 UTC) #6
bruthig
On 2016/04/20 22:25:46, sky wrote: > On Wed, Apr 20, 2016 at 2:20 PM, <mailto:bruthig@chromium.org> ...
4 years, 8 months ago (2016-04-21 18:21:33 UTC) #7
sky
LGTM https://codereview.chromium.org/1896953003/diff/140001/ui/views/animation/ink_drop_animation_ended_reason.cc File ui/views/animation/ink_drop_animation_ended_reason.cc (right): https://codereview.chromium.org/1896953003/diff/140001/ui/views/animation/ink_drop_animation_ended_reason.cc#newcode20 ui/views/animation/ink_drop_animation_ended_reason.cc:20: return ""; nit: "" -> std::string()
4 years, 8 months ago (2016-04-21 20:19:06 UTC) #8
bruthig
https://codereview.chromium.org/1896953003/diff/140001/ui/views/animation/ink_drop_animation_ended_reason.cc File ui/views/animation/ink_drop_animation_ended_reason.cc (right): https://codereview.chromium.org/1896953003/diff/140001/ui/views/animation/ink_drop_animation_ended_reason.cc#newcode20 ui/views/animation/ink_drop_animation_ended_reason.cc:20: return ""; On 2016/04/21 20:19:06, sky wrote: > nit: ...
4 years, 8 months ago (2016-04-21 21:13:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896953003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896953003/160001
4 years, 8 months ago (2016-04-21 21:46:01 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 8 months ago (2016-04-21 22:29:34 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:40:29 UTC) #17
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0cf6c96f36bd9a5a6bbfebb13285d5166f193881
Cr-Commit-Position: refs/heads/master@{#388923}

Powered by Google App Engine
This is Rietveld 408576698