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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/WorkletAnimation.idl

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: add spec link Created 3 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://wicg.github.io/animation-worklet/#worklet-animation-desc
6
7 enum AnimationPlayState { "idle", "pending", "running" };
Eric Willigers 2017/09/01 02:25:23 AnimationPlayState is already defined in core/anim
smcgruer 2017/09/06 19:16:55 Good point. I was trying to create a restricted en
8
9 [
10 Constructor(DOMString animatorName,
11 sequence<KeyframeEffectReadOnly> effects,
12 sequence<(DocumentTimeline or ScrollTimeline)> timelines,
13 SerializedScriptValue options),
14 RaisesException=Constructor,
15 RuntimeEnabled=CompositorWorker
16 ] interface WorkletAnimation {
17 readonly attribute AnimationPlayState playState;
18 void play();
19 void cancel();
20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698