OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/mus/ws/window_tree.h" | 5 #include "services/ui/ws/window_tree.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "components/mus/ws/default_access_policy.h" | 15 #include "services/ui/ws/default_access_policy.h" |
16 #include "components/mus/ws/display.h" | 16 #include "services/ui/ws/display.h" |
17 #include "components/mus/ws/display_manager.h" | 17 #include "services/ui/ws/display_manager.h" |
18 #include "components/mus/ws/event_matcher.h" | 18 #include "services/ui/ws/event_matcher.h" |
19 #include "components/mus/ws/focus_controller.h" | 19 #include "services/ui/ws/focus_controller.h" |
20 #include "components/mus/ws/operation.h" | 20 #include "services/ui/ws/operation.h" |
21 #include "components/mus/ws/platform_display.h" | 21 #include "services/ui/ws/platform_display.h" |
22 #include "components/mus/ws/server_window.h" | 22 #include "services/ui/ws/server_window.h" |
23 #include "components/mus/ws/server_window_observer.h" | 23 #include "services/ui/ws/server_window_observer.h" |
24 #include "components/mus/ws/user_display_manager.h" | 24 #include "services/ui/ws/user_display_manager.h" |
25 #include "components/mus/ws/window_manager_display_root.h" | 25 #include "services/ui/ws/window_manager_display_root.h" |
26 #include "components/mus/ws/window_manager_state.h" | 26 #include "services/ui/ws/window_manager_state.h" |
27 #include "components/mus/ws/window_server.h" | 27 #include "services/ui/ws/window_server.h" |
28 #include "components/mus/ws/window_tree_binding.h" | 28 #include "services/ui/ws/window_tree_binding.h" |
29 #include "ui/display/display.h" | 29 #include "ui/display/display.h" |
30 #include "ui/platform_window/mojo/ime_type_converters.h" | 30 #include "ui/platform_window/mojo/ime_type_converters.h" |
31 #include "ui/platform_window/text_input_state.h" | 31 #include "ui/platform_window/text_input_state.h" |
32 | 32 |
33 using mojo::Array; | 33 using mojo::Array; |
34 using mojo::InterfaceRequest; | 34 using mojo::InterfaceRequest; |
35 using mojo::String; | 35 using mojo::String; |
36 | 36 |
37 namespace mus { | 37 namespace mus { |
38 namespace ws { | 38 namespace ws { |
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 } | 1530 } |
1531 | 1531 |
1532 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( | 1532 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( |
1533 const ServerWindow* window) const { | 1533 const ServerWindow* window) const { |
1534 WindowTree* tree = window_server_->GetTreeWithRoot(window); | 1534 WindowTree* tree = window_server_->GetTreeWithRoot(window); |
1535 return tree && tree != this; | 1535 return tree && tree != this; |
1536 } | 1536 } |
1537 | 1537 |
1538 } // namespace ws | 1538 } // namespace ws |
1539 } // namespace mus | 1539 } // namespace mus |
OLD | NEW |