| 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;
|
| };
|
|
|