OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "ui/base/animation/animation_container_observer.h" | 13 #include "ui/base/animation/animation_container_observer.h" |
14 #include "ui/base/animation/animation_delegate.h" | 14 #include "ui/base/animation/animation_delegate.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 #include "views/views_export.h" | 16 #include "ui/views/views_export.h" |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 class SlideAnimation; | 19 class SlideAnimation; |
20 } | 20 } |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 | 23 |
24 class BoundsAnimator; | 24 class BoundsAnimator; |
25 class View; | 25 class View; |
26 | 26 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked | 181 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked |
182 // to repaint these bounds. | 182 // to repaint these bounds. |
183 gfx::Rect repaint_bounds_; | 183 gfx::Rect repaint_bounds_; |
184 | 184 |
185 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); | 185 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace views | 188 } // namespace views |
189 | 189 |
190 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 190 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
OLD | NEW |