Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| diff --git a/third_party/WebKit/public/platform/WebMediaStreamTrack.h b/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| index d67453bccaae29ddf91810880cb27bf326edc837..61769ec26566d3fd31993513b82d7891f6c1119d 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| +++ b/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| @@ -60,6 +60,14 @@ class WebMediaStreamTrack { |
| virtual void getSettings(Settings&) = 0; |
| }; |
| + enum class ContentHint { |
| + None, |
| + AudioSpeech, |
| + AudioMusic, |
| + VideoFluid, |
| + VideoDetailed |
| + }; |
| + |
| WebMediaStreamTrack() {} |
| WebMediaStreamTrack(const WebMediaStreamTrack& other) { assign(other); } |
| ~WebMediaStreamTrack() { reset(); } |
| @@ -82,6 +90,7 @@ class WebMediaStreamTrack { |
| BLINK_PLATFORM_EXPORT WebMediaStreamSource source() const; |
| BLINK_PLATFORM_EXPORT bool isEnabled() const; |
| BLINK_PLATFORM_EXPORT bool isMuted() const; |
| + BLINK_PLATFORM_EXPORT ContentHint contentHint() const; |
|
esprehn
2016/12/13 18:24:25
Due to the big blink rename this will need to beco
pbos
2016/12/13 19:11:06
Done (->ContentHintType).
|
| // Extra data associated with this WebMediaStream. |
| // If non-null, the extra data pointer will be deleted when the object is |