Chromium Code Reviews| Index: third_party/WebKit/Source/modules/compositorworker/WorkletAnimation.idl |
| diff --git a/third_party/WebKit/Source/modules/compositorworker/WorkletAnimation.idl b/third_party/WebKit/Source/modules/compositorworker/WorkletAnimation.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..08ff80052c493096aa90504cc9c5867b30e77b75 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/compositorworker/WorkletAnimation.idl |
| @@ -0,0 +1,15 @@ |
| +// Copyright 2017 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. |
| + |
| +// TODO(smcgruer): Spec link. |
| + |
| +[ |
| + Constructor(DOMString animatorName, |
| + sequence<KeyframeEffectReadOnly> effects, |
| + sequence<(DocumentTimeline or ScrollTimeline)> timelines, |
| + SerializedScriptValue user_data), |
|
majidvp
2017/06/06 17:23:14
nit: 'options' feels more appropriate to me than |
smcgruer
2017/06/07 18:23:25
Done.
|
| + RaisesException=Constructor, |
| + RuntimeEnabled=CompositorWorker, |
| +] interface WorkletAnimation { |
| +}; |