OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mash/wm/root_window_controller.h" | 5 #include "mash/wm/root_window_controller.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <sstream> | 10 #include <sstream> |
11 | 11 |
| 12 #include "ash/common/shell_window_ids.h" |
12 #include "ash/common/wm/always_on_top_controller.h" | 13 #include "ash/common/wm/always_on_top_controller.h" |
13 #include "ash/common/wm/dock/docked_window_layout_manager.h" | 14 #include "ash/common/wm/dock/docked_window_layout_manager.h" |
14 #include "ash/common/wm/panels/panel_layout_manager.h" | 15 #include "ash/common/wm/panels/panel_layout_manager.h" |
15 #include "ash/common/wm/wm_shell_window_ids.h" | |
16 #include "ash/common/wm/workspace/workspace_layout_manager.h" | 16 #include "ash/common/wm/workspace/workspace_layout_manager.h" |
17 #include "ash/common/wm/workspace/workspace_layout_manager_delegate.h" | 17 #include "ash/common/wm/workspace/workspace_layout_manager_delegate.h" |
18 #include "base/bind.h" | 18 #include "base/bind.h" |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/memory/ptr_util.h" | 20 #include "base/memory/ptr_util.h" |
21 #include "components/mus/common/event_matcher_util.h" | 21 #include "components/mus/common/event_matcher_util.h" |
22 #include "components/mus/common/switches.h" | 22 #include "components/mus/common/switches.h" |
23 #include "components/mus/common/util.h" | 23 #include "components/mus/common/util.h" |
24 #include "components/mus/public/cpp/property_type_converters.h" | 24 #include "components/mus/public/cpp/property_type_converters.h" |
25 #include "components/mus/public/cpp/window.h" | 25 #include "components/mus/public/cpp/window.h" |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 mus::Window* user_private_always_on_top = | 342 mus::Window* user_private_always_on_top = |
343 GetWindowForContainer(Container::USER_PRIVATE_ALWAYS_ON_TOP_WINDOWS); | 343 GetWindowForContainer(Container::USER_PRIVATE_ALWAYS_ON_TOP_WINDOWS); |
344 WmWindowMus* user_private_always_on_top_wm = | 344 WmWindowMus* user_private_always_on_top_wm = |
345 WmWindowMus::Get(user_private_always_on_top); | 345 WmWindowMus::Get(user_private_always_on_top); |
346 user_private_always_on_top_wm->SetChildrenUseExtendedHitRegion(); | 346 user_private_always_on_top_wm->SetChildrenUseExtendedHitRegion(); |
347 user_private_always_on_top_wm->SetSnapsChildrenToPhysicalPixelBoundary(); | 347 user_private_always_on_top_wm->SetSnapsChildrenToPhysicalPixelBoundary(); |
348 } | 348 } |
349 | 349 |
350 } // namespace wm | 350 } // namespace wm |
351 } // namespace mash | 351 } // namespace mash |
OLD | NEW |