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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2759643003: Add system modals to the proper container in mus+ash. (Closed)
Patch Set: Remove extra code. Created 3 years, 9 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: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 8662c5251762c809f6467e5e62c290c618db957d..61799496e4a0b75774a3f85a57d5b2320ac623bb 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -1399,7 +1399,7 @@ void WindowTreeClient::WmSetProperty(
void WindowTreeClient::WmSetModalType(Id window_id, ui::ModalType type) {
WindowMus* window = GetWindowByServerId(window_id);
if (window)
- window->GetWindow()->SetProperty(aura::client::kModalKey, type);
+ window_manager_delegate_->OnWmSetModalType(window->GetWindow(), type);
}
void WindowTreeClient::WmSetCanFocus(Id window_id, bool can_focus) {

Powered by Google App Engine
This is Rietveld 408576698