Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: components/mus/ws/window_tree.cc

Issue 2016583002: mojo/converters/ime,display -> ui/platform_window,display/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters_surfaces
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/ws/BUILD.gn ('k') | mash/wm/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "components/mus/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/public/cpp/surfaces/surfaces_type_converters.h" 15 #include "components/mus/public/cpp/surfaces/surfaces_type_converters.h"
16 #include "components/mus/ws/default_access_policy.h" 16 #include "components/mus/ws/default_access_policy.h"
17 #include "components/mus/ws/display.h" 17 #include "components/mus/ws/display.h"
18 #include "components/mus/ws/display_manager.h" 18 #include "components/mus/ws/display_manager.h"
19 #include "components/mus/ws/event_matcher.h" 19 #include "components/mus/ws/event_matcher.h"
20 #include "components/mus/ws/focus_controller.h" 20 #include "components/mus/ws/focus_controller.h"
21 #include "components/mus/ws/operation.h" 21 #include "components/mus/ws/operation.h"
22 #include "components/mus/ws/platform_display.h" 22 #include "components/mus/ws/platform_display.h"
23 #include "components/mus/ws/server_window.h" 23 #include "components/mus/ws/server_window.h"
24 #include "components/mus/ws/server_window_observer.h" 24 #include "components/mus/ws/server_window_observer.h"
25 #include "components/mus/ws/user_display_manager.h" 25 #include "components/mus/ws/user_display_manager.h"
26 #include "components/mus/ws/window_manager_state.h" 26 #include "components/mus/ws/window_manager_state.h"
27 #include "components/mus/ws/window_server.h" 27 #include "components/mus/ws/window_server.h"
28 #include "components/mus/ws/window_tree_binding.h" 28 #include "components/mus/ws/window_tree_binding.h"
29 #include "mojo/converters/ime/ime_type_converters.h"
30 #include "ui/display/display.h" 29 #include "ui/display/display.h"
31 #include "ui/events/mojo/input_events_type_converters.h" 30 #include "ui/events/mojo/input_events_type_converters.h"
32 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" 31 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
32 #include "ui/platform_window/mojo/ime_type_converters.h"
33 #include "ui/platform_window/text_input_state.h" 33 #include "ui/platform_window/text_input_state.h"
34 34
35 using mojo::Array; 35 using mojo::Array;
36 using mojo::Callback; 36 using mojo::Callback;
37 using mojo::InterfaceRequest; 37 using mojo::InterfaceRequest;
38 using mojo::Rect; 38 using mojo::Rect;
39 using mojo::String; 39 using mojo::String;
40 40
41 namespace mus { 41 namespace mus {
42 namespace ws { 42 namespace ws {
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 } 1506 }
1507 1507
1508 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( 1508 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy(
1509 const ServerWindow* window) const { 1509 const ServerWindow* window) const {
1510 WindowTree* tree = window_server_->GetTreeWithRoot(window); 1510 WindowTree* tree = window_server_->GetTreeWithRoot(window);
1511 return tree && tree != this; 1511 return tree && tree != this;
1512 } 1512 }
1513 1513
1514 } // namespace ws 1514 } // namespace ws
1515 } // namespace mus 1515 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/BUILD.gn ('k') | mash/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698