OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BOUNDS_ANIMATOR_H_ | 5 #ifndef UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
6 #define UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 6 #define UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
13 #include "ui/gfx/animation/animation_container_observer.h" | 14 #include "ui/gfx/animation/animation_container_observer.h" |
14 #include "ui/gfx/animation/animation_delegate.h" | 15 #include "ui/gfx/animation/animation_delegate.h" |
15 #include "ui/gfx/animation/tween.h" | 16 #include "ui/gfx/animation/tween.h" |
16 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/views/views_export.h" | 18 #include "ui/views/views_export.h" |
18 | 19 |
19 namespace gfx { | 20 namespace gfx { |
20 class SlideAnimation; | 21 class SlideAnimation; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 int animation_duration_ms_; | 177 int animation_duration_ms_; |
177 | 178 |
178 gfx::Tween::Type tween_type_; | 179 gfx::Tween::Type tween_type_; |
179 | 180 |
180 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); | 181 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); |
181 }; | 182 }; |
182 | 183 |
183 } // namespace views | 184 } // namespace views |
184 | 185 |
185 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 186 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
OLD | NEW |