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

Unified Diff: content/browser/webui/web_ui.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/webui/web_ui.h
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h
index 4bcda5d6bc5e47b3422743e737ec571733093a01..da1120caf69dade56ba6e4a10e8b246ec04a135f 100644
--- a/content/browser/webui/web_ui.h
+++ b/content/browser/webui/web_ui.h
@@ -143,6 +143,14 @@ class WebUI {
TabContents* tab_contents() const { return tab_contents_; }
+ // An opaque identifier used to identify a WebUI. This can only be compared to
+ // kNoWebUI or other WebUI types. See GetWebUIType.
+ typedef void* WebUITypeID;
jam 2011/03/25 02:10:02 nit: now that this is inside WebUI, can it just be
Evan Stade 2011/03/29 00:14:17 Done.
+
+ // A special WebUI type that signifies that a given page would not use the
+ // Web UI system.
+ static const WebUITypeID kNoWebUI;
+
protected:
void AddMessageHandler(WebUIMessageHandler* handler);

Powered by Google App Engine
This is Rietveld 408576698