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 <ostream> | 5 #include <ostream> |
6 | 6 |
7 #include "ui/views/animation/ink_drop_animation_ended_reason.h" | 7 #include "ui/views/animation/ink_drop_animation_ended_reason.h" |
8 #include "ui/views/animation/ink_drop_hover.h" | 8 #include "ui/views/animation/ink_drop_highlight.h" |
9 #include "ui/views/animation/ink_drop_state.h" | 9 #include "ui/views/animation/ink_drop_state.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 void PrintTo(InkDropState ink_drop_state, ::std::ostream* os) { | 13 void PrintTo(InkDropState ink_drop_state, ::std::ostream* os) { |
14 *os << ToString(ink_drop_state); | 14 *os << ToString(ink_drop_state); |
15 } | 15 } |
16 | 16 |
17 void PrintTo(InkDropHover::AnimationType animation_type, ::std::ostream* os) { | 17 void PrintTo(InkDropHighlight::AnimationType animation_type, |
| 18 ::std::ostream* os) { |
18 *os << ToString(animation_type); | 19 *os << ToString(animation_type); |
19 } | 20 } |
20 | 21 |
21 void PrintTo(InkDropAnimationEndedReason reason, ::std::ostream* os) { | 22 void PrintTo(InkDropAnimationEndedReason reason, ::std::ostream* os) { |
22 *os << ToString(reason); | 23 *os << ToString(reason); |
23 } | 24 } |
24 | 25 |
25 } // namespace views | 26 } // namespace views |
OLD | NEW |