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

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

Issue 921833003: Expose APIs for text track settings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments from fs and added a new test Created 5 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: Source/core/html/track/vtt/VTTCue.h
diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
index a93c9873fb003e27d7bcaeebd017483377523f2e..a21430ab6b2366927f5af93fe2dc92344240915d 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -62,6 +62,9 @@ public:
virtual void trace(Visitor*) override;
+ // Applies CSS properties retrieved from settings on the cue box.
+ void applyUserOverrideCSSProperties();
+
private:
VTTCueBox(Document&, VTTCue*);
@@ -144,6 +147,9 @@ public:
virtual void trace(Visitor*) override;
+ // Applies CSS properties retrieved from settings on text tracks elements.
+ void applyUserOverrideCSSProperties();
+
private:
VTTCue(Document&, double startTime, double endTime, const String& text);

Powered by Google App Engine
This is Rietveld 408576698