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 "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/metrics/histogram.h" | 22 #include "base/metrics/histogram.h" |
23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
24 #include "base/process/kill.h" | 24 #include "base/process/kill.h" |
25 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
26 #include "base/strings/string_piece.h" | 26 #include "base/strings/string_piece.h" |
27 #include "base/strings/string_split.h" | 27 #include "base/strings/string_split.h" |
28 #include "base/strings/string_util.h" | 28 #include "base/strings/string_util.h" |
29 #include "base/strings/sys_string_conversions.h" | 29 #include "base/strings/sys_string_conversions.h" |
30 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
31 #include "base/time/time.h" | 31 #include "base/time/time.h" |
32 #include "content/child/appcache_dispatcher.h" | 32 #include "content/child/appcache/appcache_dispatcher.h" |
| 33 #include "content/child/appcache/web_application_cache_host_impl.h" |
33 #include "content/child/child_thread.h" | 34 #include "content/child/child_thread.h" |
34 #include "content/child/fileapi/file_system_dispatcher.h" | 35 #include "content/child/fileapi/file_system_dispatcher.h" |
35 #include "content/child/fileapi/webfilesystem_callback_adapters.h" | 36 #include "content/child/fileapi/webfilesystem_callback_adapters.h" |
36 #include "content/child/npapi/webplugin_delegate_impl.h" | 37 #include "content/child/npapi/webplugin_delegate_impl.h" |
37 #include "content/child/quota_dispatcher.h" | 38 #include "content/child/quota_dispatcher.h" |
38 #include "content/child/request_extra_data.h" | 39 #include "content/child/request_extra_data.h" |
39 #include "content/child/webmessageportchannel_impl.h" | 40 #include "content/child/webmessageportchannel_impl.h" |
40 #include "content/common/clipboard_messages.h" | 41 #include "content/common/clipboard_messages.h" |
41 #include "content/common/database_messages.h" | 42 #include "content/common/database_messages.h" |
42 #include "content/common/dom_storage/dom_storage_types.h" | 43 #include "content/common/dom_storage/dom_storage_types.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" | 199 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" |
199 #include "ui/base/ui_base_switches_util.h" | 200 #include "ui/base/ui_base_switches_util.h" |
200 #include "ui/gfx/native_widget_types.h" | 201 #include "ui/gfx/native_widget_types.h" |
201 #include "ui/gfx/point.h" | 202 #include "ui/gfx/point.h" |
202 #include "ui/gfx/rect.h" | 203 #include "ui/gfx/rect.h" |
203 #include "ui/gfx/rect_conversions.h" | 204 #include "ui/gfx/rect_conversions.h" |
204 #include "ui/gfx/size_conversions.h" | 205 #include "ui/gfx/size_conversions.h" |
205 #include "ui/shell_dialogs/selected_file_info.h" | 206 #include "ui/shell_dialogs/selected_file_info.h" |
206 #include "v8/include/v8.h" | 207 #include "v8/include/v8.h" |
207 #include "webkit/child/weburlresponse_extradata_impl.h" | 208 #include "webkit/child/weburlresponse_extradata_impl.h" |
208 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" | |
209 #include "webkit/renderer/webpreferences_renderer.h" | 209 #include "webkit/renderer/webpreferences_renderer.h" |
210 | 210 |
211 #if defined(OS_ANDROID) | 211 #if defined(OS_ANDROID) |
212 #include <cpu-features.h> | 212 #include <cpu-features.h> |
213 | 213 |
214 #include "content/common/android/device_telephony_info.h" | 214 #include "content/common/android/device_telephony_info.h" |
215 #include "content/common/gpu/client/context_provider_command_buffer.h" | 215 #include "content/common/gpu/client/context_provider_command_buffer.h" |
216 #include "content/renderer/android/address_detector.h" | 216 #include "content/renderer/android/address_detector.h" |
217 #include "content/renderer/android/content_detector.h" | 217 #include "content/renderer/android/content_detector.h" |
218 #include "content/renderer/android/email_detector.h" | 218 #include "content/renderer/android/email_detector.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 using WebKit::WebTouchEvent; | 330 using WebKit::WebTouchEvent; |
331 using WebKit::WebURL; | 331 using WebKit::WebURL; |
332 using WebKit::WebURLError; | 332 using WebKit::WebURLError; |
333 using WebKit::WebURLRequest; | 333 using WebKit::WebURLRequest; |
334 using WebKit::WebURLResponse; | 334 using WebKit::WebURLResponse; |
335 using WebKit::WebUserGestureIndicator; | 335 using WebKit::WebUserGestureIndicator; |
336 using WebKit::WebVector; | 336 using WebKit::WebVector; |
337 using WebKit::WebView; | 337 using WebKit::WebView; |
338 using WebKit::WebWidget; | 338 using WebKit::WebWidget; |
339 using WebKit::WebWindowFeatures; | 339 using WebKit::WebWindowFeatures; |
340 using appcache::WebApplicationCacheHostImpl; | |
341 using base::Time; | 340 using base::Time; |
342 using base::TimeDelta; | 341 using base::TimeDelta; |
343 | |
344 using webkit_glue::WebURLResponseExtraDataImpl; | 342 using webkit_glue::WebURLResponseExtraDataImpl; |
345 | 343 |
346 #if defined(OS_ANDROID) | 344 #if defined(OS_ANDROID) |
347 using WebKit::WebContentDetectionResult; | 345 using WebKit::WebContentDetectionResult; |
348 using WebKit::WebFloatPoint; | 346 using WebKit::WebFloatPoint; |
349 using WebKit::WebFloatRect; | 347 using WebKit::WebFloatRect; |
350 using WebKit::WebHitTestResult; | 348 using WebKit::WebHitTestResult; |
351 #endif | 349 #endif |
352 | 350 |
353 namespace content { | 351 namespace content { |
(...skipping 6196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6550 WebURL url = icon_urls[i].iconURL(); | 6548 WebURL url = icon_urls[i].iconURL(); |
6551 if (!url.isEmpty()) | 6549 if (!url.isEmpty()) |
6552 urls.push_back(FaviconURL(url, | 6550 urls.push_back(FaviconURL(url, |
6553 ToFaviconType(icon_urls[i].iconType()))); | 6551 ToFaviconType(icon_urls[i].iconType()))); |
6554 } | 6552 } |
6555 SendUpdateFaviconURL(urls); | 6553 SendUpdateFaviconURL(urls); |
6556 } | 6554 } |
6557 | 6555 |
6558 | 6556 |
6559 } // namespace content | 6557 } // namespace content |
OLD | NEW |