OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [DartPackage="mojo_services"] | 5 [DartPackage="mojo_services"] |
6 module mojo; | 6 module mojo; |
7 | 7 |
8 import "geometry/public/interfaces/geometry.mojom"; | 8 import "geometry/interfaces/geometry.mojom"; |
9 | 9 |
10 enum AnimationTweenType { | 10 enum AnimationTweenType { |
11 LINEAR, | 11 LINEAR, |
12 EASE_IN, | 12 EASE_IN, |
13 EASE_OUT, | 13 EASE_OUT, |
14 EASE_IN_OUT, | 14 EASE_IN_OUT, |
15 }; | 15 }; |
16 | 16 |
17 enum AnimationProperty { | 17 enum AnimationProperty { |
18 // Used for pausing. | 18 // Used for pausing. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 array<AnimationElement> elements; | 54 array<AnimationElement> elements; |
55 }; | 55 }; |
56 | 56 |
57 // AnimationGroup identifies a view and a set of AnimationSequences to apply | 57 // AnimationGroup identifies a view and a set of AnimationSequences to apply |
58 // to the view. Each sequence is run in parallel. | 58 // to the view. Each sequence is run in parallel. |
59 struct AnimationGroup { | 59 struct AnimationGroup { |
60 uint32 view_id; | 60 uint32 view_id; |
61 array<AnimationSequence> sequences; | 61 array<AnimationSequence> sequences; |
62 }; | 62 }; |
OLD | NEW |