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 ASH_SHELF_BACKGROUND_ANIMATOR_H_ | 5 #ifndef ASH_SHELF_BACKGROUND_ANIMATOR_H_ |
6 #define ASH_SHELF_BACKGROUND_ANIMATOR_H_ | 6 #define ASH_SHELF_BACKGROUND_ANIMATOR_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/macros.h" |
10 #include "ui/gfx/animation/animation_delegate.h" | 10 #include "ui/gfx/animation/animation_delegate.h" |
11 #include "ui/gfx/animation/slide_animation.h" | 11 #include "ui/gfx/animation/slide_animation.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 | 14 |
15 // How the background can be changed. | 15 // How the background can be changed. |
16 enum BackgroundAnimatorChangeType { | 16 enum BackgroundAnimatorChangeType { |
17 BACKGROUND_CHANGE_ANIMATE, | 17 BACKGROUND_CHANGE_ANIMATE, |
18 BACKGROUND_CHANGE_IMMEDIATE | 18 BACKGROUND_CHANGE_IMMEDIATE |
19 }; | 19 }; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 // Current alpha value of the background. | 64 // Current alpha value of the background. |
65 int alpha_; | 65 int alpha_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(BackgroundAnimator); | 67 DISALLOW_COPY_AND_ASSIGN(BackgroundAnimator); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace ash | 70 } // namespace ash |
71 | 71 |
72 #endif // ASH_SHELF_BACKGROUND_ANIMATOR_H_ | 72 #endif // ASH_SHELF_BACKGROUND_ANIMATOR_H_ |
OLD | NEW |