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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.idl

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. 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
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/core/animation/AnimationEffectReadOnly.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.idl
diff --git a/third_party/WebKit/Source/core/animation/Animation.idl b/third_party/WebKit/Source/core/animation/Animation.idl
index 9f49ff93854b0f854314b240ebcec4e9435b7e5b..f5b73d2b0be7727c02f5321bf18a84d47eb22c7a 100644
--- a/third_party/WebKit/Source/core/animation/Animation.idl
+++ b/third_party/WebKit/Source/core/animation/Animation.idl
@@ -38,8 +38,8 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
NoInterfaceObject,
] interface Animation : EventTarget {
// TODO(suzyh): Make timeline mutable.
- [RuntimeEnabled=WebAnimationsAPI] attribute AnimationEffectReadOnly? effect;
- [RuntimeEnabled=WebAnimationsAPI] readonly attribute AnimationTimeline? timeline;
+ [RuntimeEnabled=WebAnimationsAPI, Measure] attribute AnimationEffectReadOnly? effect;
+ [RuntimeEnabled=WebAnimationsAPI, Measure] readonly attribute AnimationTimeline? timeline;
[Measure] attribute double? startTime;
[Measure] attribute double? currentTime;
[Measure] attribute double playbackRate;
@@ -52,6 +52,6 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
[Measure] void cancel();
[Measure] attribute EventHandler onfinish;
[Measure] attribute EventHandler oncancel;
- [RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState] readonly attribute Promise<Animation> finished;
- [RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState] readonly attribute Promise<Animation> ready;
+ [RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState, Measure] readonly attribute Promise<Animation> finished;
+ [RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState, Measure] readonly attribute Promise<Animation> ready;
};
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/core/animation/AnimationEffectReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698