OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TEST_TEST_SESSION_STATE_ANIMATOR_H_ | 5 #ifndef ASH_TEST_TEST_SESSION_STATE_ANIMATOR_H_ |
6 #define ASH_TEST_TEST_SESSION_STATE_ANIMATOR_H_ | 6 #define ASH_TEST_TEST_SESSION_STATE_ANIMATOR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "ash/ash_export.h" | 13 #include "ash/ash_export.h" |
12 #include "ash/wm/session_state_animator.h" | 14 #include "ash/wm/session_state_animator.h" |
13 #include "base/basictypes.h" | 15 #include "base/macros.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 | 17 |
16 namespace ash { | 18 namespace ash { |
17 namespace test { | 19 namespace test { |
18 | 20 |
19 // A SessionStateAnimator that offers control over the lifetime of active | 21 // A SessionStateAnimator that offers control over the lifetime of active |
20 // animations. | 22 // animations. |
21 // NOTE: The TestSessionStateAnimator limits each | 23 // NOTE: The TestSessionStateAnimator limits each |
22 // SessionStateAnimator::Container to a single active animation at any one time. | 24 // SessionStateAnimator::Container to a single active animation at any one time. |
23 // If a new animation is started on a container the existing one will be | 25 // If a new animation is started on a container the existing one will be |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Tracks whether the background is hidden or not. | 157 // Tracks whether the background is hidden or not. |
156 bool is_background_hidden_; | 158 bool is_background_hidden_; |
157 | 159 |
158 DISALLOW_COPY_AND_ASSIGN(TestSessionStateAnimator); | 160 DISALLOW_COPY_AND_ASSIGN(TestSessionStateAnimator); |
159 }; | 161 }; |
160 | 162 |
161 } // namespace test | 163 } // namespace test |
162 } // namespace ash | 164 } // namespace ash |
163 | 165 |
164 #endif // ASH_TEST_TEST_SESSION_STATE_ANIMATOR_H_ | 166 #endif // ASH_TEST_TEST_SESSION_STATE_ANIMATOR_H_ |
OLD | NEW |