| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CC_ANIMATION_ANIMATION_EVENTS_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_EVENTS_H_ |
| 6 #define CC_ANIMATION_ANIMATION_EVENTS_H_ | 6 #define CC_ANIMATION_ANIMATION_EVENTS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "cc/animation/animation.h" | 11 #include "cc/animation/animation.h" |
| 12 #include "cc/animation/animation_curve.h" | 12 #include "cc/animation/animation_curve.h" |
| 13 #include "cc/animation/element_id.h" | |
| 14 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
| 15 #include "cc/output/filter_operations.h" | 14 #include "cc/output/filter_operations.h" |
| 15 #include "cc/trees/element_id.h" |
| 16 #include "cc/trees/mutator_host.h" | 16 #include "cc/trees/mutator_host.h" |
| 17 #include "ui/gfx/transform.h" | 17 #include "ui/gfx/transform.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 struct CC_EXPORT AnimationEvent { | 21 struct CC_EXPORT AnimationEvent { |
| 22 enum Type { STARTED, FINISHED, ABORTED, PROPERTY_UPDATE, TAKEOVER }; | 22 enum Type { STARTED, FINISHED, ABORTED, PROPERTY_UPDATE, TAKEOVER }; |
| 23 | 23 |
| 24 AnimationEvent(Type type, | 24 AnimationEvent(Type type, |
| 25 ElementId element_id, | 25 ElementId element_id, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 54 // MutatorEvents implementation. | 54 // MutatorEvents implementation. |
| 55 ~AnimationEvents() override; | 55 ~AnimationEvents() override; |
| 56 bool IsEmpty() const override; | 56 bool IsEmpty() const override; |
| 57 | 57 |
| 58 std::vector<AnimationEvent> events_; | 58 std::vector<AnimationEvent> events_; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace cc | 61 } // namespace cc |
| 62 | 62 |
| 63 #endif // CC_ANIMATION_ANIMATION_EVENTS_H_ | 63 #endif // CC_ANIMATION_ANIMATION_EVENTS_H_ |
| OLD | NEW |