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_H_ | 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ |
6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ | 6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "ui/compositor/layer_animator.h" | 12 #include "ui/compositor/layer_animator.h" |
13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
14 #include "ui/gfx/geometry/size_f.h" | |
15 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
16 #include "ui/views/animation/ink_drop_state.h" | 15 #include "ui/views/animation/ink_drop_state.h" |
17 #include "ui/views/views_export.h" | 16 #include "ui/views/views_export.h" |
18 | 17 |
19 namespace ui { | 18 namespace ui { |
20 class CallbackLayerAnimationObserver; | 19 class CallbackLayerAnimationObserver; |
21 class Layer; | 20 class Layer; |
22 class LayerAnimationObserver; | 21 class LayerAnimationObserver; |
23 class LayerDelegate; | 22 class LayerDelegate; |
24 } // namespace ui | 23 } // namespace ui |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 178 |
180 // List of observers to notify when animations have finished. | 179 // List of observers to notify when animations have finished. |
181 base::ObserverList<InkDropAnimationObserver> observers_; | 180 base::ObserverList<InkDropAnimationObserver> observers_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(InkDropAnimation); | 182 DISALLOW_COPY_AND_ASSIGN(InkDropAnimation); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace views | 185 } // namespace views |
187 | 186 |
188 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ | 187 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ |
OLD | NEW |