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

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

Issue 16325022: move content/common_child to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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/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"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/debug/trace_event.h" 15 #include "base/debug/trace_event.h"
16 #include "base/json/json_writer.h" 16 #include "base/json/json_writer.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/message_loop_proxy.h" 19 #include "base/message_loop_proxy.h"
20 #include "base/metrics/histogram.h" 20 #include "base/metrics/histogram.h"
21 #include "base/path_service.h" 21 #include "base/path_service.h"
22 #include "base/process_util.h" 22 #include "base/process_util.h"
23 #include "base/string_number_conversions.h" 23 #include "base/string_number_conversions.h"
24 #include "base/string_util.h" 24 #include "base/string_util.h"
25 #include "base/strings/string_piece.h" 25 #include "base/strings/string_piece.h"
26 #include "base/strings/string_split.h" 26 #include "base/strings/string_split.h"
27 #include "base/strings/sys_string_conversions.h" 27 #include "base/strings/sys_string_conversions.h"
28 #include "base/time.h" 28 #include "base/time.h"
29 #include "base/utf_string_conversions.h" 29 #include "base/utf_string_conversions.h"
30 #include "content/child/fileapi/webfilesystem_callback_adapters.h"
30 #include "content/common/appcache/appcache_dispatcher.h" 31 #include "content/common/appcache/appcache_dispatcher.h"
31 #include "content/common/child_thread.h" 32 #include "content/common/child_thread.h"
32 #include "content/common/clipboard_messages.h" 33 #include "content/common/clipboard_messages.h"
33 #include "content/common/database_messages.h" 34 #include "content/common/database_messages.h"
34 #include "content/common/drag_messages.h" 35 #include "content/common/drag_messages.h"
35 #include "content/common/fileapi/file_system_dispatcher.h" 36 #include "content/common/fileapi/file_system_dispatcher.h"
36 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 37 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
37 #include "content/common/input_messages.h" 38 #include "content/common/input_messages.h"
38 #include "content/common/java_bridge_messages.h" 39 #include "content/common/java_bridge_messages.h"
39 #include "content/common/pepper_messages.h" 40 #include "content/common/pepper_messages.h"
40 #include "content/common/pepper_plugin_registry.h" 41 #include "content/common/pepper_plugin_registry.h"
41 #include "content/common/quota_dispatcher.h" 42 #include "content/common/quota_dispatcher.h"
42 #include "content/common/request_extra_data.h" 43 #include "content/common/request_extra_data.h"
43 #include "content/common/socket_stream_handle_data.h" 44 #include "content/common/socket_stream_handle_data.h"
44 #include "content/common/ssl_status_serialization.h" 45 #include "content/common/ssl_status_serialization.h"
45 #include "content/common/view_messages.h" 46 #include "content/common/view_messages.h"
46 #include "content/common/webmessageportchannel_impl.h" 47 #include "content/common/webmessageportchannel_impl.h"
47 #include "content/common_child/fileapi/webfilesystem_callback_adapters.h"
48 #include "content/public/common/bindings_policy.h" 48 #include "content/public/common/bindings_policy.h"
49 #include "content/public/common/content_client.h" 49 #include "content/public/common/content_client.h"
50 #include "content/public/common/content_constants.h" 50 #include "content/public/common/content_constants.h"
51 #include "content/public/common/content_switches.h" 51 #include "content/public/common/content_switches.h"
52 #include "content/public/common/context_menu_params.h" 52 #include "content/public/common/context_menu_params.h"
53 #include "content/public/common/favicon_url.h" 53 #include "content/public/common/favicon_url.h"
54 #include "content/public/common/file_chooser_params.h" 54 #include "content/public/common/file_chooser_params.h"
55 #include "content/public/common/ssl_status.h" 55 #include "content/public/common/ssl_status.h"
56 #include "content/public/common/three_d_api_types.h" 56 #include "content/public/common/three_d_api_types.h"
57 #include "content/public/common/url_constants.h" 57 #include "content/public/common/url_constants.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #include "media/base/audio_renderer_mixer_input.h" 124 #include "media/base/audio_renderer_mixer_input.h"
125 #include "media/base/filter_collection.h" 125 #include "media/base/filter_collection.h"
126 #include "media/base/media_switches.h" 126 #include "media/base/media_switches.h"
127 #include "media/filters/audio_renderer_impl.h" 127 #include "media/filters/audio_renderer_impl.h"
128 #include "media/filters/gpu_video_decoder.h" 128 #include "media/filters/gpu_video_decoder.h"
129 #include "net/base/data_url.h" 129 #include "net/base/data_url.h"
130 #include "net/base/escape.h" 130 #include "net/base/escape.h"
131 #include "net/base/net_errors.h" 131 #include "net/base/net_errors.h"
132 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 132 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
133 #include "net/http/http_util.h" 133 #include "net/http/http_util.h"
134 #include "third_party/WebKit/public/platform/WebCString.h"
135 #include "third_party/WebKit/public/platform/WebDragData.h"
136 #include "third_party/WebKit/public/platform/WebFileSystemType.h"
137 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
138 #include "third_party/WebKit/public/platform/WebImage.h"
139 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
140 #include "third_party/WebKit/public/platform/WebPoint.h"
141 #include "third_party/WebKit/public/platform/WebRect.h"
142 #include "third_party/WebKit/public/platform/WebSize.h"
143 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h"
144 #include "third_party/WebKit/public/platform/WebString.h"
145 #include "third_party/WebKit/public/platform/WebURL.h"
146 #include "third_party/WebKit/public/platform/WebURLError.h"
147 #include "third_party/WebKit/public/platform/WebURLRequest.h"
148 #include "third_party/WebKit/public/platform/WebURLResponse.h"
149 #include "third_party/WebKit/public/platform/WebVector.h"
150 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h" 134 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h"
151 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" 135 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h"
152 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h" 136 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h"
153 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h" 137 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h"
154 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" 138 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h"
155 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserCom pletion.h" 139 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserCom pletion.h"
156 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar ams.h" 140 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar ams.h"
157 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" 141 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h"
158 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 142 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
159 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 143 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
(...skipping 22 matching lines...) Expand all
182 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 166 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
183 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" 167 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h"
184 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h" 168 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
185 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSettings.h" 169 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSettings.h"
186 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaCallba cks.h" 170 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaCallba cks.h"
187 #include "third_party/WebKit/Source/WebKit/chromium/public/WebUserGestureIndicat or.h" 171 #include "third_party/WebKit/Source/WebKit/chromium/public/WebUserGestureIndicat or.h"
188 #include "third_party/WebKit/Source/WebKit/chromium/public/WebUserMediaClient.h" 172 #include "third_party/WebKit/Source/WebKit/chromium/public/WebUserMediaClient.h"
189 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 173 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
190 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" 174 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h"
191 #include "third_party/WebKit/Source/WebKit/chromium/public/default/WebRenderThem e.h" 175 #include "third_party/WebKit/Source/WebKit/chromium/public/default/WebRenderThem e.h"
176 #include "third_party/WebKit/public/platform/WebCString.h"
177 #include "third_party/WebKit/public/platform/WebDragData.h"
178 #include "third_party/WebKit/public/platform/WebFileSystemType.h"
179 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
180 #include "third_party/WebKit/public/platform/WebImage.h"
181 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
182 #include "third_party/WebKit/public/platform/WebPoint.h"
183 #include "third_party/WebKit/public/platform/WebRect.h"
184 #include "third_party/WebKit/public/platform/WebSize.h"
185 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h"
186 #include "third_party/WebKit/public/platform/WebString.h"
187 #include "third_party/WebKit/public/platform/WebURL.h"
188 #include "third_party/WebKit/public/platform/WebURLError.h"
189 #include "third_party/WebKit/public/platform/WebURLRequest.h"
190 #include "third_party/WebKit/public/platform/WebURLResponse.h"
191 #include "third_party/WebKit/public/platform/WebVector.h"
192 #include "third_party/skia/include/core/SkBitmap.h" 192 #include "third_party/skia/include/core/SkBitmap.h"
193 #include "third_party/skia/include/core/SkPicture.h" 193 #include "third_party/skia/include/core/SkPicture.h"
194 #include "ui/base/ui_base_switches_util.h" 194 #include "ui/base/ui_base_switches_util.h"
195 #include "ui/gfx/native_widget_types.h" 195 #include "ui/gfx/native_widget_types.h"
196 #include "ui/gfx/point.h" 196 #include "ui/gfx/point.h"
197 #include "ui/gfx/rect.h" 197 #include "ui/gfx/rect.h"
198 #include "ui/gfx/rect_conversions.h" 198 #include "ui/gfx/rect_conversions.h"
199 #include "ui/gfx/size_conversions.h" 199 #include "ui/gfx/size_conversions.h"
200 #include "ui/shell_dialogs/selected_file_info.h" 200 #include "ui/shell_dialogs/selected_file_info.h"
201 #include "v8/include/v8.h" 201 #include "v8/include/v8.h"
(...skipping 17 matching lines...) Expand all
219 #include <cpu-features.h> 219 #include <cpu-features.h>
220 220
221 #include "content/common/android/device_telephony_info.h" 221 #include "content/common/android/device_telephony_info.h"
222 #include "content/common/gpu/client/context_provider_command_buffer.h" 222 #include "content/common/gpu/client/context_provider_command_buffer.h"
223 #include "content/renderer/android/address_detector.h" 223 #include "content/renderer/android/address_detector.h"
224 #include "content/renderer/android/content_detector.h" 224 #include "content/renderer/android/content_detector.h"
225 #include "content/renderer/android/email_detector.h" 225 #include "content/renderer/android/email_detector.h"
226 #include "content/renderer/android/phone_number_detector.h" 226 #include "content/renderer/android/phone_number_detector.h"
227 #include "content/renderer/media/stream_texture_factory_impl_android.h" 227 #include "content/renderer/media/stream_texture_factory_impl_android.h"
228 #include "content/renderer/media/webmediaplayer_proxy_impl_android.h" 228 #include "content/renderer/media/webmediaplayer_proxy_impl_android.h"
229 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h"
229 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 230 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
230 #include "third_party/WebKit/public/platform/WebFloatRect.h" 231 #include "third_party/WebKit/public/platform/WebFloatRect.h"
231 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h"
232 #include "ui/gfx/rect_f.h" 232 #include "ui/gfx/rect_f.h"
233 #include "webkit/renderer/media/android/webmediaplayer_android.h" 233 #include "webkit/renderer/media/android/webmediaplayer_android.h"
234 #include "webkit/renderer/media/android/webmediaplayer_manager_android.h" 234 #include "webkit/renderer/media/android/webmediaplayer_manager_android.h"
235 235
236 #if defined(GOOGLE_TV) 236 #if defined(GOOGLE_TV)
237 #include "content/renderer/media/rtc_video_decoder_bridge_tv.h" 237 #include "content/renderer/media/rtc_video_decoder_bridge_tv.h"
238 #include "content/renderer/media/rtc_video_decoder_factory_tv.h" 238 #include "content/renderer/media/rtc_video_decoder_factory_tv.h"
239 #endif 239 #endif
240 240
241 #elif defined(OS_WIN) 241 #elif defined(OS_WIN)
(...skipping 6439 matching lines...) Expand 10 before | Expand all | Expand 10 after
6681 WebURL url = icon_urls[i].iconURL(); 6681 WebURL url = icon_urls[i].iconURL();
6682 if (!url.isEmpty()) 6682 if (!url.isEmpty())
6683 urls.push_back(FaviconURL(url, 6683 urls.push_back(FaviconURL(url,
6684 ToFaviconType(icon_urls[i].iconType()))); 6684 ToFaviconType(icon_urls[i].iconType())));
6685 } 6685 }
6686 SendUpdateFaviconURL(urls); 6686 SendUpdateFaviconURL(urls);
6687 } 6687 }
6688 6688
6689 6689
6690 } // namespace content 6690 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698