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

Unified Diff: content/public/browser/render_view_host.h

Issue 206923002: Adds plumbing to pass WebUI mojo::Handle from browser to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO and merge to trunk Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/web_ui_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index 5f172fede7b14c4466911b98b55f9a41a48caff8..deab20c8708f5cbf84abed7356188109e2633b54 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -14,6 +14,10 @@
#include "content/public/common/page_zoom.h"
#include "third_party/WebKit/public/web/WebDragOperation.h"
+#if defined(USE_MOJO)
+#include "mojo/public/system/core_cpp.h"
+#endif
+
class GURL;
struct WebPreferences;
@@ -248,6 +252,11 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
virtual void DisableFullscreenEncryptedMediaPlayback() = 0;
#endif
+#if defined(USE_MOJO)
+ // Sets the mojo handle for WebUI pages.
+ virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) = 0;
+#endif
+
private:
// This interface should only be implemented inside content.
friend class RenderViewHostImpl;
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/web_ui_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698