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

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

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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/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_manager_factory_service.h" 14 #include "components/mus/ws/window_manager_factory_service.h"
15 #include "components/mus/ws/window_tree_host_connection.h" 15 #include "components/mus/ws/window_tree_host_connection.h"
16 #include "components/mus/ws/window_tree_impl.h" 16 #include "components/mus/ws/window_tree_impl.h"
17 #include "mojo/converters/geometry/geometry_type_converters.h" 17 #include "mojo/converters/geometry/geometry_type_converters.h"
18 #include "mojo/converters/input_events/input_events_type_converters.h" 18 #include "mojo/converters/input_events/input_events_type_converters.h"
19 #include "mojo/converters/surfaces/surfaces_type_converters.h" 19 #include "mojo/converters/surfaces/surfaces_type_converters.h"
20 #include "mojo/shell/public/cpp/application_connection.h" 20 #include "mojo/shell/public/cpp/connection.h"
21 #include "ui/gfx/geometry/size_conversions.h" 21 #include "ui/gfx/geometry/size_conversions.h"
22 22
23 namespace mus { 23 namespace mus {
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),
30 surfaces_state_(surfaces_state), 30 surfaces_state_(surfaces_state),
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 if (!got_valid_frame_decorations_) { 703 if (!got_valid_frame_decorations_) {
704 display_manager_observers_.AddInterfacePtr(std::move(observer)); 704 display_manager_observers_.AddInterfacePtr(std::move(observer));
705 return; 705 return;
706 } 706 }
707 CallOnDisplays(observer.get()); 707 CallOnDisplays(observer.get());
708 display_manager_observers_.AddInterfacePtr(std::move(observer)); 708 display_manager_observers_.AddInterfacePtr(std::move(observer));
709 } 709 }
710 710
711 } // namespace ws 711 } // namespace ws
712 } // namespace mus 712 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/window_server_test_base.cc ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698