| 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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
| 10 #include "ash/wm/lock_state_observer.h" | 10 #include "ash/wm/lock_state_observer.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 // Fades out background layer with |speed| if it was hidden in unlocked state. | 277 // Fades out background layer with |speed| if it was hidden in unlocked state. |
| 278 void AnimateBackgroundHidingIfNecessary( | 278 void AnimateBackgroundHidingIfNecessary( |
| 279 ash::SessionStateAnimator::AnimationSpeed speed, | 279 ash::SessionStateAnimator::AnimationSpeed speed, |
| 280 SessionStateAnimator::AnimationSequence* animation_sequence); | 280 SessionStateAnimator::AnimationSequence* animation_sequence); |
| 281 | 281 |
| 282 scoped_ptr<SessionStateAnimator> animator_; | 282 scoped_ptr<SessionStateAnimator> animator_; |
| 283 | 283 |
| 284 scoped_ptr<LockStateControllerDelegate> delegate_; | 284 scoped_ptr<LockStateControllerDelegate> delegate_; |
| 285 | 285 |
| 286 ObserverList<LockStateObserver> observers_; | 286 base::ObserverList<LockStateObserver> observers_; |
| 287 | 287 |
| 288 // The current login status, or original login status from before we locked. | 288 // The current login status, or original login status from before we locked. |
| 289 user::LoginStatus login_status_; | 289 user::LoginStatus login_status_; |
| 290 | 290 |
| 291 // Current lock status. | 291 // Current lock status. |
| 292 bool system_is_locked_; | 292 bool system_is_locked_; |
| 293 | 293 |
| 294 // Are we in the process of shutting the machine down? | 294 // Are we in the process of shutting the machine down? |
| 295 bool shutting_down_; | 295 bool shutting_down_; |
| 296 | 296 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 327 base::Closure lock_screen_displayed_callback_; | 327 base::Closure lock_screen_displayed_callback_; |
| 328 | 328 |
| 329 base::WeakPtrFactory<LockStateController> weak_ptr_factory_; | 329 base::WeakPtrFactory<LockStateController> weak_ptr_factory_; |
| 330 | 330 |
| 331 DISALLOW_COPY_AND_ASSIGN(LockStateController); | 331 DISALLOW_COPY_AND_ASSIGN(LockStateController); |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 } // namespace ash | 334 } // namespace ash |
| 335 | 335 |
| 336 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_ | 336 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_ |
| OLD | NEW |