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

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

Issue 1911833002: Converts DockedWindowLayoutManager to use WmRootWindowControllerObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk 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/aura/wm_window_aura.cc ('k') | ash/wm/common/wm_root_window_controller_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_root_window_controller.h
diff --git a/ash/wm/common/wm_root_window_controller.h b/ash/wm/common/wm_root_window_controller.h
index ec0ba56869f28e38b5df30f76082af7680d751ee..d8a1018e4b201af2a3158da82f9c4965f18aeb2e 100644
--- a/ash/wm/common/wm_root_window_controller.h
+++ b/ash/wm/common/wm_root_window_controller.h
@@ -15,6 +15,7 @@ namespace ash {
namespace wm {
class WmGlobals;
+class WmRootWindowControllerObserver;
class WmWindow;
// Provides state associated with a root of a window hierarchy.
@@ -39,6 +40,9 @@ class ASH_EXPORT WmRootWindowController {
views::Widget* widget,
int shell_container_id,
views::Widget::InitParams* init_params) = 0;
+
+ virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0;
+ virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0;
};
} // namespace wm
« no previous file with comments | « ash/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/wm_root_window_controller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698