OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/views/ash/launcher/launcher_favicon_loader.h" | 5 #include "chrome/browser/ui/ash/launcher/launcher_favicon_loader.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/favicon/favicon_util.h" | 8 #include "chrome/browser/favicon/favicon_util.h" |
9 #include "chrome/browser/ui/views/ash/launcher/browser_launcher_item_controller.
h" | 9 #include "chrome/browser/ui/ash/launcher/browser_launcher_item_controller.h" |
10 #include "chrome/common/favicon_url.h" | 10 #include "chrome/common/favicon_url.h" |
11 #include "chrome/common/icon_messages.h" | 11 #include "chrome/common/icon_messages.h" |
12 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
14 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
17 | 17 |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 void LauncherFaviconLoader::OnDidDownloadFavicon( | 187 void LauncherFaviconLoader::OnDidDownloadFavicon( |
188 int id, | 188 int id, |
189 const GURL& image_url, | 189 const GURL& image_url, |
190 bool errored, | 190 bool errored, |
191 int requested_size, | 191 int requested_size, |
192 const std::vector<SkBitmap>& bitmaps) { | 192 const std::vector<SkBitmap>& bitmaps) { |
193 favicon_handler_->OnDidDownloadFavicon( | 193 favicon_handler_->OnDidDownloadFavicon( |
194 id, image_url, errored, requested_size, bitmaps); | 194 id, image_url, errored, requested_size, bitmaps); |
195 } | 195 } |
OLD | NEW |