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 "base/bind.h" | 9 #include "base/bind.h" |
10 #include "components/mus/common/util.h" | 10 #include "components/mus/common/util.h" |
11 #include "components/mus/public/cpp/event_matcher.h" | 11 #include "components/mus/public/cpp/event_matcher.h" |
12 #include "components/mus/public/cpp/window.h" | 12 #include "components/mus/public/cpp/window.h" |
13 #include "components/mus/public/cpp/window_tree_connection.h" | 13 #include "components/mus/public/cpp/window_tree_connection.h" |
14 #include "components/mus/public/cpp/window_tree_host_factory.h" | 14 #include "components/mus/public/cpp/window_tree_host_factory.h" |
15 #include "mash/session/public/interfaces/session.mojom.h" | 15 #include "mash/session/public/interfaces/session.mojom.h" |
16 #include "mash/wm/background_layout.h" | 16 #include "mash/wm/background_layout.h" |
17 #include "mash/wm/fill_layout.h" | 17 #include "mash/wm/fill_layout.h" |
18 #include "mash/wm/screenlock_layout.h" | 18 #include "mash/wm/screenlock_layout.h" |
19 #include "mash/wm/shadow_controller.h" | 19 #include "mash/wm/shadow_controller.h" |
20 #include "mash/wm/shelf_layout.h" | 20 #include "mash/wm/shelf_layout.h" |
21 #include "mash/wm/window_layout.h" | 21 #include "mash/wm/window_layout.h" |
22 #include "mash/wm/window_manager.h" | 22 #include "mash/wm/window_manager.h" |
23 #include "mash/wm/window_manager_application.h" | 23 #include "mash/wm/window_manager_application.h" |
24 #include "mojo/shell/public/cpp/connector.h" | 24 #include "services/shell/public/cpp/connector.h" |
25 | 25 |
26 namespace mash { | 26 namespace mash { |
27 namespace wm { | 27 namespace wm { |
28 namespace { | 28 namespace { |
29 | 29 |
30 const uint32_t kWindowSwitchAccelerator = 1; | 30 const uint32_t kWindowSwitchAccelerator = 1; |
31 | 31 |
32 void AssertTrue(bool success) { | 32 void AssertTrue(bool success) { |
33 DCHECK(success); | 33 DCHECK(success); |
34 } | 34 } |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 CreateContainer(mojom::Container::BUBBLES, mojom::Container::ROOT); | 201 CreateContainer(mojom::Container::BUBBLES, mojom::Container::ROOT); |
202 CreateContainer(mojom::Container::SYSTEM_MODAL_WINDOWS, | 202 CreateContainer(mojom::Container::SYSTEM_MODAL_WINDOWS, |
203 mojom::Container::ROOT); | 203 mojom::Container::ROOT); |
204 CreateContainer(mojom::Container::KEYBOARD, mojom::Container::ROOT); | 204 CreateContainer(mojom::Container::KEYBOARD, mojom::Container::ROOT); |
205 CreateContainer(mojom::Container::MENUS, mojom::Container::ROOT); | 205 CreateContainer(mojom::Container::MENUS, mojom::Container::ROOT); |
206 CreateContainer(mojom::Container::TOOLTIPS, mojom::Container::ROOT); | 206 CreateContainer(mojom::Container::TOOLTIPS, mojom::Container::ROOT); |
207 } | 207 } |
208 | 208 |
209 } // namespace wm | 209 } // namespace wm |
210 } // namespace mash | 210 } // namespace mash |
OLD | NEW |