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

Unified Diff: mojo/services/public/cpp/view_manager/view_manager_client_factory.h

Issue 514063003: Update view_manager and window_manager to make use of content handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@viewman2
Patch Set: git cl format Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/cpp/view_manager/view_manager_client_factory.h
diff --git a/mojo/services/public/cpp/view_manager/view_manager_client_factory.h b/mojo/services/public/cpp/view_manager/view_manager_client_factory.h
index a0ea9da0cc461109312bb1e21191e46920574ef3..608fb0dc641bf52c5bd5c724ca5665aa2f360022 100644
--- a/mojo/services/public/cpp/view_manager/view_manager_client_factory.h
+++ b/mojo/services/public/cpp/view_manager/view_manager_client_factory.h
@@ -11,13 +11,14 @@
namespace mojo {
class ViewManagerDelegate;
+class Shell;
// Add an instance of this class to an incoming connection to allow it to
// instantiate ViewManagerClient implementations in response to
// ViewManagerClient requests.
class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> {
public:
- explicit ViewManagerClientFactory(ViewManagerDelegate* delegate);
+ ViewManagerClientFactory(Shell* shell, ViewManagerDelegate* delegate);
virtual ~ViewManagerClientFactory();
// InterfaceFactory<ViewManagerClient> implementation.
@@ -26,6 +27,7 @@ class ViewManagerClientFactory : public InterfaceFactory<ViewManagerClient> {
MOJO_OVERRIDE;
private:
+ Shell* shell_;
ViewManagerDelegate* delegate_;
};
« no previous file with comments | « mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc ('k') | mojo/services/view_manager/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698