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

Side by Side Diff: content/test/test_render_frame_host_factory.cc

Issue 2472253002: Fix navigation requests starting too early and not getting associated with the <webview>. (Closed)
Patch Set: nits Created 4 years, 1 month 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/test/test_render_frame_host_factory.h ('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 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/test/test_render_frame_host_factory.h" 5 #include "content/test/test_render_frame_host_factory.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "content/test/test_render_frame_host.h" 10 #include "content/test/test_render_frame_host.h"
(...skipping 11 matching lines...) Expand all
22 std::unique_ptr<RenderFrameHostImpl> 22 std::unique_ptr<RenderFrameHostImpl>
23 TestRenderFrameHostFactory::CreateRenderFrameHost( 23 TestRenderFrameHostFactory::CreateRenderFrameHost(
24 SiteInstance* site_instance, 24 SiteInstance* site_instance,
25 RenderViewHostImpl* render_view_host, 25 RenderViewHostImpl* render_view_host,
26 RenderFrameHostDelegate* delegate, 26 RenderFrameHostDelegate* delegate,
27 RenderWidgetHostDelegate* rwh_delegate, 27 RenderWidgetHostDelegate* rwh_delegate,
28 FrameTree* frame_tree, 28 FrameTree* frame_tree,
29 FrameTreeNode* frame_tree_node, 29 FrameTreeNode* frame_tree_node,
30 int32_t routing_id, 30 int32_t routing_id,
31 int32_t widget_routing_id, 31 int32_t widget_routing_id,
32 bool hidden) { 32 bool hidden,
33 bool renderer_initiated_creation) {
33 return base::MakeUnique<TestRenderFrameHost>( 34 return base::MakeUnique<TestRenderFrameHost>(
34 site_instance, render_view_host, delegate, rwh_delegate, frame_tree, 35 site_instance, render_view_host, delegate, rwh_delegate, frame_tree,
35 frame_tree_node, routing_id, widget_routing_id, hidden); 36 frame_tree_node, routing_id, widget_routing_id, hidden);
36 } 37 }
37 38
38 } // namespace content 39 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_frame_host_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698