Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: chrome/browser/favicon/favicon_tab_helper.h

Issue 1059743003: Remove NOTIFICATION_FAVICON_UPDATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-active-title
Patch Set: Add DISALLOW_COPY_AND_ASSIGN(FaviconUpdateWatcher) Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 base::string16 GetActiveTitle() override; 95 base::string16 GetActiveTitle() override;
96 bool GetActiveFaviconValidity() override; 96 bool GetActiveFaviconValidity() override;
97 void SetActiveFaviconValidity(bool valid) override; 97 void SetActiveFaviconValidity(bool valid) override;
98 GURL GetActiveFaviconURL() override; 98 GURL GetActiveFaviconURL() override;
99 void SetActiveFaviconURL(const GURL& url) override; 99 void SetActiveFaviconURL(const GURL& url) override;
100 gfx::Image GetActiveFaviconImage() override; 100 gfx::Image GetActiveFaviconImage() override;
101 void SetActiveFaviconImage(const gfx::Image& image) override; 101 void SetActiveFaviconImage(const gfx::Image& image) override;
102 void OnFaviconAvailable(const gfx::Image& image, 102 void OnFaviconAvailable(const gfx::Image& image,
103 const GURL& url, 103 const GURL& url,
104 bool is_active_favicon) override; 104 bool is_active_favicon) override;
105 void NotifyFaviconUpdated(bool icon_url_changed) override;
105 106
106 // Favicon download callback. 107 // Favicon download callback.
107 void DidDownloadFavicon( 108 void DidDownloadFavicon(
108 int id, 109 int id,
109 int http_status_code, 110 int http_status_code,
110 const GURL& image_url, 111 const GURL& image_url,
111 const std::vector<SkBitmap>& bitmaps, 112 const std::vector<SkBitmap>& bitmaps,
112 const std::vector<gfx::Size>& original_bitmap_sizes); 113 const std::vector<gfx::Size>& original_bitmap_sizes);
113 114
114 private: 115 private:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 scoped_ptr<favicon::FaviconHandler> favicon_handler_; 152 scoped_ptr<favicon::FaviconHandler> favicon_handler_;
152 scoped_ptr<favicon::FaviconHandler> touch_icon_handler_; 153 scoped_ptr<favicon::FaviconHandler> touch_icon_handler_;
153 scoped_ptr<favicon::FaviconHandler> large_icon_handler_; 154 scoped_ptr<favicon::FaviconHandler> large_icon_handler_;
154 155
155 ObserverList<favicon::FaviconDriverObserver> observer_list_; 156 ObserverList<favicon::FaviconDriverObserver> observer_list_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); 158 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper);
158 }; 159 };
159 160
160 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 161 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_handler_unittest.cc ('k') | chrome/browser/favicon/favicon_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698