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

Unified Diff: content/renderer/media/media_stream_video_track.h

Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint. (Closed)
Patch Set: videoKind string constants removed from header. Created 3 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/media/media_stream_video_track.h
diff --git a/content/renderer/media/media_stream_video_track.h b/content/renderer/media/media_stream_video_track.h
index 364a64e73525ae6006a88c478576982ed0a153c5..2327ee8340c0109811b339e02c011e4e15a0402e 100644
--- a/content/renderer/media/media_stream_video_track.h
+++ b/content/renderer/media/media_stream_video_track.h
@@ -16,9 +16,16 @@
#include "content/renderer/media/media_stream_track.h"
#include "content/renderer/media/media_stream_video_source.h"
#include "content/renderer/media/secure_display_link_tracker.h"
+#include "media/capture/video_capture_types.h"
+#include "third_party/WebKit/public/platform/WebString.h"
namespace content {
+// Calculates and returns videoKind value for |format|.
+// See https://w3c.github.io/mediacapture-depth.
+blink::WebString CONTENT_EXPORT
+GetVideoKindForFormat(const media::VideoCaptureFormat& format);
+
// MediaStreamVideoTrack is a video specific representation of a
// blink::WebMediaStreamTrack in content. It is owned by the blink object
// and can be retrieved from a blink object using

Powered by Google App Engine
This is Rietveld 408576698