| Index: ash/mus/window_manager.cc
|
| diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
|
| index 8d7f21ed199732b9a745f33942fefce63c5022a2..8ef14a1046f117d1c972bf0704c521d36de9cd84 100644
|
| --- a/ash/mus/window_manager.cc
|
| +++ b/ash/mus/window_manager.cc
|
| @@ -321,6 +321,13 @@ bool WindowManager::OnWmSetProperty(
|
| name == ui::mojom::WindowManager::kWindowTitle_Property;
|
| }
|
|
|
| +void WindowManager::OnWmSetCanFocus(aura::Window* window, bool can_focus) {
|
| + NonClientFrameController* non_client_frame_controller =
|
| + NonClientFrameController::Get(window);
|
| + if (non_client_frame_controller)
|
| + non_client_frame_controller->set_can_activate(can_focus);
|
| +}
|
| +
|
| aura::Window* WindowManager::OnWmCreateTopLevelWindow(
|
| ui::mojom::WindowType window_type,
|
| std::map<std::string, std::vector<uint8_t>>* properties) {
|
|
|