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

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

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
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/ws/default_access_policy.h" 15 #include "components/mus/ws/default_access_policy.h"
16 #include "components/mus/ws/display.h" 16 #include "components/mus/ws/display.h"
17 #include "components/mus/ws/display_manager.h" 17 #include "components/mus/ws/display_manager.h"
18 #include "components/mus/ws/event_matcher.h" 18 #include "components/mus/ws/event_matcher.h"
19 #include "components/mus/ws/focus_controller.h" 19 #include "components/mus/ws/focus_controller.h"
20 #include "components/mus/ws/operation.h" 20 #include "components/mus/ws/operation.h"
21 #include "components/mus/ws/platform_display.h" 21 #include "components/mus/ws/platform_display.h"
22 #include "components/mus/ws/server_window.h" 22 #include "components/mus/ws/server_window.h"
23 #include "components/mus/ws/server_window_observer.h" 23 #include "components/mus/ws/server_window_observer.h"
24 #include "components/mus/ws/user_display_manager.h" 24 #include "components/mus/ws/user_display_manager.h"
25 #include "components/mus/ws/window_manager_state.h" 25 #include "components/mus/ws/window_manager_state.h"
26 #include "components/mus/ws/window_server.h" 26 #include "components/mus/ws/window_server.h"
27 #include "components/mus/ws/window_tree_binding.h" 27 #include "components/mus/ws/window_tree_binding.h"
28 #include "mojo/converters/geometry/geometry_type_converters.h"
29 #include "mojo/converters/ime/ime_type_converters.h" 28 #include "mojo/converters/ime/ime_type_converters.h"
30 #include "mojo/converters/input_events/input_events_type_converters.h" 29 #include "mojo/converters/input_events/input_events_type_converters.h"
31 #include "mojo/converters/surfaces/surfaces_type_converters.h" 30 #include "mojo/converters/surfaces/surfaces_type_converters.h"
31 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
32 #include "ui/platform_window/text_input_state.h" 32 #include "ui/platform_window/text_input_state.h"
33 33
34 using mojo::Array; 34 using mojo::Array;
35 using mojo::Callback; 35 using mojo::Callback;
36 using mojo::InterfaceRequest; 36 using mojo::InterfaceRequest;
37 using mojo::Rect; 37 using mojo::Rect;
38 using mojo::String; 38 using mojo::String;
39 39
40 namespace mus { 40 namespace mus {
41 namespace ws { 41 namespace ws {
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 } 1490 }
1491 1491
1492 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( 1492 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy(
1493 const ServerWindow* window) const { 1493 const ServerWindow* window) const {
1494 WindowTree* tree = window_server_->GetTreeWithRoot(window); 1494 WindowTree* tree = window_server_->GetTreeWithRoot(window);
1495 return tree && tree != this; 1495 return tree && tree != this;
1496 } 1496 }
1497 1497
1498 } // namespace ws 1498 } // namespace ws
1499 } // namespace mus 1499 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698