bool AudioTrack::isValidKind(const AtomicString& kind) const { return (kind == alternativeKeyword()) || (kind == descriptionsKeyword()) || (kind == mainKeyword()) || (kind == mainDescriptionsKeyword()) || (kind == translationKeyword()) || (kind == commentaryKeyword()); }
bool VideoTrack::isValidKind(const AtomicString& kind) const { return (kind == alternativeKeyword()) || (kind == captionsKeyword()) || (kind == mainKeyword()) || (kind == signKeyword()) || (kind == subtitlesKeyword()) || (kind == commentaryKeyword()); }
bool AudioTrack::isValidKind(const AtomicString& value) const { if (value == alternativeKeyword()) return true; if (value == descriptionKeyword()) return true; if (value == mainKeyword()) return true; if (value == mainDescKeyword()) return true; if (value == translationKeyword()) return true; if (value == commentaryKeyword()) return true; return false; }
bool VideoTrack::isValidKind(const AtomicString& value) const { if (value == alternativeKeyword()) return true; if (value == captionsKeyword()) return true; if (value == mainKeyword()) return true; if (value == signKeyword()) return true; if (value == subtitlesKeyword()) return true; if (value == commentaryKeyword()) return true; return false; }