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

Unified Diff: components/mus/public/cpp/lib/window.cc

Issue 1983343002: Makes mus::Window and mash::wm::WmWindowMus notify existing observers only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | mash/wm/bridge/wm_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window.cc
diff --git a/components/mus/public/cpp/lib/window.cc b/components/mus/public/cpp/lib/window.cc
index 4433fb53ece1a5e0c207868e80980680b2613c3d..c5a3c310253f2b1e06adea6816d04450505a7cde 100644
--- a/components/mus/public/cpp/lib/window.cc
+++ b/components/mus/public/cpp/lib/window.cc
@@ -522,6 +522,8 @@ Window::Window(WindowTreeConnection* connection, Id id)
stacking_target_(nullptr),
transient_parent_(nullptr),
is_modal_(false),
+ // Matches aura, see aura::Window for details.
+ observers_(base::ObserverList<WindowObserver>::NOTIFY_EXISTING_ONLY),
input_event_handler_(nullptr),
viewport_metrics_(CreateEmptyViewportMetrics()),
visible_(false),
« no previous file with comments | « no previous file | mash/wm/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698