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

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

Issue 11783038: Allow multiple WebUIControllerFactory objects to be registered. This makes is possible to implement… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: reland after bogus revert of r175971 Created 7 years, 11 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/public/browser/content_browser_client.cc ('k') | content/public/common/content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui_controller_factory.h
===================================================================
--- content/public/browser/web_ui_controller_factory.h (revision 179096)
+++ content/public/browser/web_ui_controller_factory.h (working copy)
@@ -22,6 +22,9 @@
public:
virtual ~WebUIControllerFactory() {}
+ // Call to register a factory.
+ static void RegisterFactory(WebUIControllerFactory* factory);
+
// Returns a WebUIController instance for the given URL, or NULL if the URL
// doesn't correspond to a WebUI.
virtual WebUIController* CreateWebUIControllerForURL(
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698