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

Unified Diff: ash/shell_observer.h

Issue 2041423003: Converts ShellObserver from aura::Window to ash::WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/panels/attached_panel_window_targeter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_observer.h
diff --git a/ash/shell_observer.h b/ash/shell_observer.h
index e4d23a19512e71cb8201e55aa76eb09615cf409c..7356e3e9fa6ff32a8ed5b6e52d90a0fa9c3e37c6 100644
--- a/ash/shell_observer.h
+++ b/ash/shell_observer.h
@@ -8,12 +8,10 @@
#include "ash/ash_export.h"
#include "ash/system/user/login_status.h"
-namespace aura {
-class Window;
-}
-
namespace ash {
+class WmWindow;
+
class ASH_EXPORT ShellObserver {
public:
// Invoked after the screen's work area insets changes.
@@ -33,23 +31,23 @@ class ASH_EXPORT ShellObserver {
virtual void OnCastingSessionStartedOrStopped(bool started) {}
// Invoked after a non-primary root window is created.
- virtual void OnRootWindowAdded(aura::Window* root_window) {}
+ virtual void OnRootWindowAdded(WmWindow* root_window) {}
// Invoked after the shelf has been created for |root_window|.
- virtual void OnShelfCreatedForRootWindow(aura::Window* root_window) {}
+ virtual void OnShelfCreatedForRootWindow(WmWindow* root_window) {}
// Invoked when the shelf alignment in |root_window| is changed.
- virtual void OnShelfAlignmentChanged(aura::Window* root_window) {}
+ virtual void OnShelfAlignmentChanged(WmWindow* root_window) {}
// Invoked when the shelf auto-hide behavior in |root_window| is changed.
- virtual void OnShelfAutoHideBehaviorChanged(aura::Window* root_window) {}
+ virtual void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {}
// Invoked when the projection touch HUD is toggled.
virtual void OnTouchHudProjectionToggled(bool enabled) {}
// Invoked when entering or exiting fullscreen mode in |root_window|.
virtual void OnFullscreenStateChanged(bool is_fullscreen,
- aura::Window* root_window) {}
+ WmWindow* root_window) {}
// Called when the overview mode is about to be started (before the windows
// get re-arranged).
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/panels/attached_panel_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698