| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 WTF_MAKE_NONCOPYABLE(CSSAnimations); | 54 WTF_MAKE_NONCOPYABLE(CSSAnimations); |
| 55 DISALLOW_NEW(); | 55 DISALLOW_NEW(); |
| 56 | 56 |
| 57 public: | 57 public: |
| 58 CSSAnimations(); | 58 CSSAnimations(); |
| 59 | 59 |
| 60 bool isAnimationForInspector(const Animation&); | 60 bool isAnimationForInspector(const Animation&); |
| 61 bool isTransitionAnimationForInspector(const Animation&) const; | 61 bool isTransitionAnimationForInspector(const Animation&) const; |
| 62 | 62 |
| 63 static const StylePropertyShorthand& propertiesForTransitionAll(); | 63 static const StylePropertyShorthand& propertiesForTransitionAll(); |
| 64 static bool isAnimatableProperty(CSSPropertyID); | 64 static bool isAnimationAffectingProperty(CSSPropertyID); |
| 65 static bool isAffectedByKeyframesFromScope(const Element&, const TreeScope&); | 65 static bool isAffectedByKeyframesFromScope(const Element&, const TreeScope&); |
| 66 static void calculateUpdate(const Element* animatingElement, | 66 static void calculateUpdate(const Element* animatingElement, |
| 67 Element&, | 67 Element&, |
| 68 const ComputedStyle&, | 68 const ComputedStyle&, |
| 69 ComputedStyle* parentStyle, | 69 ComputedStyle* parentStyle, |
| 70 CSSAnimationUpdate&, | 70 CSSAnimationUpdate&, |
| 71 StyleResolver*); | 71 StyleResolver*); |
| 72 static void snapshotCompositorKeyframes(Element&, | 72 static void snapshotCompositorKeyframes(Element&, |
| 73 CSSAnimationUpdate&, | 73 CSSAnimationUpdate&, |
| 74 const ComputedStyle&, | 74 const ComputedStyle&, |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 Member<Element> m_transitionTarget; | 222 Member<Element> m_transitionTarget; |
| 223 const CSSPropertyID m_property; | 223 const CSSPropertyID m_property; |
| 224 AnimationEffectReadOnly::Phase m_previousPhase; | 224 AnimationEffectReadOnly::Phase m_previousPhase; |
| 225 }; | 225 }; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 } // namespace blink | 228 } // namespace blink |
| 229 | 229 |
| 230 #endif | 230 #endif |
| OLD | NEW |