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

Unified Diff: core/animation/TimedItem.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 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
« no previous file with comments | « core/animation/Player.idl ('k') | core/animation/Timeline.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/TimedItem.idl
diff --git a/core/timing/PerformanceEntry.idl b/core/animation/TimedItem.idl
similarity index 78%
copy from core/timing/PerformanceEntry.idl
copy to core/animation/TimedItem.idl
index 2f5771fc2c184c1a67da67e2743cf5ccdacd07e4..34fa04dae6a16db96fd28c33742c787cf9c1cbe9 100644
--- a/core/timing/PerformanceEntry.idl
+++ b/core/animation/TimedItem.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 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 are
@@ -28,12 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// See: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html
[
- Custom=Wrap,
-] interface PerformanceEntry {
- readonly attribute DOMString name;
- readonly attribute DOMString entryType;
+ RuntimeEnabled=WebAnimationsAPI,
+] interface TimedItem {
+ // Playback state
+ readonly attribute double? localTime;
+ readonly attribute unsigned long? currentIteration;
+
+ // Calculated timing
readonly attribute double startTime;
readonly attribute double duration;
+ readonly attribute double activeDuration;
+ readonly attribute double endTime;
+
+ readonly attribute Timing specified;
+ readonly attribute Player? player;
};
« no previous file with comments | « core/animation/Player.idl ('k') | core/animation/Timeline.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698