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/public/cpp/surfaces/surfaces_type_converters.h" | 13 #include "components/mus/public/cpp/surfaces/surfaces_type_converters.h" |
14 #include "components/mus/ws/display.h" | 14 #include "components/mus/ws/display.h" |
15 #include "components/mus/ws/display_binding.h" | 15 #include "components/mus/ws/display_binding.h" |
16 #include "components/mus/ws/display_manager.h" | 16 #include "components/mus/ws/display_manager.h" |
17 #include "components/mus/ws/operation.h" | 17 #include "components/mus/ws/operation.h" |
18 #include "components/mus/ws/server_window.h" | 18 #include "components/mus/ws/server_window.h" |
19 #include "components/mus/ws/window_coordinate_conversions.h" | 19 #include "components/mus/ws/window_coordinate_conversions.h" |
20 #include "components/mus/ws/window_manager_access_policy.h" | 20 #include "components/mus/ws/window_manager_access_policy.h" |
21 #include "components/mus/ws/window_manager_factory_service.h" | 21 #include "components/mus/ws/window_manager_factory_service.h" |
22 #include "components/mus/ws/window_manager_state.h" | 22 #include "components/mus/ws/window_manager_state.h" |
23 #include "components/mus/ws/window_server_delegate.h" | 23 #include "components/mus/ws/window_server_delegate.h" |
24 #include "components/mus/ws/window_tree.h" | 24 #include "components/mus/ws/window_tree.h" |
25 #include "components/mus/ws/window_tree_binding.h" | 25 #include "components/mus/ws/window_tree_binding.h" |
26 #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" | 27 #include "ui/events/mojo/input_events_type_converters.h" |
28 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" | |
29 #include "ui/gfx/geometry/size_conversions.h" | 28 #include "ui/gfx/geometry/size_conversions.h" |
30 | 29 |
31 namespace mus { | 30 namespace mus { |
32 namespace ws { | 31 namespace ws { |
33 | 32 |
34 WindowServer::WindowServer( | 33 WindowServer::WindowServer( |
35 WindowServerDelegate* delegate, | 34 WindowServerDelegate* delegate, |
36 const scoped_refptr<mus::SurfacesState>& surfaces_state) | 35 const scoped_refptr<mus::SurfacesState>& surfaces_state) |
37 : delegate_(delegate), | 36 : delegate_(delegate), |
38 surfaces_state_(surfaces_state), | 37 surfaces_state_(surfaces_state), |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 void WindowServer::OnFirstDisplayReady() { | 681 void WindowServer::OnFirstDisplayReady() { |
683 delegate_->OnFirstDisplayReady(); | 682 delegate_->OnFirstDisplayReady(); |
684 } | 683 } |
685 | 684 |
686 void WindowServer::OnNoMoreDisplays() { | 685 void WindowServer::OnNoMoreDisplays() { |
687 delegate_->OnNoMoreDisplays(); | 686 delegate_->OnNoMoreDisplays(); |
688 } | 687 } |
689 | 688 |
690 } // namespace ws | 689 } // namespace ws |
691 } // namespace mus | 690 } // namespace mus |
OLD | NEW |