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

Unified Diff: ash/wm/common/wm_globals.h

Issue 1918883002: Makes Panel related classes use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phantom_window_controller
Patch Set: feedback Created 4 years, 8 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/wm/common/wm_display_observer.h ('k') | ash/wm/common/wm_overview_mode_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_globals.h
diff --git a/ash/wm/common/wm_globals.h b/ash/wm/common/wm_globals.h
index eded8d75cc9ffe6c331798ad92664fba8ce0d3ce..3b4a558e5e6e5a3002c354ed6abb6b45e691b83b 100644
--- a/ash/wm/common/wm_globals.h
+++ b/ash/wm/common/wm_globals.h
@@ -22,6 +22,8 @@ class UserMetricsRecorder;
namespace wm {
class WmActivationObserver;
+class WmDisplayObserver;
+class WmOverviewModeObserver;
class WmWindow;
// Used for accessing global state.
@@ -62,6 +64,12 @@ class ASH_EXPORT WmGlobals {
virtual void AddActivationObserver(WmActivationObserver* observer) = 0;
virtual void RemoveActivationObserver(WmActivationObserver* observer) = 0;
+
+ virtual void AddDisplayObserver(WmDisplayObserver* observer) = 0;
+ virtual void RemoveDisplayObserver(WmDisplayObserver* observer) = 0;
+
+ virtual void AddOverviewModeObserver(WmOverviewModeObserver* observer) = 0;
+ virtual void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) = 0;
};
} // namespace wm
« no previous file with comments | « ash/wm/common/wm_display_observer.h ('k') | ash/wm/common/wm_overview_mode_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698