| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/animation/DocumentTimeline.h" | 36 #include "core/animation/DocumentTimeline.h" |
| 37 #include "core/animation/EffectInput.h" | 37 #include "core/animation/EffectInput.h" |
| 38 #include "core/animation/ElementAnimations.h" | 38 #include "core/animation/ElementAnimations.h" |
| 39 #include "core/animation/KeyframeEffect.h" | 39 #include "core/animation/KeyframeEffect.h" |
| 40 #include "core/animation/KeyframeEffectOptions.h" | 40 #include "core/animation/KeyframeEffectOptions.h" |
| 41 #include "core/animation/KeyframeEffectReadOnly.h" | 41 #include "core/animation/KeyframeEffectReadOnly.h" |
| 42 #include "core/animation/TimingInput.h" | 42 #include "core/animation/TimingInput.h" |
| 43 #include "core/dom/Document.h" | 43 #include "core/dom/Document.h" |
| 44 #include "core/dom/Element.h" | 44 #include "core/dom/Element.h" |
| 45 #include "platform/RuntimeEnabledFeatures.h" | 45 #include "platform/RuntimeEnabledFeatures.h" |
| 46 #include "wtf/Allocator.h" | 46 #include "platform/wtf/Allocator.h" |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 class ElementAnimation { | 50 class ElementAnimation { |
| 51 STATIC_ONLY(ElementAnimation); | 51 STATIC_ONLY(ElementAnimation); |
| 52 | 52 |
| 53 public: | 53 public: |
| 54 static Animation* animate(ScriptState* scriptState, | 54 static Animation* animate(ScriptState* scriptState, |
| 55 Element& element, | 55 Element& element, |
| 56 const DictionarySequenceOrDictionary& effectInput, | 56 const DictionarySequenceOrDictionary& effectInput, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 animation->effect()->isInEffect())) | 124 animation->effect()->isInEffect())) |
| 125 animations.push_back(animation); | 125 animations.push_back(animation); |
| 126 } | 126 } |
| 127 return animations; | 127 return animations; |
| 128 } | 128 } |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace blink | 131 } // namespace blink |
| 132 | 132 |
| 133 #endif // ElementAnimation_h | 133 #endif // ElementAnimation_h |
| OLD | NEW |