OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |