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

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

Issue 9922001: Remove magic iframe load transfer support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resync, resolve Created 8 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
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 #include "webkit/forms/form_data.h" 172 #include "webkit/forms/form_data.h"
173 #include "webkit/forms/form_field.h" 173 #include "webkit/forms/form_field.h"
174 #include "webkit/forms/password_form_dom_manager.h" 174 #include "webkit/forms/password_form_dom_manager.h"
175 #include "webkit/glue/alt_error_page_resource_fetcher.h" 175 #include "webkit/glue/alt_error_page_resource_fetcher.h"
176 #include "webkit/glue/dom_operations.h" 176 #include "webkit/glue/dom_operations.h"
177 #include "webkit/glue/glue_serialize.h" 177 #include "webkit/glue/glue_serialize.h"
178 #include "webkit/glue/webdropdata.h" 178 #include "webkit/glue/webdropdata.h"
179 #include "webkit/glue/web_intent_service_data.h" 179 #include "webkit/glue/web_intent_service_data.h"
180 #include "webkit/glue/webkit_constants.h" 180 #include "webkit/glue/webkit_constants.h"
181 #include "webkit/glue/webkit_glue.h" 181 #include "webkit/glue/webkit_glue.h"
182 #include "webkit/glue/weburlloader_impl.h"
183 #include "webkit/glue/weburlresponse_extradata_impl.h" 182 #include "webkit/glue/weburlresponse_extradata_impl.h"
184 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 183 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
185 #include "webkit/media/webmediaplayer_impl.h" 184 #include "webkit/media/webmediaplayer_impl.h"
186 #include "webkit/plugins/npapi/plugin_list.h" 185 #include "webkit/plugins/npapi/plugin_list.h"
187 #include "webkit/plugins/npapi/webplugin_delegate.h" 186 #include "webkit/plugins/npapi/webplugin_delegate.h"
188 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 187 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
189 #include "webkit/plugins/npapi/webplugin_impl.h" 188 #include "webkit/plugins/npapi/webplugin_impl.h"
190 #include "webkit/plugins/ppapi/ppapi_webplugin_impl.h" 189 #include "webkit/plugins/ppapi/ppapi_webplugin_impl.h"
191 190
192 #if defined(OS_ANDROID) 191 #if defined(OS_ANDROID)
(...skipping 3213 matching lines...) Expand 10 before | Expand all | Expand 10 after
3406 } 3405 }
3407 3406
3408 void RenderViewImpl::didRunInsecureContent( 3407 void RenderViewImpl::didRunInsecureContent(
3409 WebFrame* frame, const WebSecurityOrigin& origin, const WebURL& target) { 3408 WebFrame* frame, const WebSecurityOrigin& origin, const WebURL& target) {
3410 Send(new ViewHostMsg_DidRunInsecureContent( 3409 Send(new ViewHostMsg_DidRunInsecureContent(
3411 routing_id_, 3410 routing_id_,
3412 origin.toString().utf8(), 3411 origin.toString().utf8(),
3413 target)); 3412 target));
3414 } 3413 }
3415 3414
3416 void RenderViewImpl::didAdoptURLLoader(WebKit::WebURLLoader* loader) {
3417 webkit_glue::WebURLLoaderImpl* loader_impl =
3418 static_cast<webkit_glue::WebURLLoaderImpl*>(loader);
3419 loader_impl->UpdateRoutingId(routing_id_);
3420 }
3421
3422 void RenderViewImpl::didExhaustMemoryAvailableForScript(WebFrame* frame) { 3415 void RenderViewImpl::didExhaustMemoryAvailableForScript(WebFrame* frame) {
3423 Send(new ViewHostMsg_JSOutOfMemory(routing_id_)); 3416 Send(new ViewHostMsg_JSOutOfMemory(routing_id_));
3424 } 3417 }
3425 3418
3426 void RenderViewImpl::didCreateScriptContext(WebFrame* frame, 3419 void RenderViewImpl::didCreateScriptContext(WebFrame* frame,
3427 v8::Handle<v8::Context> context, 3420 v8::Handle<v8::Context> context,
3428 int extension_group, 3421 int extension_group,
3429 int world_id) { 3422 int world_id) {
3430 content::GetContentClient()->renderer()->DidCreateScriptContext( 3423 content::GetContentClient()->renderer()->DidCreateScriptContext(
3431 frame, context, extension_group, world_id); 3424 frame, context, extension_group, world_id);
(...skipping 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
5607 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { 5600 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const {
5608 return !!RenderThreadImpl::current()->compositor_thread(); 5601 return !!RenderThreadImpl::current()->compositor_thread();
5609 } 5602 }
5610 5603
5611 void RenderViewImpl::OnJavaBridgeInit() { 5604 void RenderViewImpl::OnJavaBridgeInit() {
5612 DCHECK(!java_bridge_dispatcher_); 5605 DCHECK(!java_bridge_dispatcher_);
5613 #if defined(ENABLE_JAVA_BRIDGE) 5606 #if defined(ENABLE_JAVA_BRIDGE)
5614 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this); 5607 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this);
5615 #endif 5608 #endif
5616 } 5609 }
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698