| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 friend class KeyframeEffectModelBase; | 71 friend class KeyframeEffectModelBase; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 bool isReplaceOnly(); | 74 bool isReplaceOnly(); |
| 75 | 75 |
| 76 PropertySet properties() const; | 76 PropertySet properties() const; |
| 77 | 77 |
| 78 using KeyframeVector = WillBeHeapVector<RefPtrWillBeMember<Keyframe>>; | 78 using KeyframeVector = WillBeHeapVector<RefPtrWillBeMember<Keyframe>>; |
| 79 const KeyframeVector& getFrames() const { return m_keyframes; } | 79 const KeyframeVector& getFrames() const { return m_keyframes; } |
| 80 // FIXME: Implement setFrames() | 80 void setFrames(KeyframeVector& keyframes); |
| 81 | 81 |
| 82 const PropertySpecificKeyframeVector& getPropertySpecificKeyframes(CSSProper
tyID id) const | 82 const PropertySpecificKeyframeVector& getPropertySpecificKeyframes(CSSProper
tyID id) const |
| 83 { | 83 { |
| 84 ensureKeyframeGroups(); | 84 ensureKeyframeGroups(); |
| 85 return m_keyframeGroups->get(id)->keyframes(); | 85 return m_keyframeGroups->get(id)->keyframes(); |
| 86 } | 86 } |
| 87 | 87 |
| 88 // AnimationEffect implementation. | 88 // AnimationEffect implementation. |
| 89 virtual void sample(int iteration, double fraction, double iterationDuration
, OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>&) cons
t override; | 89 virtual void sample(int iteration, double fraction, double iterationDuration
, OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>&) cons
t override; |
| 90 | 90 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 template <> | 202 template <> |
| 203 inline bool KeyframeEffectModel<AnimatableValueKeyframe>::isAnimatableValueKeyfr
ameEffectModel() const { return true; } | 203 inline bool KeyframeEffectModel<AnimatableValueKeyframe>::isAnimatableValueKeyfr
ameEffectModel() const { return true; } |
| 204 | 204 |
| 205 template <> | 205 template <> |
| 206 inline bool KeyframeEffectModel<StringKeyframe>::isStringKeyframeEffectModel() c
onst { return true; } | 206 inline bool KeyframeEffectModel<StringKeyframe>::isStringKeyframeEffectModel() c
onst { return true; } |
| 207 | 207 |
| 208 } // namespace blink | 208 } // namespace blink |
| 209 | 209 |
| 210 #endif // KeyframeEffectModel_h | 210 #endif // KeyframeEffectModel_h |
| OLD | NEW |