| 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 18 matching lines...) Expand all Loading... |
| 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_dispatcher.h" |
| 33 #include "content/child/child_thread.h" | 33 #include "content/child/child_thread.h" |
| 34 #include "content/child/fileapi/file_system_dispatcher.h" | 34 #include "content/child/fileapi/file_system_dispatcher.h" |
| 35 #include "content/child/fileapi/webfilesystem_callback_adapters.h" | 35 #include "content/child/fileapi/webfilesystem_callback_adapters.h" |
| 36 #include "content/child/npapi/webplugin_delegate_impl.h" | 36 #include "content/child/npapi/webplugin_delegate_impl.h" |
| 37 #include "content/child/quota_dispatcher.h" | 37 #include "content/child/quota_dispatcher.h" |
| 38 #include "content/child/request_extra_data.h" | 38 #include "content/child/request_extra_data.h" |
| 39 #include "content/child/web_application_cache_host_impl.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/drag_messages.h" | 43 #include "content/common/drag_messages.h" |
| 43 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 44 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| 44 #include "content/common/input_messages.h" | 45 #include "content/common/input_messages.h" |
| 45 #include "content/common/java_bridge_messages.h" | 46 #include "content/common/java_bridge_messages.h" |
| 46 #include "content/common/pepper_messages.h" | 47 #include "content/common/pepper_messages.h" |
| 47 #include "content/common/socket_stream_handle_data.h" | 48 #include "content/common/socket_stream_handle_data.h" |
| 48 #include "content/common/ssl_status_serialization.h" | 49 #include "content/common/ssl_status_serialization.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 #include "ui/base/ui_base_switches_util.h" | 203 #include "ui/base/ui_base_switches_util.h" |
| 203 #include "ui/gfx/native_widget_types.h" | 204 #include "ui/gfx/native_widget_types.h" |
| 204 #include "ui/gfx/point.h" | 205 #include "ui/gfx/point.h" |
| 205 #include "ui/gfx/rect.h" | 206 #include "ui/gfx/rect.h" |
| 206 #include "ui/gfx/rect_conversions.h" | 207 #include "ui/gfx/rect_conversions.h" |
| 207 #include "ui/gfx/size_conversions.h" | 208 #include "ui/gfx/size_conversions.h" |
| 208 #include "ui/shell_dialogs/selected_file_info.h" | 209 #include "ui/shell_dialogs/selected_file_info.h" |
| 209 #include "v8/include/v8.h" | 210 #include "v8/include/v8.h" |
| 210 #include "webkit/child/weburlresponse_extradata_impl.h" | 211 #include "webkit/child/weburlresponse_extradata_impl.h" |
| 211 #include "webkit/common/dom_storage/dom_storage_types.h" | 212 #include "webkit/common/dom_storage/dom_storage_types.h" |
| 212 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" | |
| 213 #include "webkit/renderer/webpreferences_renderer.h" | 213 #include "webkit/renderer/webpreferences_renderer.h" |
| 214 | 214 |
| 215 #if defined(OS_ANDROID) | 215 #if defined(OS_ANDROID) |
| 216 #include <cpu-features.h> | 216 #include <cpu-features.h> |
| 217 | 217 |
| 218 #include "content/common/android/device_telephony_info.h" | 218 #include "content/common/android/device_telephony_info.h" |
| 219 #include "content/common/gpu/client/context_provider_command_buffer.h" | 219 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 220 #include "content/renderer/android/address_detector.h" | 220 #include "content/renderer/android/address_detector.h" |
| 221 #include "content/renderer/android/content_detector.h" | 221 #include "content/renderer/android/content_detector.h" |
| 222 #include "content/renderer/android/email_detector.h" | 222 #include "content/renderer/android/email_detector.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 using WebKit::WebTouchEvent; | 323 using WebKit::WebTouchEvent; |
| 324 using WebKit::WebURL; | 324 using WebKit::WebURL; |
| 325 using WebKit::WebURLError; | 325 using WebKit::WebURLError; |
| 326 using WebKit::WebURLRequest; | 326 using WebKit::WebURLRequest; |
| 327 using WebKit::WebURLResponse; | 327 using WebKit::WebURLResponse; |
| 328 using WebKit::WebUserGestureIndicator; | 328 using WebKit::WebUserGestureIndicator; |
| 329 using WebKit::WebVector; | 329 using WebKit::WebVector; |
| 330 using WebKit::WebView; | 330 using WebKit::WebView; |
| 331 using WebKit::WebWidget; | 331 using WebKit::WebWidget; |
| 332 using WebKit::WebWindowFeatures; | 332 using WebKit::WebWindowFeatures; |
| 333 using appcache::WebApplicationCacheHostImpl; | |
| 334 using base::Time; | 333 using base::Time; |
| 335 using base::TimeDelta; | 334 using base::TimeDelta; |
| 336 | |
| 337 using webkit_glue::WebURLResponseExtraDataImpl; | 335 using webkit_glue::WebURLResponseExtraDataImpl; |
| 338 | 336 |
| 339 #if defined(OS_ANDROID) | 337 #if defined(OS_ANDROID) |
| 340 using WebKit::WebContentDetectionResult; | 338 using WebKit::WebContentDetectionResult; |
| 341 using WebKit::WebFloatPoint; | 339 using WebKit::WebFloatPoint; |
| 342 using WebKit::WebFloatRect; | 340 using WebKit::WebFloatRect; |
| 343 using WebKit::WebHitTestResult; | 341 using WebKit::WebHitTestResult; |
| 344 #endif | 342 #endif |
| 345 | 343 |
| 346 namespace content { | 344 namespace content { |
| (...skipping 6016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6363 WebURL url = icon_urls[i].iconURL(); | 6361 WebURL url = icon_urls[i].iconURL(); |
| 6364 if (!url.isEmpty()) | 6362 if (!url.isEmpty()) |
| 6365 urls.push_back(FaviconURL(url, | 6363 urls.push_back(FaviconURL(url, |
| 6366 ToFaviconType(icon_urls[i].iconType()))); | 6364 ToFaviconType(icon_urls[i].iconType()))); |
| 6367 } | 6365 } |
| 6368 SendUpdateFaviconURL(urls); | 6366 SendUpdateFaviconURL(urls); |
| 6369 } | 6367 } |
| 6370 | 6368 |
| 6371 | 6369 |
| 6372 } // namespace content | 6370 } // namespace content |
| OLD | NEW |