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

Unified Diff: Source/core/html/track/vtt/VTTRegion.h

Issue 137033002: Use VTTScanner for VTT region settings parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/html/track/vtt/VTTParser.cpp ('k') | Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTRegion.h
diff --git a/Source/core/html/track/vtt/VTTRegion.h b/Source/core/html/track/vtt/VTTRegion.h
index f9452c22498fc2b14f7658850f04c81ee695eccb..2b414871708abc8567be70cd163709c428c5a2fc 100644
--- a/Source/core/html/track/vtt/VTTRegion.h
+++ b/Source/core/html/track/vtt/VTTRegion.h
@@ -43,6 +43,7 @@ namespace WebCore {
class ExceptionState;
class HTMLDivElement;
class VTTCueBox;
+class VTTScanner;
class VTTRegion : public RefCounted<VTTRegion> {
public:
@@ -112,7 +113,7 @@ private:
ViewportAnchor,
Scroll
};
- RegionSetting getSettingFromString(const String&);
+ RegionSetting scanSettingName(VTTScanner&);
void parseSettingValue(RegionSetting, const String&);
void parseSetting(const String&, unsigned*);
« no previous file with comments | « Source/core/html/track/vtt/VTTParser.cpp ('k') | Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698