Chromium Code Reviews

Side by Side Diff: mojo/services/view_manager/cpp/view_manager_client_factory.h

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_
7 7
8 #include "mojo/public/cpp/application/interface_factory.h" 8 #include "mojo/public/cpp/application/interface_factory.h"
9 #include "view_manager/public/interfaces/view_manager.mojom.h" 9 #include "view_manager/interfaces/view_manager.mojom.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 class ViewManagerDelegate; 13 class ViewManagerDelegate;
14 class Shell; 14 class Shell;
15 15
16 // Add an instance of this class to an incoming connection to allow it to 16 // Add an instance of this class to an incoming connection to allow it to
17 // instantiate ViewManagerClient implementations in response to 17 // instantiate ViewManagerClient implementations in response to
18 // ViewManagerClient requests. 18 // ViewManagerClient requests.
19 class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> { 19 class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> {
(...skipping 13 matching lines...)
33 void Create(ApplicationConnection* connection, 33 void Create(ApplicationConnection* connection,
34 InterfaceRequest<ViewManagerClient> request) override; 34 InterfaceRequest<ViewManagerClient> request) override;
35 35
36 private: 36 private:
37 Shell* shell_; 37 Shell* shell_;
38 ViewManagerDelegate* delegate_; 38 ViewManagerDelegate* delegate_;
39 }; 39 };
40 40
41 } // namespace mojo 41 } // namespace mojo
42 42
43 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_ 43 #endif // MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/cpp/view_manager.h ('k') | mojo/services/view_manager/cpp/view_manager_context.h » ('j') | no next file with comments »

Powered by Google App Engine