OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 220 |
221 // Resolve points/radii to front end values. | 221 // Resolve points/radii to front end values. |
222 float resolveRadius(CSSPrimitiveValue*, | 222 float resolveRadius(CSSPrimitiveValue*, |
223 const CSSToLengthConversionData&, | 223 const CSSToLengthConversionData&, |
224 float* widthOrHeight = 0); | 224 float* widthOrHeight = 0); |
225 | 225 |
226 // These may be null for non-deprecated gradients. | 226 // These may be null for non-deprecated gradients. |
227 Member<CSSPrimitiveValue> m_firstRadius; | 227 Member<CSSPrimitiveValue> m_firstRadius; |
228 Member<CSSPrimitiveValue> m_secondRadius; | 228 Member<CSSPrimitiveValue> m_secondRadius; |
229 | 229 |
230 // The below are only used for non-deprecated gradients. Any of them may be nu
ll. | 230 // The below are only used for non-deprecated gradients. Any of them may be |
| 231 // null. |
231 Member<CSSIdentifierValue> m_shape; | 232 Member<CSSIdentifierValue> m_shape; |
232 Member<CSSIdentifierValue> m_sizingBehavior; | 233 Member<CSSIdentifierValue> m_sizingBehavior; |
233 | 234 |
234 Member<CSSPrimitiveValue> m_endHorizontalSize; | 235 Member<CSSPrimitiveValue> m_endHorizontalSize; |
235 Member<CSSPrimitiveValue> m_endVerticalSize; | 236 Member<CSSPrimitiveValue> m_endVerticalSize; |
236 }; | 237 }; |
237 | 238 |
238 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); | 239 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); |
239 | 240 |
240 } // namespace blink | 241 } // namespace blink |
241 | 242 |
242 #endif // CSSGradientValue_h | 243 #endif // CSSGradientValue_h |
OLD | NEW |