diff options
-rw-r--r-- | chrome/browser/dom_ui/dom_ui.h | 2 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 4 | ||||
-rw-r--r-- | chrome/common/url_constants.h | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h index adc56ab..b359abd 100644 --- a/chrome/browser/dom_ui/dom_ui.h +++ b/chrome/browser/dom_ui/dom_ui.h @@ -39,7 +39,7 @@ class DOMUI { // page. virtual void RenderViewReused(RenderViewHost* render_view_host) {} - // Called from DOMUIContents. + // Called from TabContents. virtual void ProcessDOMUIMessage(const std::string& message, const std::string& content, int request_id, diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 7fb4822..f892775 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -72,7 +72,6 @@ class Message; class AutofillManager; class BlockedPopupContainer; class DOMUI; -class DOMUIContents; class DownloadItem; class LoadNotificationDetails; class OmniboxSearchHint; @@ -135,9 +134,6 @@ class TabContents : public PageNavigator, const PropertyBag* property_bag() const { return &property_bag_; } PropertyBag* property_bag() { return &property_bag_; } - // Returns this object as a DOMUIContents if it is one, and NULL otherwise. - virtual DOMUIContents* AsDOMUIContents() { return NULL; } - TabContentsDelegate* delegate() const { return delegate_; } void set_delegate(TabContentsDelegate* d) { delegate_ = d; } diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index ff1b5ab..0cbde15 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -12,7 +12,7 @@ namespace chrome { // Canonical schemes you can use as input to GURL.SchemeIs(). extern const char kAboutScheme[]; extern const char kChromeInternalScheme[]; -extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. +extern const char kChromeUIScheme[]; // The scheme used for DOMUIs. extern const char kDataScheme[]; extern const char kExtensionScheme[]; extern const char kFileScheme[]; |