Chromium Code Reviews| Index: chrome/browser/favicon/favicon_tab_helper.h |
| diff --git a/chrome/browser/favicon/favicon_tab_helper.h b/chrome/browser/favicon/favicon_tab_helper.h |
| index 9450b0c4e928db594fc1eb76b4ed783df0fb4df4..aecd7145babb7f66497b5288878a9d8d9ccfba50 100644 |
| --- a/chrome/browser/favicon/favicon_tab_helper.h |
| +++ b/chrome/browser/favicon/favicon_tab_helper.h |
| @@ -19,6 +19,10 @@ namespace gfx { |
| class Image; |
| } |
| +namespace content { |
| +struct FaviconStatus; |
| +} |
| + |
| class GURL; |
| class FaviconHandler; |
| class Profile; |
| @@ -68,10 +72,16 @@ class FaviconTabHelper : public content::WebContentsObserver, |
| void SaveFavicon(); |
| // FaviconDriver methods. |
| - virtual content::NavigationEntry* GetActiveEntry() OVERRIDE; |
| virtual int StartDownload(const GURL& url, int max_bitmap_size) OVERRIDE; |
| virtual void NotifyFaviconUpdated(bool icon_url_changed) OVERRIDE; |
| virtual bool IsOffTheRecord() OVERRIDE; |
| + virtual const gfx::Image GetActiveFaviconImage() OVERRIDE; |
| + virtual const GURL GetActiveFaviconURL() OVERRIDE; |
| + virtual bool GetActiveFaviconValidity() OVERRIDE; |
| + virtual const GURL GetActiveURL() OVERRIDE; |
| + virtual void SetActiveFaviconImage(gfx::Image image) OVERRIDE; |
| + virtual void SetActiveFaviconURL(GURL url) OVERRIDE; |
| + virtual void SetActiveFaviconValidity(bool validity) OVERRIDE; |
| // Favicon download callback. |
| void DidDownloadFavicon( |
| @@ -97,6 +107,9 @@ class FaviconTabHelper : public content::WebContentsObserver, |
| const content::LoadCommittedDetails& details, |
| const content::FrameNavigateParams& params) OVERRIDE; |
| + // FaviconDriver helper method. |
|
blundell
2014/05/12 07:52:19
I would comment what this function does.
jif
2014/05/12 18:07:41
Done.
|
| + content::FaviconStatus& GetFaviconStatus(); |
| + |
| Profile* profile_; |
| std::vector<content::FaviconURL> favicon_urls_; |