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

Unified Diff: content/browser/content_browser_client.h

Issue 6713082: Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove WebUISource references Created 9 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
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

Powered by Google App Engine
This is Rietveld 408576698