| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCK_STATE_CONTROLLER_H_ | 5 #ifndef ASH_WM_LOCK_STATE_CONTROLLER_H_ |
| 6 #define ASH_WM_LOCK_STATE_CONTROLLER_H_ | 6 #define ASH_WM_LOCK_STATE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/shell_observer.h" | 11 #include "ash/common/shell_observer.h" |
| 12 #include "ash/wm/session_state_animator.h" | 12 #include "ash/wm/session_state_animator.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "base/timer/elapsed_timer.h" | 16 #include "base/timer/elapsed_timer.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "ui/aura/window_tree_host_observer.h" | 18 #include "ui/aura/window_tree_host_observer.h" |
| 19 | 19 |
| 20 namespace gfx { | |
| 21 class Rect; | |
| 22 class Size; | |
| 23 } | |
| 24 | |
| 25 namespace ui { | |
| 26 class Layer; | |
| 27 } | |
| 28 | |
| 29 namespace ash { | 20 namespace ash { |
| 30 | 21 |
| 31 class ShutdownController; | 22 class ShutdownController; |
| 32 | 23 |
| 33 namespace test { | 24 namespace test { |
| 34 class LockStateControllerTest; | 25 class LockStateControllerTest; |
| 35 class LockStateControllerTestApi; | 26 class LockStateControllerTestApi; |
| 36 } | 27 } |
| 37 | 28 |
| 38 // Displays onscreen animations and locks or suspends the system in response to | 29 // Displays onscreen animations and locks or suspends the system in response to |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 base::Closure lock_screen_displayed_callback_; | 254 base::Closure lock_screen_displayed_callback_; |
| 264 | 255 |
| 265 base::WeakPtrFactory<LockStateController> weak_ptr_factory_; | 256 base::WeakPtrFactory<LockStateController> weak_ptr_factory_; |
| 266 | 257 |
| 267 DISALLOW_COPY_AND_ASSIGN(LockStateController); | 258 DISALLOW_COPY_AND_ASSIGN(LockStateController); |
| 268 }; | 259 }; |
| 269 | 260 |
| 270 } // namespace ash | 261 } // namespace ash |
| 271 | 262 |
| 272 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_ | 263 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_ |
| OLD | NEW |