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_server.h" | 5 #include "components/mus/ws/window_server.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "components/mus/ws/display.h" | 13 #include "components/mus/ws/display.h" |
14 #include "components/mus/ws/display_binding.h" | 14 #include "components/mus/ws/display_binding.h" |
15 #include "components/mus/ws/display_manager.h" | 15 #include "components/mus/ws/display_manager.h" |
16 #include "components/mus/ws/operation.h" | 16 #include "components/mus/ws/operation.h" |
17 #include "components/mus/ws/server_window.h" | 17 #include "components/mus/ws/server_window.h" |
18 #include "components/mus/ws/window_coordinate_conversions.h" | 18 #include "components/mus/ws/window_coordinate_conversions.h" |
19 #include "components/mus/ws/window_manager_access_policy.h" | 19 #include "components/mus/ws/window_manager_access_policy.h" |
20 #include "components/mus/ws/window_manager_factory_service.h" | 20 #include "components/mus/ws/window_manager_factory_service.h" |
21 #include "components/mus/ws/window_manager_state.h" | 21 #include "components/mus/ws/window_manager_state.h" |
22 #include "components/mus/ws/window_server_delegate.h" | 22 #include "components/mus/ws/window_server_delegate.h" |
23 #include "components/mus/ws/window_tree.h" | 23 #include "components/mus/ws/window_tree.h" |
24 #include "components/mus/ws/window_tree_binding.h" | 24 #include "components/mus/ws/window_tree_binding.h" |
25 #include "mojo/converters/input_events/input_events_type_converters.h" | |
26 #include "mojo/converters/surfaces/surfaces_type_converters.h" | 25 #include "mojo/converters/surfaces/surfaces_type_converters.h" |
27 #include "services/shell/public/cpp/connection.h" | 26 #include "services/shell/public/cpp/connection.h" |
| 27 #include "ui/events/mojo/input_events_type_converters.h" |
28 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" | 28 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" |
29 #include "ui/gfx/geometry/size_conversions.h" | 29 #include "ui/gfx/geometry/size_conversions.h" |
30 | 30 |
31 namespace mus { | 31 namespace mus { |
32 namespace ws { | 32 namespace ws { |
33 | 33 |
34 WindowServer::WindowServer( | 34 WindowServer::WindowServer( |
35 WindowServerDelegate* delegate, | 35 WindowServerDelegate* delegate, |
36 const scoped_refptr<mus::SurfacesState>& surfaces_state) | 36 const scoped_refptr<mus::SurfacesState>& surfaces_state) |
37 : delegate_(delegate), | 37 : delegate_(delegate), |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 void WindowServer::OnFirstDisplayReady() { | 708 void WindowServer::OnFirstDisplayReady() { |
709 delegate_->OnFirstDisplayReady(); | 709 delegate_->OnFirstDisplayReady(); |
710 } | 710 } |
711 | 711 |
712 void WindowServer::OnNoMoreDisplays() { | 712 void WindowServer::OnNoMoreDisplays() { |
713 delegate_->OnNoMoreDisplays(); | 713 delegate_->OnNoMoreDisplays(); |
714 } | 714 } |
715 | 715 |
716 } // namespace ws | 716 } // namespace ws |
717 } // namespace mus | 717 } // namespace mus |
OLD | NEW |