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_ANIMATION_OBSERVER_H_ | 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_ |
6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_ | 6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_ |
7 | 7 |
8 #include <iosfwd> | |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/macros.h" | 10 #include "base/macros.h" |
12 #include "ui/views/animation/ink_drop_state.h" | 11 #include "ui/views/animation/ink_drop_state.h" |
13 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
14 | 13 |
15 namespace views { | 14 namespace views { |
16 | 15 |
17 // Pure-virtual base class of an observer that can be attached to | 16 // Pure-virtual base class of an observer that can be attached to |
18 // InkDropAnimations. | 17 // InkDropAnimations. |
(...skipping 29 matching lines...) Expand all Loading... |
48 DISALLOW_COPY_AND_ASSIGN(InkDropAnimationObserver); | 47 DISALLOW_COPY_AND_ASSIGN(InkDropAnimationObserver); |
49 }; | 48 }; |
50 | 49 |
51 // Returns a human readable string for |reason|. Useful for logging. | 50 // Returns a human readable string for |reason|. Useful for logging. |
52 std::string ToString( | 51 std::string ToString( |
53 InkDropAnimationObserver::InkDropAnimationEndedReason reason); | 52 InkDropAnimationObserver::InkDropAnimationEndedReason reason); |
54 | 53 |
55 } // namespace views | 54 } // namespace views |
56 | 55 |
57 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_ | 56 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_OBSERVER_H_ |
OLD | NEW |