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

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

Issue 1297993005: Cleanup the remaining references to source_view_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_frame_proxy.h" 5 #include "content/renderer/render_frame_proxy.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // Include the routing ID for the source frame (if one exists), which the 376 // Include the routing ID for the source frame (if one exists), which the
377 // browser process will translate into the routing ID for the equivalent 377 // browser process will translate into the routing ID for the equivalent
378 // frame in the target process. 378 // frame in the target process.
379 params.source_routing_id = MSG_ROUTING_NONE; 379 params.source_routing_id = MSG_ROUTING_NONE;
380 if (source_frame) { 380 if (source_frame) {
381 RenderFrameImpl* source_render_frame = 381 RenderFrameImpl* source_render_frame =
382 RenderFrameImpl::FromWebFrame(source_frame); 382 RenderFrameImpl::FromWebFrame(source_frame);
383 if (source_render_frame) 383 if (source_render_frame)
384 params.source_routing_id = source_render_frame->GetRoutingID(); 384 params.source_routing_id = source_render_frame->GetRoutingID();
385 } 385 }
386 params.source_view_routing_id = MSG_ROUTING_NONE;
387 386
388 Send(new FrameHostMsg_RouteMessageEvent(routing_id_, params)); 387 Send(new FrameHostMsg_RouteMessageEvent(routing_id_, params));
389 } 388 }
390 389
391 void RenderFrameProxy::initializeChildFrame( 390 void RenderFrameProxy::initializeChildFrame(
392 const blink::WebRect& frame_rect, 391 const blink::WebRect& frame_rect,
393 float scale_factor) { 392 float scale_factor) {
394 Send(new FrameHostMsg_InitializeChildFrame( 393 Send(new FrameHostMsg_InitializeChildFrame(
395 routing_id_, frame_rect, scale_factor)); 394 routing_id_, frame_rect, scale_factor));
396 } 395 }
(...skipping 15 matching lines...) Expand all
412 411
413 void RenderFrameProxy::forwardInputEvent(const blink::WebInputEvent* event) { 412 void RenderFrameProxy::forwardInputEvent(const blink::WebInputEvent* event) {
414 Send(new FrameHostMsg_ForwardInputEvent(routing_id_, event)); 413 Send(new FrameHostMsg_ForwardInputEvent(routing_id_, event));
415 } 414 }
416 415
417 void RenderFrameProxy::frameRectsChanged(const blink::WebRect& frame_rect) { 416 void RenderFrameProxy::frameRectsChanged(const blink::WebRect& frame_rect) {
418 Send(new FrameHostMsg_FrameRectChanged(routing_id_, frame_rect)); 417 Send(new FrameHostMsg_FrameRectChanged(routing_id_, frame_rect));
419 } 418 }
420 419
421 } // namespace 420 } // namespace
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698