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

Side by Side Diff: sky/engine/core/animation/Timing.idl

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/engine/core/animation/Timing.h ('k') | sky/engine/core/animation/TimingCalculations.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 [
6 ImplementedAs=AnimationNodeTiming,
7 ] interface Timing {
8 attribute double delay;
9 attribute double endDelay;
10 attribute DOMString fill;
11 attribute double iterationStart;
12 attribute double iterations;
13
14 // FIXME: This uses a NamedPropertyGetter to implement the 'duration' attrib ute
15 // because duration has a union type (which is tricky to do with an attribut e).
16 // Fix will be in a follow-up patch if there is a better solution.
17 [ImplementedAs=getDuration] getter DOMString (DOMString name);
18
19 // FIXME: If the user calls animation.specified.duration = "" (empty string) then duration
20 // gets set to 0 (This is correct behavior for IDL). Correct result is for d uration to
21 // be set to 'auto'.
22 // [TypeChecking=Interface, ImplementedAs=setDuration] setter double (DOMStr ing name, double duration);
23
24 attribute double playbackRate;
25 attribute DOMString direction;
26 attribute DOMString easing;
27 };
OLDNEW
« no previous file with comments | « sky/engine/core/animation/Timing.h ('k') | sky/engine/core/animation/TimingCalculations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698