| 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 VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 5 #ifndef UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
| 6 #define 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/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "ui/base/animation/animation_container_observer.h" | 12 #include "ui/base/animation/animation_container_observer.h" |
| 13 #include "ui/base/animation/animation_delegate.h" | 13 #include "ui/base/animation/animation_delegate.h" |
| 14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
| 15 #include "views/views_export.h" | 15 #include "views/views_export.h" |
| 16 | 16 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // is updated. When all the animations have completed for a given tick of | 177 // is updated. When all the animations have completed for a given tick of |
| 178 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked | 178 // the timer (AnimationContainerProgressed is invoked) the parent_ is asked |
| 179 // to repaint these bounds. | 179 // to repaint these bounds. |
| 180 gfx::Rect repaint_bounds_; | 180 gfx::Rect repaint_bounds_; |
| 181 | 181 |
| 182 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); | 182 DISALLOW_COPY_AND_ASSIGN(BoundsAnimator); |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 } // namespace views | 185 } // namespace views |
| 186 | 186 |
| 187 #endif // VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ | 187 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ |
| OLD | NEW |