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

Unified Diff: third_party/WebKit/public/platform/WebMediaStreamTrack.h

Issue 2501623003: Implement MediaStreamTrack contentHint skeleton. (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaStreamCenter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaStreamCenter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698