OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 class ExceptionState; | 55 class ExceptionState; |
56 | 56 |
57 class CORE_EXPORT Animation final | 57 class CORE_EXPORT Animation final |
58 : public EventTargetWithInlineData | 58 : public EventTargetWithInlineData |
59 , public ActiveScriptWrappable | 59 , public ActiveScriptWrappable |
60 , public ActiveDOMObject | 60 , public ActiveDOMObject |
61 , public CompositorAnimationDelegate | 61 , public CompositorAnimationDelegate |
62 , public CompositorAnimationPlayerClient { | 62 , public CompositorAnimationPlayerClient { |
63 DEFINE_WRAPPERTYPEINFO(); | 63 DEFINE_WRAPPERTYPEINFO(); |
64 USING_GARBAGE_COLLECTED_MIXIN(Animation); | 64 USING_GARBAGE_COLLECTED_MIXIN(Animation); |
| 65 USING_PRE_FINALIZER(Animation, dispose); |
65 public: | 66 public: |
66 enum AnimationPlayState { | 67 enum AnimationPlayState { |
67 Unset, | 68 Unset, |
68 Idle, | 69 Idle, |
69 Pending, | 70 Pending, |
70 Running, | 71 Running, |
71 Paused, | 72 Paused, |
72 Finished | 73 Finished |
73 }; | 74 }; |
74 | 75 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 306 |
306 bool m_currentTimePending; | 307 bool m_currentTimePending; |
307 bool m_stateIsBeingUpdated; | 308 bool m_stateIsBeingUpdated; |
308 | 309 |
309 bool m_effectSuppressed; | 310 bool m_effectSuppressed; |
310 }; | 311 }; |
311 | 312 |
312 } // namespace blink | 313 } // namespace blink |
313 | 314 |
314 #endif // Animation_h | 315 #endif // Animation_h |
OLD | NEW |