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

Side by Side Diff: ash/shell_observer.h

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Removed header include in shell.h that was causing gn check failure. Created 3 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/shell.cc ('k') | ui/app_list/app_list_constants.h » ('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_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/login_status.h" 9 #include "ash/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 // Called when the AppList is shown or dismissed.
20 virtual void OnAppListVisibilityChanged(bool shown,
21 aura::Window* root_window) {}
22
19 // Called when a casting session is started or stopped. 23 // Called when a casting session is started or stopped.
20 virtual void OnCastingSessionStartedOrStopped(bool started) {} 24 virtual void OnCastingSessionStartedOrStopped(bool started) {}
21 25
22 // Invoked after a non-primary root window is created. 26 // Invoked after a non-primary root window is created.
23 virtual void OnRootWindowAdded(aura::Window* root_window) {} 27 virtual void OnRootWindowAdded(aura::Window* root_window) {}
24 28
25 // Invoked after the shelf has been created for |root_window|. 29 // Invoked after the shelf has been created for |root_window|.
26 virtual void OnShelfCreatedForRootWindow(aura::Window* root_window) {} 30 virtual void OnShelfCreatedForRootWindow(aura::Window* root_window) {}
27 31
28 // Invoked when the shelf alignment in |root_window| is changed. 32 // Invoked when the shelf alignment in |root_window| is changed.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Called early on in ~Shell. 76 // Called early on in ~Shell.
73 virtual void OnShellDestroying() {} 77 virtual void OnShellDestroying() {}
74 78
75 protected: 79 protected:
76 virtual ~ShellObserver() {} 80 virtual ~ShellObserver() {}
77 }; 81 };
78 82
79 } // namespace ash 83 } // namespace ash
80 84
81 #endif // ASH_SHELL_OBSERVER_H_ 85 #endif // ASH_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ui/app_list/app_list_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698