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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2103913003: Converts MaximizeModeWindowManager to use ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maximize_mode_event_handler
Patch Set: fix chrome 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/mus/bridge/wm_window_mus.h ('k') | ash/mus/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index 844a83a56043ea997d30ef08d2f0f3e0a4a9c7b6..e723ad35dd963e35cd813e45714e049059ea4542 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -715,6 +715,10 @@ void WmWindowMus::RemoveObserver(WmWindowObserver* observer) {
observers_.RemoveObserver(observer);
}
+bool WmWindowMus::HasObserver(const WmWindowObserver* observer) const {
+ return observers_.HasObserver(observer);
+}
+
void WmWindowMus::OnTreeChanging(const TreeChangeParams& params) {
WmWindowObserver::TreeChangeParams wm_params;
wm_params.target = Get(params.target);
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698