diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 00:14:31 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 00:14:31 +0000 |
commit | e916901cd0a8144ca81346d52f2129b3a6e07d67 (patch) | |
tree | 572a9d0bc51ba6ecbd52ebc6aca1093fad40ad2c /chrome/browser/tab_contents | |
parent | 1ca24f56fabfb0338afac62c31d7c2de77b081ca (diff) | |
download | chromium_src-e916901cd0a8144ca81346d52f2129b3a6e07d67.zip chromium_src-e916901cd0a8144ca81346d52f2129b3a6e07d67.tar.gz chromium_src-e916901cd0a8144ca81346d52f2129b3a6e07d67.tar.bz2 |
Add inspect links for all active views in chrome://extensions.
Also:
* Add ID to the information in chrome://extensions.
* Call ExtensionMessageService::RegisterExtension() for all
RVHs, not just ExtensionHost.
* Teach RVHD to be able to return the current URL.
* Renamed "background" to "background_page" in the manifest.
Review URL: http://codereview.chromium.org/113027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/interstitial_page.h | 1 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h index de8a31c..c5f4afe 100644 --- a/chrome/browser/tab_contents/interstitial_page.h +++ b/chrome/browser/tab_contents/interstitial_page.h @@ -91,6 +91,7 @@ class InterstitialPage : public NotificationObserver, // RenderViewHostDelegate implementation: virtual Profile* GetProfile() const; + virtual const GURL& GetURL() const { return url_; } virtual WebPreferences GetWebkitPrefs() { return WebPreferences(); } diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index ed063e2..a546df5 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -173,7 +173,7 @@ class TabContents : public PageNavigator, // Returns the current navigation properties, which if a navigation is // pending may be provisional (e.g., the navigation could result in a // download, in which case the URL would revert to what it was previously). - const GURL& GetURL() const; + virtual const GURL& GetURL() const; virtual const string16& GetTitle() const; // The max PageID of any page that this TabContents has loaded. PageIDs |