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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_event_router.cc

Issue 2019423005: Move //components/ui/zoom to top-level under //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_event_router.h ('k') | chrome/browser/extensions/api/tabs/tabs_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698