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

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

Issue 1949143003: Added pretty printers for some Ink Drop enums. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed primitive pass by refs. Created 4 years, 7 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
« no previous file with comments | « ui/views/animation/ink_drop_state.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include <ostream>
6
7 #include "ui/views/animation/ink_drop_animation_ended_reason.h"
8 #include "ui/views/animation/ink_drop_hover.h"
9 #include "ui/views/animation/ink_drop_state.h"
10
11 namespace views {
12
13 void PrintTo(InkDropState ink_drop_state, ::std::ostream* os) {
14 *os << ToString(ink_drop_state);
15 }
16
17 void PrintTo(InkDropHover::AnimationType animation_type, ::std::ostream* os) {
18 *os << ToString(animation_type);
19 }
20
21 void PrintTo(InkDropAnimationEndedReason reason, ::std::ostream* os) {
22 *os << ToString(reason);
23 }
24
25 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_state.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698