| OLD | NEW |
| 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/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "content/child/webmessageportchannel_impl.h" | 10 #include "content/child/webmessageportchannel_impl.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 if (source_frame) { | 264 if (source_frame) { |
| 265 RenderViewImpl* source_view = | 265 RenderViewImpl* source_view = |
| 266 RenderViewImpl::FromWebView(source_frame->view()); | 266 RenderViewImpl::FromWebView(source_frame->view()); |
| 267 if (source_view) | 267 if (source_view) |
| 268 params.source_routing_id = source_view->routing_id(); | 268 params.source_routing_id = source_view->routing_id(); |
| 269 } | 269 } |
| 270 | 270 |
| 271 Send(new ViewHostMsg_RouteMessageEvent(render_view_->GetRoutingID(), params)); | 271 Send(new ViewHostMsg_RouteMessageEvent(render_view_->GetRoutingID(), params)); |
| 272 } | 272 } |
| 273 | 273 |
| 274 void RenderFrameProxy::initializeChildFrame( |
| 275 const blink::WebRect& frame_rect, |
| 276 float scale_factor) { |
| 277 Send(new FrameHostMsg_InitializeChildFrame( |
| 278 routing_id_, frame_rect, scale_factor)); |
| 279 } |
| 280 |
| 274 } // namespace | 281 } // namespace |
| OLD | NEW |