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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/immersive_fullscreen_controller_unittest.cc ('k') | ash/wm/lock_state_controller.cc » ('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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void PreLockAnimationFinished(bool request_lock); 258 void PreLockAnimationFinished(bool request_lock);
259 void PostLockAnimationFinished(); 259 void PostLockAnimationFinished();
260 void UnlockAnimationAfterUIDestroyedFinished(); 260 void UnlockAnimationAfterUIDestroyedFinished();
261 261
262 // Stores properties of UI that have to be temporarily modified while locking. 262 // Stores properties of UI that have to be temporarily modified while locking.
263 void StoreUnlockedProperties(); 263 void StoreUnlockedProperties();
264 void RestoreUnlockedProperties(); 264 void RestoreUnlockedProperties();
265 265
266 // Fades in background layer with |speed| if it was hidden in unlocked state. 266 // Fades in background layer with |speed| if it was hidden in unlocked state.
267 void AnimateBackgroundAppearanceIfNecessary( 267 void AnimateBackgroundAppearanceIfNecessary(
268 ash::internal::SessionStateAnimator::AnimationSpeed speed, 268 ash::SessionStateAnimator::AnimationSpeed speed,
269 ui::LayerAnimationObserver* observer); 269 ui::LayerAnimationObserver* observer);
270 270
271 // Fades out background layer with |speed| if it was hidden in unlocked state. 271 // Fades out background layer with |speed| if it was hidden in unlocked state.
272 void AnimateBackgroundHidingIfNecessary( 272 void AnimateBackgroundHidingIfNecessary(
273 ash::internal::SessionStateAnimator::AnimationSpeed speed, 273 ash::SessionStateAnimator::AnimationSpeed speed,
274 ui::LayerAnimationObserver* observer); 274 ui::LayerAnimationObserver* observer);
275 275
276 scoped_ptr<internal::SessionStateAnimator> animator_; 276 scoped_ptr<SessionStateAnimator> animator_;
277 277
278 scoped_ptr<LockStateControllerDelegate> delegate_; 278 scoped_ptr<LockStateControllerDelegate> delegate_;
279 279
280 ObserverList<LockStateObserver> observers_; 280 ObserverList<LockStateObserver> observers_;
281 281
282 // The current login status, or original login status from before we locked. 282 // The current login status, or original login status from before we locked.
283 user::LoginStatus login_status_; 283 user::LoginStatus login_status_;
284 284
285 // Current lock status. 285 // Current lock status.
286 bool system_is_locked_; 286 bool system_is_locked_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 base::Closure lock_screen_displayed_callback_; 321 base::Closure lock_screen_displayed_callback_;
322 322
323 base::WeakPtrFactory<LockStateController> weak_ptr_factory_; 323 base::WeakPtrFactory<LockStateController> weak_ptr_factory_;
324 324
325 DISALLOW_COPY_AND_ASSIGN(LockStateController); 325 DISALLOW_COPY_AND_ASSIGN(LockStateController);
326 }; 326 };
327 327
328 } // namespace ash 328 } // namespace ash
329 329
330 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_ 330 #endif // ASH_WM_LOCK_STATE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/wm/immersive_fullscreen_controller_unittest.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698