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

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

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Add more DCHECKs 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 // TODO(smcgruer): Update constructor to match latest spec.
8 [
9 Constructor(DOMString animatorName,
10 sequence<KeyframeEffectReadOnly> effects,
11 sequence<(DocumentTimeline or ScrollTimeline)> timelines,
12 SerializedScriptValue options),
13 RaisesException=Constructor,
14 RuntimeEnabled=CompositorWorker
15 ] interface WorkletAnimation {
16 readonly attribute AnimationPlayState playState;
17 void play();
18 void cancel();
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698