| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/extensions/api/tabs/tabs_event_router.h" | 5 #include "chrome/browser/extensions/api/tabs/tabs_event_router.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "chrome/common/extensions/extension_constants.h" | 21 #include "chrome/common/extensions/extension_constants.h" |
| 22 #include "components/favicon/content/content_favicon_driver.h" | 22 #include "components/favicon/content/content_favicon_driver.h" |
| 23 #include "content/public/browser/favicon_status.h" | 23 #include "content/public/browser/favicon_status.h" |
| 24 #include "content/public/browser/navigation_entry.h" | 24 #include "content/public/browser/navigation_entry.h" |
| 25 #include "content/public/browser/web_contents.h" | 25 #include "content/public/browser/web_contents.h" |
| 26 | 26 |
| 27 using base::DictionaryValue; | 27 using base::DictionaryValue; |
| 28 using base::ListValue; | 28 using base::ListValue; |
| 29 using base::FundamentalValue; | 29 using base::FundamentalValue; |
| 30 using content::WebContents; | 30 using content::WebContents; |
| 31 using ui_zoom::ZoomController; | 31 using zoom::ZoomController; |
| 32 | 32 |
| 33 namespace extensions { | 33 namespace extensions { |
| 34 | 34 |
| 35 namespace { | 35 namespace { |
| 36 | 36 |
| 37 namespace tabs = api::tabs; | 37 namespace tabs = api::tabs; |
| 38 | 38 |
| 39 bool WillDispatchTabUpdatedEvent( | 39 bool WillDispatchTabUpdatedEvent( |
| 40 WebContents* contents, | 40 WebContents* contents, |
| 41 const std::set<std::string> changed_property_names, | 41 const std::set<std::string> changed_property_names, |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 bool icon_url_changed, | 543 bool icon_url_changed, |
| 544 const gfx::Image& image) { | 544 const gfx::Image& image) { |
| 545 if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) { | 545 if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) { |
| 546 favicon::ContentFaviconDriver* content_favicon_driver = | 546 favicon::ContentFaviconDriver* content_favicon_driver = |
| 547 static_cast<favicon::ContentFaviconDriver*>(favicon_driver); | 547 static_cast<favicon::ContentFaviconDriver*>(favicon_driver); |
| 548 FaviconUrlUpdated(content_favicon_driver->web_contents()); | 548 FaviconUrlUpdated(content_favicon_driver->web_contents()); |
| 549 } | 549 } |
| 550 } | 550 } |
| 551 | 551 |
| 552 } // namespace extensions | 552 } // namespace extensions |
| OLD | NEW |