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

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: Adding render view files again, can't split CL 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 7b5e7d6e5db68d43aa68e32a94f97b45c97c400d..57547bbdffc5c3f8c4f4ab932db6011ce5bc4861 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_;
}
@@ -390,6 +395,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,
@@ -1148,6 +1154,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