| 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 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class CSSBorderImageSliceValue; | 44 class CSSBorderImageSliceValue; |
| 45 class CSSPrimitiveValue; | 45 class CSSPrimitiveValue; |
| 46 class CSSValue; | 46 class CSSValue; |
| 47 class CSSValueList; | 47 class CSSValueList; |
| 48 class CSSBasicShape; | 48 class CSSBasicShape; |
| 49 class CSSBasicShapeInset; | 49 class CSSBasicShapeInset; |
| 50 class CSSGridLineNamesValue; | 50 class CSSGridLineNamesValue; |
| 51 class ImmutableStylePropertySet; | |
| 52 class StylePropertyShorthand; | 51 class StylePropertyShorthand; |
| 53 class UseCounter; | |
| 54 | 52 |
| 55 // Inputs: PropertyID, isImportant bool, CSSParserValueList. | 53 // Inputs: PropertyID, isImportant bool, CSSParserValueList. |
| 56 // Outputs: Vector of CSSProperties | 54 // Outputs: Vector of CSSProperties |
| 57 | 55 |
| 58 class CSSPropertyParser { | 56 class CSSPropertyParser { |
| 59 STACK_ALLOCATED(); | 57 STACK_ALLOCATED(); |
| 60 public: | 58 public: |
| 61 static bool parseValue(CSSPropertyID, bool important, | 59 static bool parseValue(CSSPropertyID, bool important, |
| 62 CSSParserValueList*, const CSSParserContext&, bool inViewport, | 60 CSSParserValueList*, const CSSParserContext&, bool inViewport, |
| 63 WillBeHeapVector<CSSProperty, 256>&, CSSRuleSourceData::Type); | 61 WillBeHeapVector<CSSProperty, 256>&, CSSRuleSourceData::Type); |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 CSSPropertyID cssPropertyID(const CSSParserString&); | 382 CSSPropertyID cssPropertyID(const CSSParserString&); |
| 385 CSSPropertyID cssPropertyID(const String&); | 383 CSSPropertyID cssPropertyID(const String&); |
| 386 CSSValueID cssValueKeywordID(const CSSParserString&); | 384 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 387 | 385 |
| 388 bool isKeywordPropertyID(CSSPropertyID); | 386 bool isKeywordPropertyID(CSSPropertyID); |
| 389 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); | 387 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); |
| 390 | 388 |
| 391 } // namespace blink | 389 } // namespace blink |
| 392 | 390 |
| 393 #endif // CSSPropertyParser_h | 391 #endif // CSSPropertyParser_h |
| OLD | NEW |