Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index f0089b102150d003c284da40faad1f649e6f82a2..de357b36e155b569c9afbd43ac6ae92f2f43473c 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -122,6 +122,8 @@ class WebIconURL; |
class WebImage; |
class WebMediaPlayer; |
class WebMediaPlayerClient; |
+class WebMediaStreamCenter; |
+class WebMediaStreamCenterClient; |
class WebMouseEvent; |
class WebPeerConnectionHandler; |
class WebPeerConnectionHandlerClient; |
@@ -226,6 +228,12 @@ class RenderViewImpl : public RenderWidget, |
WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler( |
WebKit::WebPeerConnectionHandlerClient* client); |
+ // Creates the embedder implementation of WebMediaStreamCenter. |
+ // Only one is created per frame. |
+ // The resulting object is owned by WebKit and released at tear-down. |
+ WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( |
+ WebKit::WebMediaStreamCenterClient* client); |
+ |
// Functions to add and remove observers for this object. |
void AddObserver(content::RenderViewObserver* observer); |
void RemoveObserver(content::RenderViewObserver* observer); |