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

Unified Diff: mojo/public/cpp/application/interface_factory_impl.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: Created 6 years, 4 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/public/cpp/application/interface_factory_impl.h
diff --git a/mojo/public/cpp/application/interface_factory_impl.h b/mojo/public/cpp/application/interface_factory_impl.h
index 2d020f8767b17da0aafe1a16d5fc03786bcba29b..65992727a610cf31fc9a99946f02bd1ecd976229 100644
--- a/mojo/public/cpp/application/interface_factory_impl.h
+++ b/mojo/public/cpp/application/interface_factory_impl.h
@@ -35,6 +35,10 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> {
: context_(context) {}
virtual ~InterfaceFactoryImplWithContext() {}
+ void set_context(Context* context) {
+ context_ = context;
+ }
+
virtual void Create(ApplicationConnection* connection,
InterfaceRequest<Interface> request) MOJO_OVERRIDE {
BindToRequest(new Impl(context_), &request);

Powered by Google App Engine
This is Rietveld 408576698