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

Unified Diff: content/renderer/render_view_impl.h

Issue 8060055: Adding support for MediaStream and PeerConnection functionality (Closed) Base URL: http://git.chromium.org/chromium/chromium.git@trunk
Patch Set: Code review, adding changed gyp files. It also includes all changes in patch 4 which didn't get in. Created 9 years, 2 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 8beea4e0ac68ae77a6d88572e9a69548a74a1335..88f430e4f526c3d31d384b99a9c582cf3556fca8 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -63,6 +63,7 @@ class GURL;
class IntentsDispatcher;
class JavaBridgeDispatcher;
class LoadProgressTracker;
+class MediaStreamDispatcher
class MediaStreamImpl;
class NotificationProvider;
class PepperDeviceTest;
@@ -204,6 +205,10 @@ class RenderViewImpl : public RenderWidget,
int history_list_offset() const { return history_list_offset_; }
+ MediaStreamDispatcher* media_stream_dispatcher() {
+ return media_stream_dispatcher_;
+ }
+
const WebPreferences& webkit_preferences() const {
return webkit_preferences_;
}
@@ -389,6 +394,7 @@ class RenderViewImpl : public RenderWidget,
virtual WebKit::WebSpeechInputController* speechInputController(
WebKit::WebSpeechInputListener* listener);
virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
+ virtual WebKit::WebMediaStreamClient* mediaStreamClient();
virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
virtual void zoomLevelChanged();
virtual void registerProtocolHandler(const WebKit::WebString& scheme,
@@ -1145,6 +1151,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_;

Powered by Google App Engine
This is Rietveld 408576698