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

Unified Diff: content/public/renderer/media_stream_sink.h

Issue 2501623003: Implement MediaStreamTrack contentHint skeleton. (Closed)
Patch Set: const chars Created 4 years 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/public/renderer/media_stream_sink.h
diff --git a/content/public/renderer/media_stream_sink.h b/content/public/renderer/media_stream_sink.h
index e142ba1d81e2fbcb60d6821bf50057832b131fef..6ee594d4f4e5b03823af8257dbe3546205030cc2 100644
--- a/content/public/renderer/media_stream_sink.h
+++ b/content/public/renderer/media_stream_sink.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
+#include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
namespace content {
@@ -20,6 +21,8 @@ class CONTENT_EXPORT MediaStreamSink {
virtual void OnReadyStateChanged(
blink::WebMediaStreamSource::ReadyState state) {}
virtual void OnEnabledChanged(bool enabled) {}
+ virtual void OnContentHintChanged(
+ blink::WebMediaStreamTrack::ContentHint content_hint) {}
protected:
virtual ~MediaStreamSink() {}
« no previous file with comments | « no previous file | content/renderer/media/media_stream_audio_track.h » ('j') | content/renderer/media/media_stream_audio_track.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698