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

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

Issue 2336653002: Ports SystemModalContainerLayoutManager to ash/common (Closed)
Patch Set: merge again 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
« no previous file with comments | « ash/display/screen_position_controller.cc ('k') | ash/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 f177229b72ba59b922c8cd468d912264432e2c3e..cb0adaf513272770a34edc7089f3d220b611cf79 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -380,6 +380,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;
}
« no previous file with comments | « ash/display/screen_position_controller.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698