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

Unified Diff: html/track/TextTrackRegion.idl

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 9 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: html/track/TextTrackRegion.idl
diff --git a/html/track/TextTrackCueList.idl b/html/track/TextTrackRegion.idl
similarity index 64%
copy from html/track/TextTrackCueList.idl
copy to html/track/TextTrackRegion.idl
index e51349c2e5edb8d28c8199492271f6e4a46d1d47..328166be7c373dc5846ef37ab54ea0cb8d7a963d 100644
--- a/html/track/TextTrackCueList.idl
+++ b/html/track/TextTrackRegion.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -24,13 +24,27 @@
*/
[
- Conditional=VIDEO_TRACK,
+ Conditional=VIDEO_TRACK & WEBVTT_REGIONS,
V8EnabledAtRuntime=webkitVideoTrack,
- IndexedGetter,
- ImplementationLacksVTable
-] interface TextTrackCueList {
- readonly attribute unsigned long length;
- TextTrackCue item(in unsigned long index);
- TextTrackCue getCueById(in DOMString id);
+ JSGenerateToNativeObject,
+ Constructor()
+] interface TextTrackRegion {
+ readonly attribute TextTrack track;
+
+ attribute DOMString id;
+ attribute double width
+ setter raises (DOMException);
+ attribute long height
+ setter raises (DOMException);
+ attribute double regionAnchorX
+ setter raises (DOMException);
+ attribute double regionAnchorY
+ setter raises (DOMException);
+ attribute double viewportAnchorX
+ setter raises (DOMException);
+ attribute double viewportAnchorY
+ setter raises (DOMException);
+ attribute DOMString scroll
+ setter raises (DOMException);
};

Powered by Google App Engine
This is Rietveld 408576698