| 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/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 14 #include "ui/gfx/animation/animation_container_observer.h" | 15 #include "ui/gfx/animation/animation_container_observer.h" |
| 15 #include "ui/gfx/animation/animation_delegate.h" | 16 #include "ui/gfx/animation/animation_delegate.h" |
| 16 #include "ui/gfx/animation/tween.h" | 17 #include "ui/gfx/animation/tween.h" |
| 17 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 18 #include "ui/views/views_export.h" | 19 #include "ui/views/views_export.h" |
| 19 | 20 |
| 20 namespace gfx { | 21 namespace gfx { |
| 21 class SlideAnimation; | 22 class SlideAnimation; |
| 22 } | 23 } |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 int animation_duration_ms_; | 178 int animation_duration_ms_; |
| 178 | 179 |
| 179 gfx::Tween::Type tween_type_; | 180 gfx::Tween::Type tween_type_; |
| 180 | 181 |
| 181 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); | 182 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 } // namespace views | 185 } // namespace views |
| 185 | 186 |
| 186 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 187 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
| OLD | NEW |