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); |