diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 07:58:34 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 07:58:34 +0000 |
commit | 57c6a6579cf274fe37d6196931a3034d90da7113 (patch) | |
tree | ec42313580156ccc039b5fee714ee12259cb08ee /chrome/browser/fav_icon_helper.h | |
parent | b23c9e1f05d474adc327c85d87eacc77554976e0 (diff) | |
download | chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.zip chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.gz chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.bz2 |
Replace all occurrances of WebContents with TabContents.
Review URL: http://codereview.chromium.org/99177
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/fav_icon_helper.h')
-rw-r--r-- | chrome/browser/fav_icon_helper.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/fav_icon_helper.h b/chrome/browser/fav_icon_helper.h index 25cb56a..3a674d5 100644 --- a/chrome/browser/fav_icon_helper.h +++ b/chrome/browser/fav_icon_helper.h @@ -18,9 +18,9 @@ class NavigationEntry; class Profile; class SkBitmap; -class WebContents; +class TabContents; -// FavIconHelper is used to fetch the favicon for WebContents. +// FavIconHelper is used to fetch the favicon for TabContents. // // FetchFavIcon requests the favicon from the history database. At this point // we only know the URL of the page, and not necessarily the url of the @@ -63,7 +63,7 @@ class WebContents; class FavIconHelper { public: - explicit FavIconHelper(WebContents* web_contents); + explicit FavIconHelper(TabContents* tab_contents); // Initiates loading the favicon for the specified url. void FetchFavIcon(const GURL& url); @@ -73,7 +73,7 @@ class FavIconHelper { void SetFavIconURL(const GURL& icon_url); // Sets the image data for the favicon. This is invoked asynchronously after - // we request the WebContents to download the favicon. + // we request the TabContents to download the favicon. void SetFavIcon(int download_id, const GURL& icon_url, const SkBitmap& image); @@ -82,7 +82,7 @@ class FavIconHelper { void FavIconDownloadFailed(int download_id); // Converts the image data to an SkBitmap and sets it on the NavigationEntry. - // If the WebContents has a delegate, it is notified of the new favicon + // If the TabContents has a delegate, it is notified of the new favicon // (INVALIDATE_FAVICON). void UpdateFavIcon(NavigationEntry* entry, const std::vector<unsigned char>& data); @@ -135,8 +135,8 @@ class FavIconHelper { // wide. Does nothing if the image is empty. SkBitmap ConvertToFavIconSize(const SkBitmap& image); - // Hosting WebContents. We callback into this when done. - WebContents* web_contents_; + // Hosting TabContents. We callback into this when done. + TabContents* tab_contents_; // Used for history requests. CancelableRequestConsumer cancelable_consumer_; @@ -145,17 +145,17 @@ class FavIconHelper { GURL url_; // Whether we got the url for the page back from the renderer. - // See "Favicon Details" in web_contents.cc for more details. + // See "Favicon Details" in tab_contents.cc for more details. bool got_fav_icon_url_; // Whether we got the initial response for the favicon back from the renderer. - // See "Favicon Details" in web_contents.cc for more details. + // See "Favicon Details" in tab_contents.cc for more details. bool got_fav_icon_from_history_; // Whether the favicon is out of date. If true, it means history knows about // the favicon, but we need to download the favicon because the icon has // expired. - // See "Favicon Details" in web_contents.cc for more details. + // See "Favicon Details" in tab_contents.cc for more details. bool fav_icon_expired_; // Requests to the renderer to download favicons. |