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

Side by Side Diff: ui/views/animation/ink_drop_state.h

Issue 1510173006: remove a few static initializers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_animation_observer.cc ('k') | ui/views/animation/ink_drop_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef UI_VIEWS_ANIMATION_INK_DROP_STATE_H_ 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_STATE_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_STATE_H_ 6 #define UI_VIEWS_ANIMATION_INK_DROP_STATE_H_
7 7
8 #include <iosfwd>
9 #include <string> 8 #include <string>
10 9
11 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
12 11
13 namespace views { 12 namespace views {
14 13
15 // The different states that the ink drop animation can be animated to. 14 // The different states that the ink drop animation can be animated to.
16 enum class InkDropState { 15 enum class InkDropState {
17 // The ink drop is not visible. 16 // The ink drop is not visible.
18 HIDDEN, 17 HIDDEN,
(...skipping 16 matching lines...) Expand all
35 // menu is closed. 34 // menu is closed.
36 DEACTIVATED, 35 DEACTIVATED,
37 }; 36 };
38 37
39 // Returns a human readable string for |state|. Useful for logging. 38 // Returns a human readable string for |state|. Useful for logging.
40 std::string ToString(InkDropState state); 39 std::string ToString(InkDropState state);
41 40
42 } // namespace views 41 } // namespace views
43 42
44 #endif // UI_VIEWS_ANIMATION_INK_DROP_STATE_H_ 43 #endif // UI_VIEWS_ANIMATION_INK_DROP_STATE_H_
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_animation_observer.cc ('k') | ui/views/animation/ink_drop_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698