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

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: synced 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
« no previous file with comments | « content/browser/webui/generic_handler.cc ('k') | content/browser/webui/web_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui.h
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h
index 98adcb183cc2804d6945fa1c7d7e8db0e5532b4a..4d0215f6bc300dbcf63dc3bda004f449c040542c 100644
--- a/content/browser/webui/web_ui.h
+++ b/content/browser/webui/web_ui.h
@@ -144,6 +144,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* TypeID;
+
+ // A special WebUI type that signifies that a given page would not use the
+ // Web UI system.
+ static const TypeID kNoWebUI;
+
protected:
void AddMessageHandler(WebUIMessageHandler* handler);
« no previous file with comments | « content/browser/webui/generic_handler.cc ('k') | content/browser/webui/web_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698