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

Unified Diff: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc

Issue 103633002: Add RenderFrameHostDelegate and plumb it through all the necessary classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
===================================================================
--- content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc (revision 238504)
+++ content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc (working copy)
@@ -228,13 +228,14 @@
public:
CaptureTestRenderViewHost(SiteInstance* instance,
RenderViewHostDelegate* delegate,
+ RenderFrameHostDelegate* frame_delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
int main_frame_routing_id,
bool swapped_out,
CaptureTestSourceController* controller)
- : TestRenderViewHost(instance, delegate, widget_delegate, routing_id,
- main_frame_routing_id, swapped_out),
+ : TestRenderViewHost(instance, delegate, frame_delegate, widget_delegate,
+ routing_id, main_frame_routing_id, swapped_out),
controller_(controller) {
// Override the default view installed by TestRenderViewHost; we need
// our special subclass which has mocked-out tab capture support.
@@ -289,13 +290,15 @@
virtual RenderViewHost* CreateRenderViewHost(
SiteInstance* instance,
RenderViewHostDelegate* delegate,
+ RenderFrameHostDelegate* frame_delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
int main_frame_routing_id,
bool swapped_out) OVERRIDE {
- return new CaptureTestRenderViewHost(instance, delegate, widget_delegate,
- routing_id, main_frame_routing_id,
- swapped_out, controller_);
+ return new CaptureTestRenderViewHost(instance, delegate, frame_delegate,
+ widget_delegate, routing_id,
+ main_frame_routing_id, swapped_out,
+ controller_);
}
private:
CaptureTestSourceController* controller_;
« no previous file with comments | « content/browser/frame_host/test_render_frame_host.cc ('k') | content/browser/renderer_host/render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698