| 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 23 matching lines...) Expand all Loading... |
| 34 #include "core/css/CSSParserValues.h" | 34 #include "core/css/CSSParserValues.h" |
| 35 #include "core/css/CSSProperty.h" | 35 #include "core/css/CSSProperty.h" |
| 36 #include "core/css/CSSPropertySourceData.h" | 36 #include "core/css/CSSPropertySourceData.h" |
| 37 #include "core/css/CSSSelector.h" | 37 #include "core/css/CSSSelector.h" |
| 38 #include "platform/graphics/Color.h" | 38 #include "platform/graphics/Color.h" |
| 39 #include "wtf/OwnPtr.h" | 39 #include "wtf/OwnPtr.h" |
| 40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
| 41 | 41 |
| 42 namespace WebCore { | 42 namespace WebCore { |
| 43 | 43 |
| 44 // FIXME: Many of these may not be used. | |
| 45 class CSSArrayFunctionValue; | |
| 46 class CSSBorderImageSliceValue; | 44 class CSSBorderImageSliceValue; |
| 47 class CSSPrimitiveValue; | 45 class CSSPrimitiveValue; |
| 48 class CSSSelectorList; | |
| 49 class CSSValue; | 46 class CSSValue; |
| 50 class CSSValueList; | 47 class CSSValueList; |
| 51 class CSSBasicShape; | 48 class CSSBasicShape; |
| 52 class CSSBasicShapeInset; | 49 class CSSBasicShapeInset; |
| 53 class CSSGridLineNamesValue; | 50 class CSSGridLineNamesValue; |
| 54 class Document; | |
| 55 class Element; | |
| 56 class ImmutableStylePropertySet; | 51 class ImmutableStylePropertySet; |
| 57 class StyleKeyframe; | |
| 58 class StylePropertyShorthand; | 52 class StylePropertyShorthand; |
| 59 class StyleKeyframe; | |
| 60 class UseCounter; | 53 class UseCounter; |
| 61 | 54 |
| 62 // Inputs: PropertyID, isImportant bool, CSSParserValueList. | 55 // Inputs: PropertyID, isImportant bool, CSSParserValueList. |
| 63 // Outputs: Vector of CSSProperties | 56 // Outputs: Vector of CSSProperties |
| 64 | 57 |
| 65 class CSSPropertyParser { | 58 class CSSPropertyParser { |
| 66 STACK_ALLOCATED(); | 59 STACK_ALLOCATED(); |
| 67 public: | 60 public: |
| 68 CSSPropertyParser(OwnPtr<CSSParserValueList>&, | 61 CSSPropertyParser(OwnPtr<CSSParserValueList>&, |
| 69 const CSSParserContext&, bool inViewport, bool savedImportant, | 62 const CSSParserContext&, bool inViewport, bool savedImportant, |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 CSSPropertyID cssPropertyID(const CSSParserString&); | 394 CSSPropertyID cssPropertyID(const CSSParserString&); |
| 402 CSSPropertyID cssPropertyID(const String&); | 395 CSSPropertyID cssPropertyID(const String&); |
| 403 CSSValueID cssValueKeywordID(const CSSParserString&); | 396 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 404 | 397 |
| 405 bool isKeywordPropertyID(CSSPropertyID); | 398 bool isKeywordPropertyID(CSSPropertyID); |
| 406 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); | 399 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); |
| 407 | 400 |
| 408 } // namespace WebCore | 401 } // namespace WebCore |
| 409 | 402 |
| 410 #endif // CSSPropertyParser_h | 403 #endif // CSSPropertyParser_h |
| OLD | NEW |