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

Side by Side Diff: ash/shell_observer.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_OBSERVER_H_ 5 #ifndef ASH_SHELL_OBSERVER_H_
6 #define ASH_SHELL_OBSERVER_H_ 6 #define ASH_SHELL_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/user/login_status.h" 9 #include "ash/common/login_status.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } 13 }
14 14
15 namespace ash { 15 namespace ash {
16 16
17 class ASH_EXPORT ShellObserver { 17 class ASH_EXPORT ShellObserver {
18 public: 18 public:
19 // Invoked after the screen's work area insets changes. 19 // Invoked after the screen's work area insets changes.
20 virtual void OnDisplayWorkAreaInsetsChanged() {} 20 virtual void OnDisplayWorkAreaInsetsChanged() {}
21 21
22 // Invoked when the user logs in. 22 // Invoked when the user logs in.
23 virtual void OnLoginStateChanged(user::LoginStatus status) {} 23 virtual void OnLoginStateChanged(LoginStatus status) {}
24 24
25 // Invoked when the application is exiting. 25 // Invoked when the application is exiting.
26 virtual void OnAppTerminating() {} 26 virtual void OnAppTerminating() {}
27 27
28 // Invoked when the screen is locked (after the lock window is visible) or 28 // Invoked when the screen is locked (after the lock window is visible) or
29 // unlocked. 29 // unlocked.
30 virtual void OnLockStateChanged(bool locked) {} 30 virtual void OnLockStateChanged(bool locked) {}
31 31
32 // Called when a casting session is started or stopped. 32 // Called when a casting session is started or stopped.
33 virtual void OnCastingSessionStartedOrStopped(bool started) {} 33 virtual void OnCastingSessionStartedOrStopped(bool started) {}
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Called at the end of Shell::Init. 69 // Called at the end of Shell::Init.
70 virtual void OnShellInitialized() {} 70 virtual void OnShellInitialized() {}
71 71
72 protected: 72 protected:
73 virtual ~ShellObserver() {} 73 virtual ~ShellObserver() {}
74 }; 74 };
75 75
76 } // namespace ash 76 } // namespace ash
77 77
78 #endif // ASH_SHELL_OBSERVER_H_ 78 #endif // ASH_SHELL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698