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

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

Issue 74623002: Remove the logic for de-duplicating in-band text track cues (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebVTTParser.cpp was moved Created 7 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
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCue.h
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h
index acf0d55005d0a6fd9bcdbb8bb2c3e020a93f49ac..54085462ac7eeee8626299c9dfd588425730f5c2 100644
--- a/Source/core/html/track/TextTrackCue.h
+++ b/Source/core/html/track/TextTrackCue.h
@@ -116,8 +116,7 @@ public:
const String& text() const { return m_content; }
void setText(const String&);
- const String& cueSettings() const { return m_settings; }
- void setCueSettings(const String&);
+ void parseSettings(const String&);
int cueIndex();
void invalidateCueIndex();
@@ -173,12 +172,6 @@ public:
};
CueAlignment getAlignment() const { return m_cueAlignment; }
- bool operator==(const TextTrackCue&) const;
- bool operator!=(const TextTrackCue& cue) const
- {
- return !(*this == cue);
- }
-
DEFINE_ATTRIBUTE_EVENT_LISTENER(enter);
DEFINE_ATTRIBUTE_EVENT_LISTENER(exit);
@@ -194,7 +187,6 @@ private:
void copyWebVTTNodeToDOMTree(ContainerNode* WebVTTNode, ContainerNode* root);
std::pair<double, double> getPositionCoordinates() const;
- void parseSettings(const String&);
void determineTextDirection();
void calculateDisplayParameters();
@@ -217,7 +209,6 @@ private:
double m_startTime;
double m_endTime;
String m_content;
- String m_settings;
int m_linePosition;
int m_computedLinePosition;
int m_textPosition;
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698