| 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 module mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "mojo/services/public/interfaces/geometry/geometry.mojom"; | 7 import "mojo/services/geometry/public/interfaces/geometry.mojom"; |
| 8 | 8 |
| 9 enum AnimationTweenType { | 9 enum AnimationTweenType { |
| 10 LINEAR, | 10 LINEAR, |
| 11 EASE_IN, | 11 EASE_IN, |
| 12 EASE_OUT, | 12 EASE_OUT, |
| 13 EASE_IN_OUT, | 13 EASE_IN_OUT, |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 enum AnimationProperty { | 16 enum AnimationProperty { |
| 17 // Used for pausing. | 17 // Used for pausing. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 array<AnimationElement> elements; | 53 array<AnimationElement> elements; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 // AnimationGroup identifies a view and a set of AnimationSequences to apply | 56 // AnimationGroup identifies a view and a set of AnimationSequences to apply |
| 57 // to the view. Each sequence is run in parallel. | 57 // to the view. Each sequence is run in parallel. |
| 58 struct AnimationGroup { | 58 struct AnimationGroup { |
| 59 uint32 view_id; | 59 uint32 view_id; |
| 60 array<AnimationSequence> sequences; | 60 array<AnimationSequence> sequences; |
| 61 }; | 61 }; |
| OLD | NEW |