diff options
Diffstat (limited to 'chrome/browser/extensions/api/tabs/tabs_event_router.cc')
-rw-r--r-- | chrome/browser/extensions/api/tabs/tabs_event_router.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chrome/browser/extensions/api/tabs/tabs_event_router.cc index 5cc840f..dfa812b 100644 --- a/chrome/browser/extensions/api/tabs/tabs_event_router.cc +++ b/chrome/browser/extensions/api/tabs/tabs_event_router.cc @@ -546,12 +546,13 @@ void TabsEventRouter::OnZoomChanged( EventRouter::USER_GESTURE_UNKNOWN); } -void TabsEventRouter::OnFaviconAvailable(const gfx::Image& image) { -} - -void TabsEventRouter::OnFaviconUpdated(favicon::FaviconDriver* favicon_driver, - bool icon_url_changed) { - if (icon_url_changed) { +void TabsEventRouter::OnFaviconUpdated( + favicon::FaviconDriver* favicon_driver, + NotificationIconType notification_icon_type, + const GURL& icon_url, + bool icon_url_changed, + const gfx::Image& image) { + if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) { favicon::ContentFaviconDriver* content_favicon_driver = static_cast<favicon::ContentFaviconDriver*>(favicon_driver); FaviconUrlUpdated(content_favicon_driver->web_contents()); |