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

Side by Side Diff: ash/common/shell_observer.h

Issue 2185773002: Refactor: remove SetDisplayWorkAreaInsets calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor: remove SetDisplayWorkAreaInsets calls. Created 4 years, 4 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_COMMON_SHELL_OBSERVER_H_ 5 #ifndef ASH_COMMON_SHELL_OBSERVER_H_
6 #define ASH_COMMON_SHELL_OBSERVER_H_ 6 #define ASH_COMMON_SHELL_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/login_status.h" 9 #include "ash/common/login_status.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 class WmWindow; 13 class WmWindow;
14 14
15 class ASH_EXPORT ShellObserver { 15 class ASH_EXPORT ShellObserver {
16 public: 16 public:
17 // Invoked after the screen's work area insets changes.
18 virtual void OnDisplayWorkAreaInsetsChanged() {}
19
20 // Invoked when the user logs in. 17 // Invoked when the user logs in.
21 virtual void OnLoginStateChanged(LoginStatus status) {} 18 virtual void OnLoginStateChanged(LoginStatus status) {}
22 19
23 // Invoked when the application is exiting. 20 // Invoked when the application is exiting.
24 virtual void OnAppTerminating() {} 21 virtual void OnAppTerminating() {}
25 22
26 // Invoked when the screen is locked (after the lock window is visible) or 23 // Invoked when the screen is locked (after the lock window is visible) or
27 // unlocked. 24 // unlocked.
28 virtual void OnLockStateChanged(bool locked) {} 25 virtual void OnLockStateChanged(bool locked) {}
29 26
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Called at the end of Shell::Init. 70 // Called at the end of Shell::Init.
74 virtual void OnShellInitialized() {} 71 virtual void OnShellInitialized() {}
75 72
76 protected: 73 protected:
77 virtual ~ShellObserver() {} 74 virtual ~ShellObserver() {}
78 }; 75 };
79 76
80 } // namespace ash 77 } // namespace ash
81 78
82 #endif // ASH_COMMON_SHELL_OBSERVER_H_ 79 #endif // ASH_COMMON_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/common/system/web_notification/ash_popup_alignment_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698