Chromium Code Reviews| 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..166e451156753418282fd0a62fb2ca44d4ad29ee 100644 |
| --- a/content/renderer/media/media_stream_video_track.h |
| +++ b/content/renderer/media/media_stream_video_track.h |
| @@ -16,9 +16,19 @@ |
| #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 { |
| +// VideoKind enum values. https://w3c.github.io/mediacapture-depth. |
|
Guido Urdaneta
2017/02/10 12:45:21
These are used only here and in media_stream_const
aleksandar.stojiljkovic
2017/02/10 15:06:51
String constants removed. It is not needed to have
|
| +CONTENT_EXPORT extern const char kVideoKindColor[]; |
| +CONTENT_EXPORT extern const char kVideoKindDepth[]; |
| + |
| +// Calculates and returns videoKind value for |format|. |
| +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 |