| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 base::debug::Alias(&render_view_is_swapped_out); | 992 base::debug::Alias(&render_view_is_swapped_out); |
| 993 bool render_view_is_closing = GetRenderWidget()->closing(); | 993 bool render_view_is_closing = GetRenderWidget()->closing(); |
| 994 base::debug::Alias(&render_view_is_closing); | 994 base::debug::Alias(&render_view_is_closing); |
| 995 base::debug::Alias(&is_swapped_out_); | 995 base::debug::Alias(&is_swapped_out_); |
| 996 base::debug::DumpWithoutCrashing(); | 996 base::debug::DumpWithoutCrashing(); |
| 997 return NULL; | 997 return NULL; |
| 998 } | 998 } |
| 999 | 999 |
| 1000 RenderFrameImpl* child_render_frame = RenderFrameImpl::Create( | 1000 RenderFrameImpl* child_render_frame = RenderFrameImpl::Create( |
| 1001 render_view_.get(), child_routing_id); | 1001 render_view_.get(), child_routing_id); |
| 1002 blink::WebFrame* web_frame = WebFrame::create(child_render_frame, | 1002 blink::WebFrame* web_frame = WebFrame::create(child_render_frame); |
| 1003 child_routing_id); | |
| 1004 parent->appendChild(web_frame); | 1003 parent->appendChild(web_frame); |
| 1005 child_render_frame->SetWebFrame(web_frame); | 1004 child_render_frame->SetWebFrame(web_frame); |
| 1006 | 1005 |
| 1007 return web_frame; | 1006 return web_frame; |
| 1008 } | 1007 } |
| 1009 | 1008 |
| 1010 void RenderFrameImpl::didDisownOpener(blink::WebFrame* frame) { | 1009 void RenderFrameImpl::didDisownOpener(blink::WebFrame* frame) { |
| 1011 DCHECK(!frame_ || frame_ == frame); | 1010 DCHECK(!frame_ || frame_ == frame); |
| 1012 render_view_->didDisownOpener(frame); | 1011 render_view_->didDisownOpener(frame); |
| 1013 } | 1012 } |
| (...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2266 | 2265 |
| 2267 void RenderFrameImpl::didStartLoading() { | 2266 void RenderFrameImpl::didStartLoading() { |
| 2268 Send(new FrameHostMsg_DidStartLoading(routing_id_)); | 2267 Send(new FrameHostMsg_DidStartLoading(routing_id_)); |
| 2269 } | 2268 } |
| 2270 | 2269 |
| 2271 void RenderFrameImpl::didStopLoading() { | 2270 void RenderFrameImpl::didStopLoading() { |
| 2272 Send(new FrameHostMsg_DidStopLoading(routing_id_)); | 2271 Send(new FrameHostMsg_DidStopLoading(routing_id_)); |
| 2273 } | 2272 } |
| 2274 | 2273 |
| 2275 } // namespace content | 2274 } // namespace content |
| OLD | NEW |