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

Unified Diff: Source/core/loader/TextTrackLoader.h

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert Logging Created 7 years, 2 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: Source/core/loader/TextTrackLoader.h
diff --git a/Source/core/loader/TextTrackLoader.h b/Source/core/loader/TextTrackLoader.h
index 4eb68a81aa60693534517251c6c329f258a81c60..6f915b2d40aca7f933f4cc826e6979078bd92f47 100644
--- a/Source/core/loader/TextTrackLoader.h
+++ b/Source/core/loader/TextTrackLoader.h
@@ -47,9 +47,7 @@ public:
virtual void newCuesAvailable(TextTrackLoader*) = 0;
virtual void cueLoadingStarted(TextTrackLoader*) = 0;
virtual void cueLoadingCompleted(TextTrackLoader*, bool loadingFailed) = 0;
-#if ENABLE(WEBVTT_REGIONS)
virtual void newRegionsAvailable(TextTrackLoader*) = 0;
-#endif
};
class TextTrackLoader : public ResourceClient, private WebVTTParserClient {
@@ -69,9 +67,7 @@ public:
State loadState() { return m_state; }
void getNewCues(Vector<RefPtr<TextTrackCue> >& outputCues);
-#if ENABLE(WEBVTT_REGIONS)
void getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegions);
-#endif
private:
// ResourceClient
@@ -80,9 +76,7 @@ private:
// WebVTTParserClient
virtual void newCuesParsed();
-#if ENABLE(WEBVTT_REGIONS)
virtual void newRegionsParsed();
-#endif
virtual void fileFailedToParse();
TextTrackLoader(TextTrackLoaderClient*, ScriptExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698