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

Unified Diff: third_party/WebKit/Source/core/html/track/TrackBase.h

Issue 1984663002: Remove mode-transition in TextTrack::setKind (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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: third_party/WebKit/Source/core/html/track/TrackBase.h
diff --git a/third_party/WebKit/Source/core/html/track/TrackBase.h b/third_party/WebKit/Source/core/html/track/TrackBase.h
index e756c0cd3217a49cc1ccdfc8ac28786c2d705664..d622095798c74391032891f391871ecade7e6268 100644
--- a/third_party/WebKit/Source/core/html/track/TrackBase.h
+++ b/third_party/WebKit/Source/core/html/track/TrackBase.h
@@ -45,16 +45,9 @@ public:
WebMediaPlayer::TrackType type() const { return m_type; }
const AtomicString& kind() const { return m_kind; }
- virtual void setKind(const AtomicString&);
-
AtomicString label() const { return m_label; }
- void setLabel(const AtomicString& label) { m_label = label; }
-
AtomicString language() const { return m_language; }
- void setLanguage(const AtomicString& language) { m_language = language; }
-
String id() const { return m_id; }
- void setId(const String& id) { m_id = id; }
void setMediaElement(HTMLMediaElement* mediaElement) { m_mediaElement = mediaElement; }
HTMLMediaElement* mediaElement() const { return m_mediaElement; }
@@ -65,7 +58,6 @@ public:
protected:
TrackBase(WebMediaPlayer::TrackType, const AtomicString& kind, const AtomicString& label, const AtomicString& language, const String& id);
-private:
WebMediaPlayer::TrackId m_trackId;
WebMediaPlayer::TrackType m_type;
AtomicString m_kind;
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TextTrack.cpp ('k') | third_party/WebKit/Source/core/html/track/TrackBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698