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

Side by Side Diff: ash/shell.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 void RotateFocus(Direction direction); 279 void RotateFocus(Direction direction);
280 280
281 // Sets the work area insets of the display that contains |window|, 281 // Sets the work area insets of the display that contains |window|,
282 // this notifies observers too. 282 // this notifies observers too.
283 // TODO(sky): this no longer really replicates what happens and is unreliable. 283 // TODO(sky): this no longer really replicates what happens and is unreliable.
284 // Remove this. 284 // Remove this.
285 void SetDisplayWorkAreaInsets(aura::Window* window, 285 void SetDisplayWorkAreaInsets(aura::Window* window,
286 const gfx::Insets& insets); 286 const gfx::Insets& insets);
287 287
288 // Called when the user logs in. 288 // Called when the user logs in.
289 void OnLoginStateChanged(user::LoginStatus status); 289 void OnLoginStateChanged(LoginStatus status);
290 290
291 // Called after the logged-in user's profile is ready. 291 // Called after the logged-in user's profile is ready.
292 void OnLoginUserProfilePrepared(); 292 void OnLoginUserProfilePrepared();
293 293
294 // Called when the login status changes. 294 // Called when the login status changes.
295 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. 295 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
296 void UpdateAfterLoginStatusChange(user::LoginStatus status); 296 void UpdateAfterLoginStatusChange(LoginStatus status);
297 297
298 // Called when the application is exiting. 298 // Called when the application is exiting.
299 void OnAppTerminating(); 299 void OnAppTerminating();
300 300
301 // Called when the screen is locked (after the lock window is visible) or 301 // Called when the screen is locked (after the lock window is visible) or
302 // unlocked. 302 // unlocked.
303 void OnLockStateChanged(bool locked); 303 void OnLockStateChanged(bool locked);
304 304
305 // Called when a casting session is started or stopped. 305 // Called when a casting session is started or stopped.
306 void OnCastingSessionStartedOrStopped(bool started); 306 void OnCastingSessionStartedOrStopped(bool started);
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 bool in_mus_ = false; 805 bool in_mus_ = false;
806 806
807 std::unique_ptr<KeyboardUI> keyboard_ui_; 807 std::unique_ptr<KeyboardUI> keyboard_ui_;
808 808
809 DISALLOW_COPY_AND_ASSIGN(Shell); 809 DISALLOW_COPY_AND_ASSIGN(Shell);
810 }; 810 };
811 811
812 } // namespace ash 812 } // namespace ash
813 813
814 #endif // ASH_SHELL_H_ 814 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698