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> |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "mash/wm/fill_layout.h" | 36 #include "mash/wm/fill_layout.h" |
37 #include "mash/wm/screenlock_layout.h" | 37 #include "mash/wm/screenlock_layout.h" |
38 #include "mash/wm/shadow_controller.h" | 38 #include "mash/wm/shadow_controller.h" |
39 #include "mash/wm/shelf_layout_manager.h" | 39 #include "mash/wm/shelf_layout_manager.h" |
40 #include "mash/wm/status_layout_manager.h" | 40 #include "mash/wm/status_layout_manager.h" |
41 #include "mash/wm/window_manager.h" | 41 #include "mash/wm/window_manager.h" |
42 #include "mash/wm/window_manager_application.h" | 42 #include "mash/wm/window_manager_application.h" |
43 #include "mojo/public/cpp/bindings/type_converter.h" | 43 #include "mojo/public/cpp/bindings/type_converter.h" |
44 #include "services/shell/public/cpp/connector.h" | 44 #include "services/shell/public/cpp/connector.h" |
45 #include "ui/display/mojo/display_type_converters.h" | 45 #include "ui/display/mojo/display_type_converters.h" |
46 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" | |
47 | 46 |
48 namespace mash { | 47 namespace mash { |
49 namespace wm { | 48 namespace wm { |
50 namespace { | 49 namespace { |
51 | 50 |
52 const uint32_t kWindowSwitchAccelerator = 1; | 51 const uint32_t kWindowSwitchAccelerator = 1; |
53 | 52 |
54 void AssertTrue(bool success) { | 53 void AssertTrue(bool success) { |
55 DCHECK(success); | 54 DCHECK(success); |
56 } | 55 } |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 mus::Window* user_private_panels = | 338 mus::Window* user_private_panels = |
340 GetWindowForContainer(mojom::Container::USER_PRIVATE_PANELS); | 339 GetWindowForContainer(mojom::Container::USER_PRIVATE_PANELS); |
341 WmWindowMus* user_private_panels_wm = WmWindowMus::Get(user_private_panels); | 340 WmWindowMus* user_private_panels_wm = WmWindowMus::Get(user_private_panels); |
342 layout_managers_.erase(user_private_panels); | 341 layout_managers_.erase(user_private_panels); |
343 user_private_panels_wm->SetLayoutManager( | 342 user_private_panels_wm->SetLayoutManager( |
344 base::WrapUnique(new ash::PanelLayoutManager(user_private_panels_wm))); | 343 base::WrapUnique(new ash::PanelLayoutManager(user_private_panels_wm))); |
345 } | 344 } |
346 | 345 |
347 } // namespace wm | 346 } // namespace wm |
348 } // namespace mash | 347 } // namespace mash |
OLD | NEW |