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

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: fix test 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
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/shell.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 (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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 void RotateFocus(Direction direction); 280 void RotateFocus(Direction direction);
281 281
282 // Sets the work area insets of the display that contains |window|, 282 // Sets the work area insets of the display that contains |window|,
283 // this notifies observers too. 283 // this notifies observers too.
284 // TODO(sky): this no longer really replicates what happens and is unreliable. 284 // TODO(sky): this no longer really replicates what happens and is unreliable.
285 // Remove this. 285 // Remove this.
286 void SetDisplayWorkAreaInsets(aura::Window* window, 286 void SetDisplayWorkAreaInsets(aura::Window* window,
287 const gfx::Insets& insets); 287 const gfx::Insets& insets);
288 288
289 // Called when the user logs in. 289 // Called when the user logs in.
290 void OnLoginStateChanged(user::LoginStatus status); 290 void OnLoginStateChanged(LoginStatus status);
291 291
292 // Called after the logged-in user's profile is ready. 292 // Called after the logged-in user's profile is ready.
293 void OnLoginUserProfilePrepared(); 293 void OnLoginUserProfilePrepared();
294 294
295 // Called when the login status changes. 295 // Called when the login status changes.
296 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. 296 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
297 void UpdateAfterLoginStatusChange(user::LoginStatus status); 297 void UpdateAfterLoginStatusChange(LoginStatus status);
298 298
299 // Called when the application is exiting. 299 // Called when the application is exiting.
300 void OnAppTerminating(); 300 void OnAppTerminating();
301 301
302 // Called when the screen is locked (after the lock window is visible) or 302 // Called when the screen is locked (after the lock window is visible) or
303 // unlocked. 303 // unlocked.
304 void OnLockStateChanged(bool locked); 304 void OnLockStateChanged(bool locked);
305 305
306 // Called when a casting session is started or stopped. 306 // Called when a casting session is started or stopped.
307 void OnCastingSessionStartedOrStopped(bool started); 307 void OnCastingSessionStartedOrStopped(bool started);
(...skipping 497 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
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698