OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/views/animation/test/test_ink_drop_hover_observer.h" | 5 #include "ui/views/animation/test/test_ink_drop_highlight_observer.h" |
6 | 6 |
7 #include "ui/views/animation/ink_drop_hover.h" | 7 #include "ui/views/animation/ink_drop_highlight.h" |
8 | 8 |
9 namespace views { | 9 namespace views { |
10 namespace test { | 10 namespace test { |
11 | 11 |
12 TestInkDropHoverObserver::TestInkDropHoverObserver() {} | 12 TestInkDropHighlightObserver::TestInkDropHighlightObserver() {} |
13 | 13 |
14 void TestInkDropHoverObserver::AnimationStarted( | 14 void TestInkDropHighlightObserver::AnimationStarted( |
15 InkDropHover::AnimationType animation_type) { | 15 InkDropHighlight::AnimationType animation_type) { |
16 ObserverHelper::OnAnimationStarted(animation_type); | 16 ObserverHelper::OnAnimationStarted(animation_type); |
17 } | 17 } |
18 | 18 |
19 void TestInkDropHoverObserver::AnimationEnded( | 19 void TestInkDropHighlightObserver::AnimationEnded( |
20 InkDropHover::AnimationType animation_type, | 20 InkDropHighlight::AnimationType animation_type, |
21 InkDropAnimationEndedReason reason) { | 21 InkDropAnimationEndedReason reason) { |
22 ObserverHelper::OnAnimationEnded(animation_type, reason); | 22 ObserverHelper::OnAnimationEnded(animation_type, reason); |
23 } | 23 } |
24 | 24 |
25 } // namespace test | 25 } // namespace test |
26 } // namespace views | 26 } // namespace views |
OLD | NEW |