summaryrefslogtreecommitdiffstats
path: root/content/browser/webui/web_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/webui/web_ui.h')
-rw-r--r--content/browser/webui/web_ui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h
index 98adcb1..4d0215f 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);