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

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

Issue 1644773003: Remove BrowserIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host-desktop-1
Patch Set: . Created 4 years, 10 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 #include <utility> 8 #include <utility>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 11 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
12 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 12 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
13 #include "chrome/browser/extensions/api/tabs/windows_event_router.h" 13 #include "chrome/browser/extensions/api/tabs/windows_event_router.h"
14 #include "chrome/browser/extensions/extension_tab_util.h" 14 #include "chrome/browser/extensions/extension_tab_util.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/browser_iterator.h"
18 #include "chrome/browser/ui/browser_list.h" 17 #include "chrome/browser/ui/browser_list.h"
19 #include "chrome/browser/ui/tabs/tab_strip_model.h" 18 #include "chrome/browser/ui/tabs/tab_strip_model.h"
20 #include "chrome/common/extensions/extension_constants.h" 19 #include "chrome/common/extensions/extension_constants.h"
21 #include "components/favicon/content/content_favicon_driver.h" 20 #include "components/favicon/content/content_favicon_driver.h"
22 #include "content/public/browser/favicon_status.h" 21 #include "content/public/browser/favicon_status.h"
23 #include "content/public/browser/navigation_entry.h" 22 #include "content/public/browser/navigation_entry.h"
24 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
25 24
26 using base::DictionaryValue; 25 using base::DictionaryValue;
27 using base::ListValue; 26 using base::ListValue;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 bool icon_url_changed, 559 bool icon_url_changed,
561 const gfx::Image& image) { 560 const gfx::Image& image) {
562 if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) { 561 if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) {
563 favicon::ContentFaviconDriver* content_favicon_driver = 562 favicon::ContentFaviconDriver* content_favicon_driver =
564 static_cast<favicon::ContentFaviconDriver*>(favicon_driver); 563 static_cast<favicon::ContentFaviconDriver*>(favicon_driver);
565 FaviconUrlUpdated(content_favicon_driver->web_contents()); 564 FaviconUrlUpdated(content_favicon_driver->web_contents());
566 } 565 }
567 } 566 }
568 567
569 } // namespace extensions 568 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/extensions/api/web_navigation/web_navigation_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698