Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index b556032c2d8374b943e262727d0f7bf8dc3de64e..c9eb554c6fcd78b9f3c9542d3330d9618ff7668a 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -62,6 +62,7 @@ class GURL; |
class IntentsDispatcher; |
class JavaBridgeDispatcher; |
class LoadProgressTracker; |
+class MediaStreamDispatcher; |
class MediaStreamImpl; |
class NotificationProvider; |
class PepperDeviceTest; |
@@ -115,12 +116,15 @@ class WebImage; |
class WebMediaPlayer; |
class WebMediaPlayerClient; |
class WebMouseEvent; |
+class WebPeerConnectionHandler; |
+class WebPeerConnectionHandlerClient; |
class WebSpeechInputController; |
class WebSpeechInputListener; |
class WebStorageNamespace; |
class WebTouchEvent; |
class WebURLLoader; |
class WebURLRequest; |
+class WebUserMediaClient; |
struct WebFileChooserParams; |
struct WebFindOptions; |
struct WebMediaPlayerAction; |
@@ -196,11 +200,18 @@ class RenderViewImpl : public RenderWidget, |
send_content_state_immediately_ = value; |
} |
+ MediaStreamDispatcher* media_stream_dispatcher() { |
+ return media_stream_dispatcher_; |
+ } |
+ |
// Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
content::P2PSocketDispatcher* p2p_socket_dispatcher() { |
return p2p_socket_dispatcher_; |
} |
+ WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler( |
+ WebKit::WebPeerConnectionHandlerClient* client); |
+ |
// Functions to add and remove observers for this object. |
void AddObserver(content::RenderViewObserver* observer); |
void RemoveObserver(content::RenderViewObserver* observer); |
@@ -389,6 +400,7 @@ class RenderViewImpl : public RenderWidget, |
const WebKit::WebString& type, |
const WebKit::WebString& data, |
int intent_id); |
+ virtual WebKit::WebUserMediaClient* userMediaClient(); |
// WebKit::WebFrameClient implementation ------------------------------------- |
@@ -866,6 +878,8 @@ class RenderViewImpl : public RenderWidget, |
// Check whether the preferred size has changed. |
void CheckPreferredSize(); |
+ void CreateMediaStreamImpl(); |
+ |
// This callback is triggered when DownloadFavicon completes, either |
// succesfully or with a failure. See DownloadFavicon for more |
// details. |
@@ -1141,6 +1155,9 @@ class RenderViewImpl : public RenderWidget, |
// Device orientation dispatcher attached to this view; lazily initialized. |
DeviceOrientationDispatcher* device_orientation_dispatcher_; |
+ // MediaStream dispatcher attached to this view; lazily initialized. |
+ MediaStreamDispatcher* media_stream_dispatcher_; |
+ |
// MediaStreamImpl attached to this view; lazily initialized. |
scoped_refptr<MediaStreamImpl> media_stream_impl_; |