| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. | 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 struct CSSParserValue; | 45 struct CSSParserValue; |
| 46 class CSSParserValueList; | 46 class CSSParserValueList; |
| 47 class CSSPrimitiveValue; | 47 class CSSPrimitiveValue; |
| 48 class CSSProperty; | 48 class CSSProperty; |
| 49 class CSSQuadValue; | 49 class CSSQuadValue; |
| 50 class CSSShadowValue; | 50 class CSSShadowValue; |
| 51 class CSSValue; | 51 class CSSValue; |
| 52 class CSSValueList; | 52 class CSSValueList; |
| 53 class StylePropertyShorthand; | 53 class StylePropertyShorthand; |
| 54 | 54 |
| 55 enum class UnitlessQuirk { |
| 56 Allow, |
| 57 Forbid |
| 58 }; |
| 59 |
| 55 // Inputs: PropertyID, isImportant bool, CSSParserValueList. | 60 // Inputs: PropertyID, isImportant bool, CSSParserValueList. |
| 56 // Outputs: Vector of CSSProperties | 61 // Outputs: Vector of CSSProperties |
| 57 | 62 |
| 58 class CSSPropertyParser { | 63 class CSSPropertyParser { |
| 59 STACK_ALLOCATED(); | 64 STACK_ALLOCATED(); |
| 60 public: | 65 public: |
| 61 | 66 |
| 62 enum Units { | 67 enum Units { |
| 63 FUnknown = 0x0000, | 68 FUnknown = 0x0000, |
| 64 FInteger = 0x0001, | 69 FInteger = 0x0001, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 bool m_implicitShorthand; | 381 bool m_implicitShorthand; |
| 377 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 382 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
| 378 }; | 383 }; |
| 379 | 384 |
| 380 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 385 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
| 381 CSSValueID cssValueKeywordID(const CSSParserString&); | 386 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 382 | 387 |
| 383 } // namespace blink | 388 } // namespace blink |
| 384 | 389 |
| 385 #endif // CSSPropertyParser_h | 390 #endif // CSSPropertyParser_h |
| OLD | NEW |