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

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

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: rebase Created 4 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 163a2adf05dee23d5161e4a2747cf49e3e49b88a..9c045e78c2de986af4840ac9d097710eac4486ad 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -57,6 +57,7 @@ class RenderProcessHost;
class RenderViewHost;
class RenderWidgetHostView;
class WebContentsDelegate;
+class WebContentsInterfaceRegistry;
struct CustomContextMenuContext;
struct DropData;
struct Manifest;
@@ -223,6 +224,9 @@ class WebContents : public PageNavigator,
// these may change over time.
virtual RenderProcessHost* GetRenderProcessHost() const = 0;
+ // Return the associated interface registry for this WebContents.
+ virtual WebContentsInterfaceRegistry* GetWebContentsInterfaceRegistry() = 0;
+
// Returns the main frame for the currently active view.
virtual RenderFrameHost* GetMainFrame() = 0;

Powered by Google App Engine
This is Rietveld 408576698