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

Unified Diff: Source/core/html/track/AudioTrack.h

Issue 691313002: MSE: Implement TrackDefault object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased and addressed PS9 comments Created 6 years, 1 month 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: Source/core/html/track/AudioTrack.h
diff --git a/Source/core/html/track/AudioTrack.h b/Source/core/html/track/AudioTrack.h
index d084a441642c7a899df16d047efae146ef4429db..bd7dcda22e6512a012618ab5b78b1d901d530d5e 100644
--- a/Source/core/html/track/AudioTrack.h
+++ b/Source/core/html/track/AudioTrack.h
@@ -30,11 +30,13 @@ public:
static const AtomicString& translationKeyword();
static const AtomicString& commentaryKeyword();
+ static bool isValidKindKeyword(const String&);
+
private:
AudioTrack(const String& id, const AtomicString& kind, const AtomicString& label, const AtomicString& language, bool enabled);
// TrackBase
- virtual bool isValidKind(const AtomicString&) const override;
+ virtual bool isValidKind(const AtomicString& kind) const override { return isValidKindKeyword(kind); }
virtual AtomicString defaultKind() const override;
bool m_enabled;
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-expected.txt ('k') | Source/core/html/track/AudioTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698