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

Side by Side Diff: content/renderer/favicon_helper.cc

Issue 11819044: Update some #includes in content/renderer for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
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 "content/renderer/favicon_helper.h" 5 #include "content/renderer/favicon_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "content/common/icon_messages.h" 10 #include "content/common/icon_messages.h"
11 #include "content/public/renderer/render_view.h" 11 #include "content/public/renderer/render_view.h"
12 #include "net/base/data_url.h" 12 #include "net/base/data_url.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
17 #include "ui/base/ui_base_switches.h" 17 #include "ui/base/ui_base_switches.h"
18 #include "ui/gfx/favicon_size.h" 18 #include "ui/gfx/favicon_size.h"
19 #include "ui/gfx/size.h" 19 #include "ui/gfx/size.h"
20 #include "ui/gfx/skbitmap_operations.h" 20 #include "ui/gfx/skbitmap_operations.h"
21 #include "webkit/glue/image_decoder.h" 21 #include "webkit/glue/image_decoder.h"
22 #include "webkit/glue/multi_resolution_image_resource_fetcher.h" 22 #include "webkit/glue/multi_resolution_image_resource_fetcher.h"
23 #include "webkit/glue/webkit_glue.h" 23 #include "webkit/glue/webkit_glue.h"
24 24
25 using WebKit::WebFrame; 25 using WebKit::WebFrame;
26 using WebKit::WebIconURL; 26 using WebKit::WebIconURL;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 std::vector<FaviconURL> urls; 184 std::vector<FaviconURL> urls;
185 for (size_t i = 0; i < icon_urls.size(); i++) { 185 for (size_t i = 0; i < icon_urls.size(); i++) {
186 WebURL url = icon_urls[i].iconURL(); 186 WebURL url = icon_urls[i].iconURL();
187 if (!url.isEmpty()) 187 if (!url.isEmpty())
188 urls.push_back(FaviconURL(url, ToFaviconType(icon_urls[i].iconType()))); 188 urls.push_back(FaviconURL(url, ToFaviconType(icon_urls[i].iconType())));
189 } 189 }
190 SendUpdateFaviconURL(routing_id(), render_view()->GetPageId(), urls); 190 SendUpdateFaviconURL(routing_id(), render_view()->GetPageId(), urls);
191 } 191 }
192 192
193 } // namespace content 193 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/external_popup_menu_browsertest.cc ('k') | content/renderer/gamepad_shared_memory_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698