| 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 23 matching lines...) Expand all Loading... |
| 34 #include "core/animation/AnimationStack.h" | 34 #include "core/animation/AnimationStack.h" |
| 35 #include "core/animation/css/CSSAnimations.h" | 35 #include "core/animation/css/CSSAnimations.h" |
| 36 #include "wtf/HashCountedSet.h" | 36 #include "wtf/HashCountedSet.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 39 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class CSSAnimations; | 43 class CSSAnimations; |
| 44 class RenderObject; | |
| 45 class Element; | |
| 46 | 44 |
| 47 using AnimationPlayerCountedSet = WillBeHeapHashCountedSet<RawPtrWillBeWeakMembe
r<AnimationPlayer>>; | 45 using AnimationPlayerCountedSet = WillBeHeapHashCountedSet<RawPtrWillBeWeakMembe
r<AnimationPlayer>>; |
| 48 | 46 |
| 49 class ActiveAnimations : public NoBaseWillBeGarbageCollectedFinalized<ActiveAnim
ations> { | 47 class ActiveAnimations : public NoBaseWillBeGarbageCollectedFinalized<ActiveAnim
ations> { |
| 50 WTF_MAKE_NONCOPYABLE(ActiveAnimations); | 48 WTF_MAKE_NONCOPYABLE(ActiveAnimations); |
| 51 public: | 49 public: |
| 52 ActiveAnimations(); | 50 ActiveAnimations(); |
| 53 ~ActiveAnimations(); | 51 ~ActiveAnimations(); |
| 54 | 52 |
| 55 // Animations that are currently active for this element, their effects will
be applied | 53 // Animations that are currently active for this element, their effects will
be applied |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 Vector<Animation*> m_animations; | 96 Vector<Animation*> m_animations; |
| 99 #endif | 97 #endif |
| 100 | 98 |
| 101 // CSSAnimations checks if a style change is due to animation. | 99 // CSSAnimations checks if a style change is due to animation. |
| 102 friend class CSSAnimations; | 100 friend class CSSAnimations; |
| 103 }; | 101 }; |
| 104 | 102 |
| 105 } // namespace blink | 103 } // namespace blink |
| 106 | 104 |
| 107 #endif | 105 #endif |
| OLD | NEW |