Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index b91626310f9228ffec8e1c578353795f3878c299..3c33c6b01913f7056e50d344852ad3d608828605 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -14,6 +14,8 @@ class RenderViewHost; |
namespace content { |
+class WebUIFactory; |
+ |
// Embedder API for participating in browser logic. |
class ContentBrowserClient { |
public: |
@@ -21,6 +23,9 @@ class ContentBrowserClient { |
virtual void PreCreateRenderView(RenderViewHost* render_view_host, |
Profile* profile, |
const GURL& url) {} |
+ |
+ // Gets the WebUIFactory which will be responsible for generating WebUIs. |
+ virtual WebUIFactory* GetWebUIFactory() = 0; |
jam
2011/03/25 02:10:02
the ContentClient APIs all have default implementa
Evan Stade
2011/03/29 00:14:17
well, I specifically don't want to allow NULL beca
|
}; |
} // namespace content |