| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 #include "media/base/audio_renderer_mixer_input.h" | 132 #include "media/base/audio_renderer_mixer_input.h" |
| 133 #include "media/base/filter_collection.h" | 133 #include "media/base/filter_collection.h" |
| 134 #include "media/base/media_switches.h" | 134 #include "media/base/media_switches.h" |
| 135 #include "media/filters/audio_renderer_impl.h" | 135 #include "media/filters/audio_renderer_impl.h" |
| 136 #include "media/filters/gpu_video_decoder.h" | 136 #include "media/filters/gpu_video_decoder.h" |
| 137 #include "net/base/data_url.h" | 137 #include "net/base/data_url.h" |
| 138 #include "net/base/escape.h" | 138 #include "net/base/escape.h" |
| 139 #include "net/base/net_errors.h" | 139 #include "net/base/net_errors.h" |
| 140 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 140 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| 141 #include "net/http/http_util.h" | 141 #include "net/http/http_util.h" |
| 142 #include "third_party/WebKit/public/platform/WebCString.h" |
| 143 #include "third_party/WebKit/public/platform/WebDragData.h" |
| 144 #include "third_party/WebKit/public/platform/WebFileSystemType.h" |
| 145 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
| 146 #include "third_party/WebKit/public/platform/WebImage.h" |
| 147 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" |
| 148 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 149 #include "third_party/WebKit/public/platform/WebRect.h" |
| 150 #include "third_party/WebKit/public/platform/WebSize.h" |
| 151 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h" |
| 152 #include "third_party/WebKit/public/platform/WebString.h" |
| 153 #include "third_party/WebKit/public/platform/WebURL.h" |
| 154 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 155 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 156 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 157 #include "third_party/WebKit/public/platform/WebVector.h" |
| 142 #include "third_party/WebKit/public/web/WebAccessibilityObject.h" | 158 #include "third_party/WebKit/public/web/WebAccessibilityObject.h" |
| 143 #include "third_party/WebKit/public/web/WebColorName.h" | 159 #include "third_party/WebKit/public/web/WebColorName.h" |
| 144 #include "third_party/WebKit/public/web/WebDOMEvent.h" | 160 #include "third_party/WebKit/public/web/WebDOMEvent.h" |
| 145 #include "third_party/WebKit/public/web/WebDOMMessageEvent.h" | 161 #include "third_party/WebKit/public/web/WebDOMMessageEvent.h" |
| 146 #include "third_party/WebKit/public/web/WebDataSource.h" | 162 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 147 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h" | 163 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h" |
| 148 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" | 164 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" |
| 149 #include "third_party/WebKit/public/web/WebDevToolsAgent.h" | 165 #include "third_party/WebKit/public/web/WebDevToolsAgent.h" |
| 150 #include "third_party/WebKit/public/web/WebDocument.h" | 166 #include "third_party/WebKit/public/web/WebDocument.h" |
| 151 #include "third_party/WebKit/public/web/WebElement.h" | 167 #include "third_party/WebKit/public/web/WebElement.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 174 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 190 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
| 175 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 191 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 176 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" | 192 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" |
| 177 #include "third_party/WebKit/public/web/WebSettings.h" | 193 #include "third_party/WebKit/public/web/WebSettings.h" |
| 178 #include "third_party/WebKit/public/web/WebStorageQuotaCallbacks.h" | 194 #include "third_party/WebKit/public/web/WebStorageQuotaCallbacks.h" |
| 179 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 195 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| 180 #include "third_party/WebKit/public/web/WebUserMediaClient.h" | 196 #include "third_party/WebKit/public/web/WebUserMediaClient.h" |
| 181 #include "third_party/WebKit/public/web/WebView.h" | 197 #include "third_party/WebKit/public/web/WebView.h" |
| 182 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 198 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 183 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" | 199 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" |
| 184 #include "third_party/WebKit/public/platform/WebCString.h" | |
| 185 #include "third_party/WebKit/public/platform/WebDragData.h" | |
| 186 #include "third_party/WebKit/public/platform/WebFileSystemType.h" | |
| 187 #include "third_party/WebKit/public/platform/WebHTTPBody.h" | |
| 188 #include "third_party/WebKit/public/platform/WebImage.h" | |
| 189 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" | |
| 190 #include "third_party/WebKit/public/platform/WebPoint.h" | |
| 191 #include "third_party/WebKit/public/platform/WebRect.h" | |
| 192 #include "third_party/WebKit/public/platform/WebSize.h" | |
| 193 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h" | |
| 194 #include "third_party/WebKit/public/platform/WebString.h" | |
| 195 #include "third_party/WebKit/public/platform/WebURL.h" | |
| 196 #include "third_party/WebKit/public/platform/WebURLError.h" | |
| 197 #include "third_party/WebKit/public/platform/WebURLRequest.h" | |
| 198 #include "third_party/WebKit/public/platform/WebURLResponse.h" | |
| 199 #include "third_party/WebKit/public/platform/WebVector.h" | |
| 200 #include "ui/base/ui_base_switches_util.h" | 200 #include "ui/base/ui_base_switches_util.h" |
| 201 #include "ui/gfx/native_widget_types.h" | 201 #include "ui/gfx/native_widget_types.h" |
| 202 #include "ui/gfx/point.h" | 202 #include "ui/gfx/point.h" |
| 203 #include "ui/gfx/rect.h" | 203 #include "ui/gfx/rect.h" |
| 204 #include "ui/gfx/rect_conversions.h" | 204 #include "ui/gfx/rect_conversions.h" |
| 205 #include "ui/gfx/size_conversions.h" | 205 #include "ui/gfx/size_conversions.h" |
| 206 #include "ui/shell_dialogs/selected_file_info.h" | 206 #include "ui/shell_dialogs/selected_file_info.h" |
| 207 #include "v8/include/v8.h" | 207 #include "v8/include/v8.h" |
| 208 #include "webkit/child/weburlresponse_extradata_impl.h" |
| 208 #include "webkit/common/dom_storage/dom_storage_types.h" | 209 #include "webkit/common/dom_storage/dom_storage_types.h" |
| 209 #include "webkit/glue/webkit_glue.h" | 210 #include "webkit/glue/webkit_glue.h" |
| 210 #include "webkit/glue/weburlresponse_extradata_impl.h" | |
| 211 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" | 211 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" |
| 212 #include "webkit/renderer/webpreferences_renderer.h" | 212 #include "webkit/renderer/webpreferences_renderer.h" |
| 213 | 213 |
| 214 #if defined(OS_ANDROID) | 214 #if defined(OS_ANDROID) |
| 215 #include <cpu-features.h> | 215 #include <cpu-features.h> |
| 216 | 216 |
| 217 #include "content/common/android/device_telephony_info.h" | 217 #include "content/common/android/device_telephony_info.h" |
| 218 #include "content/common/gpu/client/context_provider_command_buffer.h" | 218 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 219 #include "content/renderer/android/address_detector.h" | 219 #include "content/renderer/android/address_detector.h" |
| 220 #include "content/renderer/android/content_detector.h" | 220 #include "content/renderer/android/content_detector.h" |
| 221 #include "content/renderer/android/email_detector.h" | 221 #include "content/renderer/android/email_detector.h" |
| 222 #include "content/renderer/android/phone_number_detector.h" | 222 #include "content/renderer/android/phone_number_detector.h" |
| 223 #include "content/renderer/media/android/renderer_media_player_manager.h" | 223 #include "content/renderer/media/android/renderer_media_player_manager.h" |
| 224 #include "content/renderer/media/android/stream_texture_factory_android.h" | 224 #include "content/renderer/media/android/stream_texture_factory_android.h" |
| 225 #include "content/renderer/media/android/webmediaplayer_android.h" | 225 #include "content/renderer/media/android/webmediaplayer_android.h" |
| 226 #include "content/renderer/media/android/webmediaplayer_proxy_android.h" | 226 #include "content/renderer/media/android/webmediaplayer_proxy_android.h" |
| 227 #include "skia/ext/platform_canvas.h" | 227 #include "skia/ext/platform_canvas.h" |
| 228 #include "third_party/WebKit/public/web/WebHitTestResult.h" | |
| 229 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 228 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 230 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 229 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
| 230 #include "third_party/WebKit/public/web/WebHitTestResult.h" |
| 231 #include "ui/gfx/rect_f.h" | 231 #include "ui/gfx/rect_f.h" |
| 232 | 232 |
| 233 #if defined(GOOGLE_TV) | 233 #if defined(GOOGLE_TV) |
| 234 #include "content/renderer/media/rtc_video_decoder_bridge_tv.h" | 234 #include "content/renderer/media/rtc_video_decoder_bridge_tv.h" |
| 235 #include "content/renderer/media/rtc_video_decoder_factory_tv.h" | 235 #include "content/renderer/media/rtc_video_decoder_factory_tv.h" |
| 236 #endif | 236 #endif |
| 237 | 237 |
| 238 #elif defined(OS_WIN) | 238 #elif defined(OS_WIN) |
| 239 // TODO(port): these files are currently Windows only because they concern: | 239 // TODO(port): these files are currently Windows only because they concern: |
| 240 // * theming | 240 // * theming |
| (...skipping 6498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6739 WebURL url = icon_urls[i].iconURL(); | 6739 WebURL url = icon_urls[i].iconURL(); |
| 6740 if (!url.isEmpty()) | 6740 if (!url.isEmpty()) |
| 6741 urls.push_back(FaviconURL(url, | 6741 urls.push_back(FaviconURL(url, |
| 6742 ToFaviconType(icon_urls[i].iconType()))); | 6742 ToFaviconType(icon_urls[i].iconType()))); |
| 6743 } | 6743 } |
| 6744 SendUpdateFaviconURL(urls); | 6744 SendUpdateFaviconURL(urls); |
| 6745 } | 6745 } |
| 6746 | 6746 |
| 6747 | 6747 |
| 6748 } // namespace content | 6748 } // namespace content |
| OLD | NEW |