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

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 years 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: third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl
index 172523b4cc957b62bd1054e670c30aa7c5146b14..37c545437b1b2cb80719baf00b89c9ab35784c61 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.idl
@@ -29,18 +29,18 @@
Constructor,
RuntimeEnabled=WebVTTRegions,
] interface VTTRegion {
- [RaisesException=Setter] attribute double width;
+ [Measure, RaisesException=Setter] attribute double width;
// TODO(foolip): height should be called lines.
- [RaisesException=Setter] attribute long height;
- [RaisesException=Setter] attribute double regionAnchorX;
- [RaisesException=Setter] attribute double regionAnchorY;
- [RaisesException=Setter] attribute double viewportAnchorX;
- [RaisesException=Setter] attribute double viewportAnchorY;
+ [Measure, RaisesException=Setter] attribute long height;
+ [Measure, RaisesException=Setter] attribute double regionAnchorX;
+ [Measure, RaisesException=Setter] attribute double regionAnchorY;
+ [Measure, RaisesException=Setter] attribute double viewportAnchorX;
+ [Measure, RaisesException=Setter] attribute double viewportAnchorY;
// TODO(philip): scroll should be of type ScrollSetting.
- [RaisesException=Setter] attribute DOMString scroll;
+ [Measure, RaisesException=Setter] attribute DOMString scroll;
// TODO(foolip): The track/id attributes are gone from the spec:
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
- readonly attribute TextTrack track;
- attribute DOMString id;
+ [Measure] readonly attribute TextTrack track;
+ [Measure] attribute DOMString id;
};

Powered by Google App Engine
This is Rietveld 408576698