Chromium Code Reviews| 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 d5cef1fae1c448b7cc621187bf7ab32de56a5eb9..f0b90e87191c91fb96c0fa7f7ce1a4d8127a508c 100644 |
| --- a/ui/aura/mus/window_tree_client.cc |
| +++ b/ui/aura/mus/window_tree_client.cc |
| @@ -1449,6 +1449,10 @@ void WindowTreeClient::WmCreateTopLevelWindow( |
| window_manager_internal_client_->OnWmCreatedTopLevelWindow( |
| change_id, WindowMus::Get(window)->server_id()); |
| } |
| + auto activatable_iter = |
|
sky
2017/01/23 21:28:29
The WindowManagerDelegate should be responsible fo
Hadi
2017/01/24 18:42:32
Done. Implementation of WindowManagerDelegate::OnW
|
| + properties.find(ui::mojom::WindowManager::kActivatable_InitProperty); |
| + if (activatable_iter != properties.end()) |
| + SetCanFocus(window, mojo::ConvertTo<bool>(activatable_iter->second)); |
| } |
| void WindowTreeClient::WmClientJankinessChanged(ClientSpecificId client_id, |