OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 5 #ifndef VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
6 #define VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 6 #define VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "gfx/rect.h" | |
13 #include "ui/base/animation/animation_container_observer.h" | 12 #include "ui/base/animation/animation_container_observer.h" |
14 #include "ui/base/animation/animation_delegate.h" | 13 #include "ui/base/animation/animation_delegate.h" |
| 14 #include "ui/gfx/rect.h" |
15 | 15 |
16 namespace ui { | 16 namespace ui { |
17 class SlideAnimation; | 17 class SlideAnimation; |
18 } | 18 } |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 | 21 |
22 class BoundsAnimator; | 22 class BoundsAnimator; |
23 class View; | 23 class View; |
24 | 24 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked | 173 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked |
174 // to repaint these bounds. | 174 // to repaint these bounds. |
175 gfx::Rect repaint_bounds_; | 175 gfx::Rect repaint_bounds_; |
176 | 176 |
177 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); | 177 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); |
178 }; | 178 }; |
179 | 179 |
180 } // namespace views | 180 } // namespace views |
181 | 181 |
182 #endif // VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 182 #endif // VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
OLD | NEW |