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

Side by Side Diff: ui/views/animation/test/ink_drop_utils.cc

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp file Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « ui/views/animation/test/ink_drop_impl_test_api.cc ('k') | ui/views/animation/test/test_ink_drop_highlight_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698