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

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

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 2 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/test/test_render_view_host_factory.h ('k') | content/test/test_web_contents.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/test/test_render_view_host_factory.h" 5 #include "content/test/test_render_view_host_factory.h"
6 6
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/public/browser/render_process_host_factory.h" 8 #include "content/public/browser/render_process_host_factory.h"
9 #include "content/test/test_render_view_host.h" 9 #include "content/test/test_render_view_host.h"
10 10
(...skipping 13 matching lines...) Expand all
24 void TestRenderViewHostFactory::set_render_process_host_factory( 24 void TestRenderViewHostFactory::set_render_process_host_factory(
25 RenderProcessHostFactory* rph_factory) { 25 RenderProcessHostFactory* rph_factory) {
26 SiteInstanceImpl::set_render_process_host_factory(rph_factory); 26 SiteInstanceImpl::set_render_process_host_factory(rph_factory);
27 } 27 }
28 28
29 RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost( 29 RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost(
30 SiteInstance* instance, 30 SiteInstance* instance,
31 RenderViewHostDelegate* delegate, 31 RenderViewHostDelegate* delegate,
32 RenderWidgetHostDelegate* widget_delegate, 32 RenderWidgetHostDelegate* widget_delegate,
33 int32 routing_id, 33 int32 routing_id,
34 int32 surface_id,
35 int32 main_frame_routing_id, 34 int32 main_frame_routing_id,
36 bool swapped_out) { 35 bool swapped_out) {
37 return new TestRenderViewHost(instance, delegate, widget_delegate, routing_id, 36 return new TestRenderViewHost(instance, delegate, widget_delegate, routing_id,
38 surface_id, main_frame_routing_id, swapped_out); 37 main_frame_routing_id, swapped_out);
39 } 38 }
40 39
41 } // namespace content 40 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host_factory.h ('k') | content/test/test_web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698