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/connection_manager.h" | 5 #include "components/mus/ws/connection_manager.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/client_connection.h" | 9 #include "components/mus/ws/client_connection.h" |
10 #include "components/mus/ws/connection_manager_delegate.h" | 10 #include "components/mus/ws/connection_manager_delegate.h" |
11 #include "components/mus/ws/operation.h" | 11 #include "components/mus/ws/operation.h" |
12 #include "components/mus/ws/server_window.h" | 12 #include "components/mus/ws/server_window.h" |
13 #include "components/mus/ws/window_coordinate_conversions.h" | 13 #include "components/mus/ws/window_coordinate_conversions.h" |
14 #include "components/mus/ws/window_tree_host_connection.h" | 14 #include "components/mus/ws/window_tree_host_connection.h" |
15 #include "components/mus/ws/window_tree_impl.h" | 15 #include "components/mus/ws/window_tree_impl.h" |
16 #include "mojo/application/public/cpp/application_connection.h" | |
17 #include "mojo/converters/geometry/geometry_type_converters.h" | 16 #include "mojo/converters/geometry/geometry_type_converters.h" |
18 #include "mojo/converters/input_events/input_events_type_converters.h" | 17 #include "mojo/converters/input_events/input_events_type_converters.h" |
19 #include "mojo/converters/surfaces/surfaces_type_converters.h" | 18 #include "mojo/converters/surfaces/surfaces_type_converters.h" |
| 19 #include "mojo/shell/public/cpp/application_connection.h" |
20 #include "ui/gfx/geometry/size_conversions.h" | 20 #include "ui/gfx/geometry/size_conversions.h" |
21 | 21 |
22 namespace mus { | 22 namespace mus { |
23 | 23 |
24 namespace ws { | 24 namespace ws { |
25 | 25 |
26 ConnectionManager::ConnectionManager( | 26 ConnectionManager::ConnectionManager( |
27 ConnectionManagerDelegate* delegate, | 27 ConnectionManagerDelegate* delegate, |
28 const scoped_refptr<mus::SurfacesState>& surfaces_state) | 28 const scoped_refptr<mus::SurfacesState>& surfaces_state) |
29 : delegate_(delegate), | 29 : delegate_(delegate), |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 return; | 579 return; |
580 for (auto& pair : connection_map_) { | 580 for (auto& pair : connection_map_) { |
581 pair.second->service()->ProcessTransientWindowRemoved( | 581 pair.second->service()->ProcessTransientWindowRemoved( |
582 window, transient_child, IsOperationSource(pair.first)); | 582 window, transient_child, IsOperationSource(pair.first)); |
583 } | 583 } |
584 } | 584 } |
585 | 585 |
586 } // namespace ws | 586 } // namespace ws |
587 | 587 |
588 } // namespace mus | 588 } // namespace mus |
OLD | NEW |