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

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

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | content/common/BUILD.gn » ('j') | url/mojo/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_manager_factory_service.h" 5 #include "components/mus/ws/window_manager_factory_service.h"
6 6
7 #include "base/bind.h"
7 #include "components/mus/ws/window_manager_factory_registry.h" 8 #include "components/mus/ws/window_manager_factory_registry.h"
8 #include "components/mus/ws/window_tree.h" 9 #include "components/mus/ws/window_tree.h"
9 10
10 namespace mus { 11 namespace mus {
11 namespace ws { 12 namespace ws {
12 13
13 WindowManagerFactoryService::WindowManagerFactoryService( 14 WindowManagerFactoryService::WindowManagerFactoryService(
14 WindowManagerFactoryRegistry* registry, 15 WindowManagerFactoryRegistry* registry,
15 const UserId& user_id, 16 const UserId& user_id,
16 mojo::InterfaceRequest<mojom::WindowManagerFactoryService> request) 17 mojo::InterfaceRequest<mojom::WindowManagerFactoryService> request)
(...skipping 26 matching lines...) Expand all
43 window_manager_factory_ = factory; 44 window_manager_factory_ = factory;
44 registry_->OnWindowManagerFactorySet(this); 45 registry_->OnWindowManagerFactorySet(this);
45 } 46 }
46 47
47 void WindowManagerFactoryService::OnConnectionLost() { 48 void WindowManagerFactoryService::OnConnectionLost() {
48 registry_->OnWindowManagerFactoryConnectionLost(this); 49 registry_->OnWindowManagerFactoryConnectionLost(this);
49 } 50 }
50 51
51 } // namespace ws 52 } // namespace ws
52 } // namespace mus 53 } // namespace mus
OLDNEW
« no previous file with comments | « no previous file | content/common/BUILD.gn » ('j') | url/mojo/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698