Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: ash/wm/lock_state_controller.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/video_detector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/video_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698