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

Unified Diff: content/renderer/render_view_impl.h

Issue 9309078: Adding a skeleton MediaStreamCenter. (Closed)
Patch Set: Fixed review comment 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 b892a801d869a64299ed87bec767cb9c51f3f711..d1874764924a215482197bbe9e36c1dd4ec0ee57 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -120,6 +120,8 @@ class WebIconURL;
class WebImage;
class WebMediaPlayer;
class WebMediaPlayerClient;
+class WebMediaStreamCenter;
+class WebMediaStreamCenterClient;
class WebMouseEvent;
class WebPeerConnectionHandler;
class WebPeerConnectionHandlerClient;
@@ -221,6 +223,12 @@ class RenderViewImpl : public RenderWidget,
WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler(
WebKit::WebPeerConnectionHandlerClient* client);
+ // Creates the embedder implementation of WebMediaStreamCenter.
+ // Only one is created per render process.
piman 2012/02/08 01:52:24 This comment doesn't match the implementation: the
tommyw 2012/02/08 13:14:18 Done.
+ // 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