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

Unified Diff: components/favicon/core/favicon_driver_observer.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon/core/favicon_driver.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/core/favicon_driver_observer.h
diff --git a/components/favicon/core/favicon_driver_observer.h b/components/favicon/core/favicon_driver_observer.h
index cc134d23a99a7357d9db162e4091a2dadee9dc8e..eb3fd48f61ef712aa9fe1510eb5087019d504552 100644
--- a/components/favicon/core/favicon_driver_observer.h
+++ b/components/favicon/core/favicon_driver_observer.h
@@ -13,6 +13,8 @@ class Image;
namespace favicon {
+class FaviconDriver;
+
// An observer implemented by classes which are interested in event from
// FaviconDriver.
class FaviconDriverObserver {
@@ -24,6 +26,11 @@ class FaviconDriverObserver {
// storage.
virtual void OnFaviconAvailable(const gfx::Image& image) = 0;
+ // Called when favicon has changed for the current page. |icon_url_changed| is
+ // true if the favicon URL has also changed.
+ virtual void OnFaviconUpdated(FaviconDriver* favicon_driver,
+ bool icon_url_changed) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(FaviconDriverObserver);
};
« no previous file with comments | « components/favicon/core/favicon_driver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698