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

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

Issue 2336653002: Ports SystemModalContainerLayoutManager to ash/common (Closed)
Patch Set: cleanup Created 4 years, 3 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
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 0c1a39f3bb32eaf7a849782f66c3ef12402c65c3..bdc5c84e8cc4967d13c9d836561c5d6dcb341b40 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -353,6 +353,13 @@ int WmWindowMus::GetIntProperty(WmWindowProperty key) {
return 0;
}
+ if (key == WmWindowProperty::MODAL_TYPE) {
+ // TODO: WindowTree::SetModalWindow() needs to route through WindowManager
+ // so wm can position. http://crbug.com/645996.
+ NOTIMPLEMENTED();
+ return static_cast<int>(ui::MODAL_TYPE_NONE);
+ }
+
NOTREACHED();
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698