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

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

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_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_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/public/cpp/application/interface_factory.h" 9 #include "mojo/public/cpp/application/interface_factory.h"
10 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" 10 #include "view_manager/public/interfaces/view_manager.mojom.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 13
14 class ViewManagerDelegate; 14 class ViewManagerDelegate;
15 class Shell; 15 class Shell;
16 16
17 // Add an instance of this class to an incoming connection to allow it to 17 // Add an instance of this class to an incoming connection to allow it to
18 // instantiate ViewManagerClient implementations in response to 18 // instantiate ViewManagerClient implementations in response to
19 // ViewManagerClient requests. 19 // ViewManagerClient requests.
20 class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> { 20 class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> {
(...skipping 12 matching lines...) Expand all
33 InterfaceRequest<ViewManagerClient> request) override; 33 InterfaceRequest<ViewManagerClient> request) override;
34 34
35 private: 35 private:
36 Shell* shell_; 36 Shell* shell_;
37 ViewManagerDelegate* delegate_; 37 ViewManagerDelegate* delegate_;
38 }; 38 };
39 39
40 } // namespace mojo 40 } // namespace mojo
41 41
42 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_ 42 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_CLIENT_FACTORY_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/cpp/view_manager.h ('k') | mojo/services/view_manager/public/cpp/view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698