| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 CSS_CALC = 113, | 130 CSS_CALC = 113, |
| 131 CSS_CALC_PERCENTAGE_WITH_NUMBER = 114, | 131 CSS_CALC_PERCENTAGE_WITH_NUMBER = 114, |
| 132 CSS_CALC_PERCENTAGE_WITH_LENGTH = 115, | 132 CSS_CALC_PERCENTAGE_WITH_LENGTH = 115, |
| 133 CSS_VARIABLE_NAME = 116, | 133 CSS_VARIABLE_NAME = 116, |
| 134 | 134 |
| 135 CSS_PROPERTY_ID = 117, | 135 CSS_PROPERTY_ID = 117, |
| 136 CSS_VALUE_ID = 118 | 136 CSS_VALUE_ID = 118 |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 // This enum follows the CSSParser::Units enum augmented with UNIT_FREQUENCY
for frequencies. | 139 // This enum follows the BisonCSSParser::Units enum augmented with UNIT_FREQ
UENCY for frequencies. |
| 140 enum UnitCategory { | 140 enum UnitCategory { |
| 141 UNumber, | 141 UNumber, |
| 142 UPercent, | 142 UPercent, |
| 143 ULength, | 143 ULength, |
| 144 UAngle, | 144 UAngle, |
| 145 UTime, | 145 UTime, |
| 146 UFrequency, | 146 UFrequency, |
| 147 UViewportPercentageLength, | 147 UViewportPercentageLength, |
| 148 UResolution, | 148 UResolution, |
| 149 UOther | 149 UOther |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 CSSBasicShape* shape; | 380 CSSBasicShape* shape; |
| 381 CSSCalcValue* calc; | 381 CSSCalcValue* calc; |
| 382 } m_value; | 382 } m_value; |
| 383 }; | 383 }; |
| 384 | 384 |
| 385 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPrimitiveValue, isPrimitiveValue()); | 385 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPrimitiveValue, isPrimitiveValue()); |
| 386 | 386 |
| 387 } // namespace WebCore | 387 } // namespace WebCore |
| 388 | 388 |
| 389 #endif // CSSPrimitiveValue_h | 389 #endif // CSSPrimitiveValue_h |
| OLD | NEW |