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

Unified Diff: content/renderer/render_view_impl.h

Issue 9309078: Adding a skeleton MediaStreamCenter. (Closed)
Patch Set: Fixed review comments Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698