| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 return UnitTypeCalc; | 144 return UnitTypeCalc; |
| 145 } | 145 } |
| 146 | 146 |
| 147 double m_number; | 147 double m_number; |
| 148 const NumberUnitType m_unitType; | 148 const NumberUnitType m_unitType; |
| 149 | 149 |
| 150 RefPtr<CSSCalcExpressionNode> m_calcExpression; | 150 RefPtr<CSSCalcExpressionNode> m_calcExpression; |
| 151 | 151 |
| 152 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue; | 152 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue; |
| 153 | 153 |
| 154 friend class CoreAnimationAnimatableLengthTest; | 154 friend class AnimationAnimatableLengthTest; |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLength, isLength()); | 157 DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLength, isLength()); |
| 158 | 158 |
| 159 } // namespace WebCore | 159 } // namespace WebCore |
| 160 | 160 |
| 161 #endif // AnimatableLength_h | 161 #endif // AnimatableLength_h |
| OLD | NEW |