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 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "content/common/request_extra_data.h" | 46 #include "content/common/request_extra_data.h" |
47 #include "content/common/socket_stream_handle_data.h" | 47 #include "content/common/socket_stream_handle_data.h" |
48 #include "content/common/view_messages.h" | 48 #include "content/common/view_messages.h" |
49 #include "content/common/webmessageportchannel_impl.h" | 49 #include "content/common/webmessageportchannel_impl.h" |
50 #include "content/public/common/bindings_policy.h" | 50 #include "content/public/common/bindings_policy.h" |
51 #include "content/public/common/content_client.h" | 51 #include "content/public/common/content_client.h" |
52 #include "content/public/common/content_constants.h" | 52 #include "content/public/common/content_constants.h" |
53 #include "content/public/common/content_switches.h" | 53 #include "content/public/common/content_switches.h" |
54 #include "content/public/common/context_menu_params.h" | 54 #include "content/public/common/context_menu_params.h" |
55 #include "content/public/common/file_chooser_params.h" | 55 #include "content/public/common/file_chooser_params.h" |
| 56 #include "content/public/common/form_data.h" |
| 57 #include "content/public/common/form_field.h" |
56 #include "content/public/common/url_constants.h" | 58 #include "content/public/common/url_constants.h" |
57 #include "content/public/renderer/content_renderer_client.h" | 59 #include "content/public/renderer/content_renderer_client.h" |
58 #include "content/public/renderer/document_state.h" | 60 #include "content/public/renderer/document_state.h" |
59 #include "content/public/renderer/navigation_state.h" | 61 #include "content/public/renderer/navigation_state.h" |
| 62 #include "content/public/renderer/password_form_dom_manager.h" |
60 #include "content/public/renderer/render_view_observer.h" | 63 #include "content/public/renderer/render_view_observer.h" |
61 #include "content/public/renderer/render_view_visitor.h" | 64 #include "content/public/renderer/render_view_visitor.h" |
62 #include "content/renderer/browser_plugin/browser_plugin.h" | 65 #include "content/renderer/browser_plugin/browser_plugin.h" |
63 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 66 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
64 #include "content/renderer/browser_plugin/old/old_browser_plugin.h" | 67 #include "content/renderer/browser_plugin/old/old_browser_plugin.h" |
65 #include "content/renderer/browser_plugin/old/browser_plugin_channel_manager.h" | 68 #include "content/renderer/browser_plugin/old/browser_plugin_channel_manager.h" |
66 #include "content/renderer/browser_plugin/old/browser_plugin_constants.h" | 69 #include "content/renderer/browser_plugin/old/browser_plugin_constants.h" |
67 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" | 70 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" |
68 #include "content/renderer/device_orientation_dispatcher.h" | 71 #include "content/renderer/device_orientation_dispatcher.h" |
69 #include "content/renderer/devtools_agent.h" | 72 #include "content/renderer/devtools_agent.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon
se.h" | 177 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon
se.h" |
175 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 178 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
176 #include "third_party/skia/include/core/SkBitmap.h" | 179 #include "third_party/skia/include/core/SkBitmap.h" |
177 #include "ui/base/dialogs/selected_file_info.h" | 180 #include "ui/base/dialogs/selected_file_info.h" |
178 #include "ui/gfx/native_widget_types.h" | 181 #include "ui/gfx/native_widget_types.h" |
179 #include "ui/gfx/point.h" | 182 #include "ui/gfx/point.h" |
180 #include "ui/gfx/rect.h" | 183 #include "ui/gfx/rect.h" |
181 #include "v8/include/v8.h" | 184 #include "v8/include/v8.h" |
182 #include "webkit/appcache/web_application_cache_host_impl.h" | 185 #include "webkit/appcache/web_application_cache_host_impl.h" |
183 #include "webkit/dom_storage/dom_storage_types.h" | 186 #include "webkit/dom_storage/dom_storage_types.h" |
184 #include "webkit/forms/form_data.h" | |
185 #include "webkit/forms/form_field.h" | |
186 #include "webkit/forms/password_form_dom_manager.h" | |
187 #include "webkit/glue/alt_error_page_resource_fetcher.h" | 187 #include "webkit/glue/alt_error_page_resource_fetcher.h" |
188 #include "webkit/glue/dom_operations.h" | 188 #include "webkit/glue/dom_operations.h" |
189 #include "webkit/glue/glue_serialize.h" | 189 #include "webkit/glue/glue_serialize.h" |
190 #include "webkit/glue/web_intent_service_data.h" | 190 #include "webkit/glue/web_intent_service_data.h" |
191 #include "webkit/glue/webdropdata.h" | 191 #include "webkit/glue/webdropdata.h" |
192 #include "webkit/glue/webkit_constants.h" | 192 #include "webkit/glue/webkit_constants.h" |
193 #include "webkit/glue/webkit_glue.h" | 193 #include "webkit/glue/webkit_glue.h" |
194 #include "webkit/glue/weburlresponse_extradata_impl.h" | 194 #include "webkit/glue/weburlresponse_extradata_impl.h" |
195 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 195 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
196 #include "webkit/media/webmediaplayer_impl.h" | 196 #include "webkit/media/webmediaplayer_impl.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 using WebKit::WebURLRequest; | 313 using WebKit::WebURLRequest; |
314 using WebKit::WebURLResponse; | 314 using WebKit::WebURLResponse; |
315 using WebKit::WebVector; | 315 using WebKit::WebVector; |
316 using WebKit::WebView; | 316 using WebKit::WebView; |
317 using WebKit::WebWidget; | 317 using WebKit::WebWidget; |
318 using WebKit::WebWindowFeatures; | 318 using WebKit::WebWindowFeatures; |
319 using appcache::WebApplicationCacheHostImpl; | 319 using appcache::WebApplicationCacheHostImpl; |
320 using base::Time; | 320 using base::Time; |
321 using base::TimeDelta; | 321 using base::TimeDelta; |
322 using content::DocumentState; | 322 using content::DocumentState; |
| 323 using content::FormField; |
323 using content::NavigationState; | 324 using content::NavigationState; |
| 325 using content::PasswordForm; |
| 326 using content::PasswordFormDomManager; |
324 using content::Referrer; | 327 using content::Referrer; |
325 using content::RenderThread; | 328 using content::RenderThread; |
326 using content::RenderViewObserver; | 329 using content::RenderViewObserver; |
327 using content::RenderViewVisitor; | 330 using content::RenderViewVisitor; |
328 using content::RendererAccessibilityComplete; | 331 using content::RendererAccessibilityComplete; |
329 using content::RendererAccessibilityFocusOnly; | 332 using content::RendererAccessibilityFocusOnly; |
330 using content::V8ValueConverter; | 333 using content::V8ValueConverter; |
331 using webkit::forms::FormField; | |
332 using webkit::forms::PasswordForm; | |
333 using webkit::forms::PasswordFormDomManager; | |
334 using webkit_glue::AltErrorPageResourceFetcher; | 334 using webkit_glue::AltErrorPageResourceFetcher; |
335 using webkit_glue::ResourceFetcher; | 335 using webkit_glue::ResourceFetcher; |
336 using webkit_glue::WebPreferences; | 336 using webkit_glue::WebPreferences; |
337 using webkit_glue::WebURLResponseExtraDataImpl; | 337 using webkit_glue::WebURLResponseExtraDataImpl; |
338 | 338 |
339 #if defined(OS_ANDROID) | 339 #if defined(OS_ANDROID) |
340 using content::AddressDetector; | 340 using content::AddressDetector; |
341 using content::ContentDetector; | 341 using content::ContentDetector; |
342 using content::EmailDetector; | 342 using content::EmailDetector; |
343 using content::PhoneNumberDetector; | 343 using content::PhoneNumberDetector; |
(...skipping 5956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6300 | 6300 |
6301 updating_frame_tree_ = true; | 6301 updating_frame_tree_ = true; |
6302 active_frame_id_map_.clear(); | 6302 active_frame_id_map_.clear(); |
6303 | 6303 |
6304 target_process_id_ = process_id; | 6304 target_process_id_ = process_id; |
6305 target_routing_id_ = route_id; | 6305 target_routing_id_ = route_id; |
6306 CreateFrameTree(webview()->mainFrame(), frames); | 6306 CreateFrameTree(webview()->mainFrame(), frames); |
6307 | 6307 |
6308 updating_frame_tree_ = false; | 6308 updating_frame_tree_ = false; |
6309 } | 6309 } |
OLD | NEW |