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

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

Issue 2685943004: Remove TextTrack.regions and VTTRegionList (Closed)
Patch Set: Rebase Created 3 years, 10 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/vtt/VTTParser.h
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h
index e8258632497b659e7c4223bd76f72196fd86e578..f5d9a721f6e7dc01ba8f9eabf345101f40420963 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h
@@ -36,7 +36,6 @@
#include "core/html/parser/TextResourceDecoder.h"
#include "core/html/track/vtt/BufferedLineReader.h"
#include "core/html/track/vtt/VTTCue.h"
-#include "core/html/track/vtt/VTTRegion.h"
#include "core/html/track/vtt/VTTTokenizer.h"
#include "platform/heap/Handle.h"
#include "wtf/text/StringBuilder.h"
@@ -52,7 +51,6 @@ class VTTParserClient : public GarbageCollectedMixin {
virtual ~VTTParserClient() {}
virtual void newCuesParsed() = 0;
- virtual void newRegionsParsed() = 0;
virtual void fileFailedToParse() = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
@@ -103,7 +101,6 @@ class VTTParser final : public GarbageCollectedFinalized<VTTParser> {
// Transfers ownership of last parsed cues to caller.
void getNewCues(HeapVector<Member<TextTrackCue>>&);
- void getNewRegions(HeapVector<Member<VTTRegion>>&);
DECLARE_TRACE();
@@ -143,7 +140,6 @@ class VTTParser final : public GarbageCollectedFinalized<VTTParser> {
HeapVector<Member<TextTrackCue>> m_cueList;
VTTRegionMap m_regionMap;
- HeapVector<Member<VTTRegion>> m_regionList;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698