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

Unified Diff: Source/core/html/track/VTTCue.idl

Issue 63173020: Split VTTCue from TextTrackCue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/VTTCue.cpp ('k') | Source/core/html/track/WebVTTParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/VTTCue.idl
diff --git a/Source/core/css/xhtmlmp.css b/Source/core/html/track/VTTCue.idl
similarity index 72%
copy from Source/core/css/xhtmlmp.css
copy to Source/core/html/track/VTTCue.idl
index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..5464248c061e06707726b18a4acf330a9dafd327 100644
--- a/Source/core/css/xhtmlmp.css
+++ b/Source/core/html/track/VTTCue.idl
@@ -27,11 +27,18 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* Default styles for XHTML Mobile Profile documents where they differ from html.css */
-
-@viewport {
- width: auto;
- /* Ideally these should be removed. Currently here to avoid test result regressions. */
- min-zoom: 0.25;
- max-zoom: 5;
-}
+[
+ RuntimeEnabled=VideoTrack,
+ Constructor(double startTime, double endTime, DOMString text),
+ ConstructorCallWith=Document
+] interface VTTCue : TextTrackCue {
+ [RuntimeEnabled=WebVTTRegions] attribute DOMString regionId;
+ [RaisesException=Setter] attribute DOMString vertical;
+ attribute boolean snapToLines;
+ [RaisesException=Setter] attribute long line;
+ [RaisesException=Setter] attribute long position;
+ [RaisesException=Setter] attribute long size;
+ [RaisesException=Setter] attribute DOMString align;
+ attribute DOMString text;
+ DocumentFragment getCueAsHTML();
+};
« no previous file with comments | « Source/core/html/track/VTTCue.cpp ('k') | Source/core/html/track/WebVTTParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698