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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #include "media/base/audio_renderer_mixer_input.h" | 121 #include "media/base/audio_renderer_mixer_input.h" |
122 #include "media/base/filter_collection.h" | 122 #include "media/base/filter_collection.h" |
123 #include "media/base/media_switches.h" | 123 #include "media/base/media_switches.h" |
124 #include "media/filters/audio_renderer_impl.h" | 124 #include "media/filters/audio_renderer_impl.h" |
125 #include "media/filters/gpu_video_decoder.h" | 125 #include "media/filters/gpu_video_decoder.h" |
126 #include "net/base/data_url.h" | 126 #include "net/base/data_url.h" |
127 #include "net/base/escape.h" | 127 #include "net/base/escape.h" |
128 #include "net/base/net_errors.h" | 128 #include "net/base/net_errors.h" |
129 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 129 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
130 #include "net/http/http_util.h" | 130 #include "net/http/http_util.h" |
131 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" | 131 #include "third_party/WebKit/public/platform/WebCString.h" |
132 #include "third_party/WebKit/Source/Platform/chromium/public/WebDragData.h" | 132 #include "third_party/WebKit/public/platform/WebDragData.h" |
133 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h
" | 133 #include "third_party/WebKit/public/platform/WebFileSystemType.h" |
134 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" | 134 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
135 #include "third_party/WebKit/Source/Platform/chromium/public/WebImage.h" | 135 #include "third_party/WebKit/public/platform/WebImage.h" |
136 #include "third_party/WebKit/Source/Platform/chromium/public/WebMessagePortChann
el.h" | 136 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" |
137 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" | 137 #include "third_party/WebKit/public/platform/WebPoint.h" |
138 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 138 #include "third_party/WebKit/public/platform/WebRect.h" |
139 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 139 #include "third_party/WebKit/public/platform/WebSize.h" |
140 #include "third_party/WebKit/Source/Platform/chromium/public/WebSocketStreamHand
le.h" | 140 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h" |
141 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 141 #include "third_party/WebKit/public/platform/WebString.h" |
142 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 142 #include "third_party/WebKit/public/platform/WebURL.h" |
143 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 143 #include "third_party/WebKit/public/platform/WebURLError.h" |
144 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 144 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
145 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h" | 145 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
146 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 146 #include "third_party/WebKit/public/platform/WebVector.h" |
147 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" | 147 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" |
148 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" | 148 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" |
149 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h" | 149 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h" |
150 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h" | 150 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h" |
151 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 151 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
152 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserCom
pletion.h" | 152 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserCom
pletion.h" |
153 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar
ams.h" | 153 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar
ams.h" |
154 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 154 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
155 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 155 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
156 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 156 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/stream_texture_factory_impl_android.h" | 223 #include "content/renderer/media/stream_texture_factory_impl_android.h" |
224 #include "content/renderer/media/webmediaplayer_proxy_impl_android.h" | 224 #include "content/renderer/media/webmediaplayer_proxy_impl_android.h" |
225 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" | 225 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
226 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" | 226 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
227 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h" | 227 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h" |
228 #include "ui/gfx/rect_f.h" | 228 #include "ui/gfx/rect_f.h" |
229 #include "webkit/media/android/webmediaplayer_android.h" | 229 #include "webkit/media/android/webmediaplayer_android.h" |
230 #include "webkit/media/android/webmediaplayer_manager_android.h" | 230 #include "webkit/media/android/webmediaplayer_manager_android.h" |
231 #elif defined(OS_WIN) | 231 #elif defined(OS_WIN) |
232 // TODO(port): these files are currently Windows only because they concern: | 232 // TODO(port): these files are currently Windows only because they concern: |
233 // * theming | 233 // * theming |
234 #include "ui/native_theme/native_theme_win.h" | 234 #include "ui/native_theme/native_theme_win.h" |
235 #elif defined(USE_X11) | 235 #elif defined(USE_X11) |
236 #include "ui/native_theme/native_theme.h" | 236 #include "ui/native_theme/native_theme.h" |
(...skipping 6321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6558 WebURL url = icon_urls[i].iconURL(); | 6558 WebURL url = icon_urls[i].iconURL(); |
6559 if (!url.isEmpty()) | 6559 if (!url.isEmpty()) |
6560 urls.push_back(FaviconURL(url, | 6560 urls.push_back(FaviconURL(url, |
6561 ToFaviconType(icon_urls[i].iconType()))); | 6561 ToFaviconType(icon_urls[i].iconType()))); |
6562 } | 6562 } |
6563 SendUpdateFaviconURL(urls); | 6563 SendUpdateFaviconURL(urls); |
6564 } | 6564 } |
6565 | 6565 |
6566 | 6566 |
6567 } // namespace content | 6567 } // namespace content |
OLD | NEW |