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

Side by Side Diff: Source/core/html/track/TextTrack.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void setReadinessState(ReadinessState state) { m_readinessState = state; } 92 void setReadinessState(ReadinessState state) { m_readinessState = state; }
93 93
94 TextTrackCueList* cues(); 94 TextTrackCueList* cues();
95 TextTrackCueList* activeCues() const; 95 TextTrackCueList* activeCues() const;
96 96
97 void clearClient() { m_client = 0; } 97 void clearClient() { m_client = 0; }
98 TextTrackClient* client() { return m_client; } 98 TextTrackClient* client() { return m_client; }
99 99
100 void addCue(PassRefPtr<TextTrackCue>); 100 void addCue(PassRefPtr<TextTrackCue>);
101 void removeCue(TextTrackCue*, ExceptionState&); 101 void removeCue(TextTrackCue*, ExceptionState&);
102 bool hasCue(TextTrackCue*);
103 102
104 VTTRegionList* regions(); 103 VTTRegionList* regions();
105 void addRegion(PassRefPtr<VTTRegion>); 104 void addRegion(PassRefPtr<VTTRegion>);
106 void removeRegion(VTTRegion*, ExceptionState&); 105 void removeRegion(VTTRegion*, ExceptionState&);
107 106
108 void cueWillChange(TextTrackCue*); 107 void cueWillChange(TextTrackCue*);
109 void cueDidChange(TextTrackCue*); 108 void cueDidChange(TextTrackCue*);
110 109
111 DEFINE_ATTRIBUTE_EVENT_LISTENER(cuechange); 110 DEFINE_ATTRIBUTE_EVENT_LISTENER(cuechange);
112 111
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 TextTrackType m_trackType; 155 TextTrackType m_trackType;
157 ReadinessState m_readinessState; 156 ReadinessState m_readinessState;
158 int m_trackIndex; 157 int m_trackIndex;
159 int m_renderedTrackIndex; 158 int m_renderedTrackIndex;
160 bool m_hasBeenConfigured; 159 bool m_hasBeenConfigured;
161 }; 160 };
162 161
163 } // namespace WebCore 162 } // namespace WebCore
164 163
165 #endif 164 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698