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 "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "components/mus/ws/display.h" | 9 #include "components/mus/ws/display.h" |
10 #include "components/mus/ws/display_binding.h" | 10 #include "components/mus/ws/display_binding.h" |
11 #include "components/mus/ws/display_manager.h" | 11 #include "components/mus/ws/display_manager.h" |
12 #include "components/mus/ws/operation.h" | 12 #include "components/mus/ws/operation.h" |
13 #include "components/mus/ws/server_window.h" | 13 #include "components/mus/ws/server_window.h" |
14 #include "components/mus/ws/window_coordinate_conversions.h" | 14 #include "components/mus/ws/window_coordinate_conversions.h" |
15 #include "components/mus/ws/window_manager_access_policy.h" | 15 #include "components/mus/ws/window_manager_access_policy.h" |
16 #include "components/mus/ws/window_manager_factory_service.h" | 16 #include "components/mus/ws/window_manager_factory_service.h" |
17 #include "components/mus/ws/window_manager_state.h" | 17 #include "components/mus/ws/window_manager_state.h" |
18 #include "components/mus/ws/window_server_delegate.h" | 18 #include "components/mus/ws/window_server_delegate.h" |
19 #include "components/mus/ws/window_tree.h" | 19 #include "components/mus/ws/window_tree.h" |
20 #include "components/mus/ws/window_tree_binding.h" | 20 #include "components/mus/ws/window_tree_binding.h" |
21 #include "mojo/converters/geometry/geometry_type_converters.h" | 21 #include "mojo/converters/geometry/geometry_type_converters.h" |
22 #include "mojo/converters/input_events/input_events_type_converters.h" | 22 #include "mojo/converters/input_events/input_events_type_converters.h" |
23 #include "mojo/converters/surfaces/surfaces_type_converters.h" | 23 #include "mojo/converters/surfaces/surfaces_type_converters.h" |
24 #include "mojo/shell/public/cpp/connection.h" | 24 #include "services/shell/public/cpp/connection.h" |
25 #include "ui/gfx/geometry/size_conversions.h" | 25 #include "ui/gfx/geometry/size_conversions.h" |
26 | 26 |
27 namespace mus { | 27 namespace mus { |
28 namespace ws { | 28 namespace ws { |
29 | 29 |
30 WindowServer::WindowServer( | 30 WindowServer::WindowServer( |
31 WindowServerDelegate* delegate, | 31 WindowServerDelegate* delegate, |
32 const scoped_refptr<mus::SurfacesState>& surfaces_state) | 32 const scoped_refptr<mus::SurfacesState>& surfaces_state) |
33 : delegate_(delegate), | 33 : delegate_(delegate), |
34 surfaces_state_(surfaces_state), | 34 surfaces_state_(surfaces_state), |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 void WindowServer::OnFirstDisplayReady() { | 646 void WindowServer::OnFirstDisplayReady() { |
647 delegate_->OnFirstDisplayReady(); | 647 delegate_->OnFirstDisplayReady(); |
648 } | 648 } |
649 | 649 |
650 void WindowServer::OnNoMoreDisplays() { | 650 void WindowServer::OnNoMoreDisplays() { |
651 delegate_->OnNoMoreDisplays(); | 651 delegate_->OnNoMoreDisplays(); |
652 } | 652 } |
653 | 653 |
654 } // namespace ws | 654 } // namespace ws |
655 } // namespace mus | 655 } // namespace mus |
OLD | NEW |