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..3bd6bd6a2b5b14cbb511569f876be8fae89f12c2 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* GetInterfaces() = 0; |
+ |
// Returns the main frame for the currently active view. |
virtual RenderFrameHost* GetMainFrame() = 0; |