| 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_WM_SESSION_STATE_ANIMATOR_H_ | 5 #ifndef ASH_WM_SESSION_STATE_ANIMATOR_H_ |
| 6 #define ASH_WM_SESSION_STATE_ANIMATOR_H_ | 6 #define ASH_WM_SESSION_STATE_ANIMATOR_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/basictypes.h" | |
| 10 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/macros.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 | 14 |
| 15 // Displays onscreen animations for session state changes (lock/unlock, sign | 15 // Displays onscreen animations for session state changes (lock/unlock, sign |
| 16 // out, shut down). | 16 // out, shut down). |
| 17 class ASH_EXPORT SessionStateAnimator { | 17 class ASH_EXPORT SessionStateAnimator { |
| 18 public: | 18 public: |
| 19 // Animations that can be applied to groups of containers. | 19 // Animations that can be applied to groups of containers. |
| 20 enum AnimationType { | 20 enum AnimationType { |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // Hides the background immediately. | 215 // Hides the background immediately. |
| 216 virtual void HideBackground() = 0; | 216 virtual void HideBackground() = 0; |
| 217 | 217 |
| 218 private: | 218 private: |
| 219 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator); | 219 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator); |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 } // namespace ash | 222 } // namespace ash |
| 223 | 223 |
| 224 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_ | 224 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_ |
| OLD | NEW |