Index: core/animation/ComputedTimingProperties.idl |
diff --git a/core/animation/ComputedTimingProperties.idl b/core/animation/ComputedTimingProperties.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71e053007648d6abb3af2e5ad6dffbb65eea9ca5 |
--- /dev/null |
+++ b/core/animation/ComputedTimingProperties.idl |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/web-animations/#the-computedtimingproperties-dictionary |
+ |
+dictionary ComputedTimingProperties : KeyframeEffectOptions { |
+ // TODO(dstockwell): There is no startTime member in the spec. |
+ double startTime; |
+ unrestricted double endTime; |
+ unrestricted double activeDuration; |
+ double? localTime; |
+ // TODO(dstockwell): The timeFraction and currentIteration members should |
+ // both be of type unrestricted double? (nullable). |
+ unrestricted double timeFraction; |
+ unsigned long? currentIteration; |
+}; |