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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type); | 85 WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type); |
86 | 86 |
87 bool parseValue(CSSPropertyID, bool important); | 87 bool parseValue(CSSPropertyID, bool important); |
88 | 88 |
89 bool inShorthand() const { return m_inParseShorthand; } | 89 bool inShorthand() const { return m_inParseShorthand; } |
90 bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); } | 90 bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); } |
91 | 91 |
92 bool inViewport() const { return m_inViewport; } | 92 bool inViewport() const { return m_inViewport; } |
93 bool parseViewportProperty(CSSPropertyID propId, bool important); | 93 bool parseViewportProperty(CSSPropertyID propId, bool important); |
94 bool parseViewportShorthand(CSSPropertyID propId, CSSPropertyID first, CSSPr
opertyID second, bool important); | 94 bool parseViewportShorthand(CSSPropertyID propId, CSSPropertyID first, CSSPr
opertyID second, bool important); |
| 95 bool parseFontFaceDescriptor(CSSPropertyID); |
95 | 96 |
96 KURL completeURL(const String& url) const; | 97 KURL completeURL(const String& url) const; |
97 | 98 |
98 void addProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValue>, bool impor
tant, bool implicit = false); | 99 void addProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValue>, bool impor
tant, bool implicit = false); |
99 void rollbackLastProperties(int num); | 100 void rollbackLastProperties(int num); |
100 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtrWillBeRawPt
r<CSSValue>, bool); | 101 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtrWillBeRawPt
r<CSSValue>, bool); |
101 | 102 |
102 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ide
nt, CSSParserValue*); | 103 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ide
nt, CSSParserValue*); |
103 | 104 |
104 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); | 105 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 379 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
379 }; | 380 }; |
380 | 381 |
381 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 382 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
382 CSSPropertyID cssPropertyID(const String&); | 383 CSSPropertyID cssPropertyID(const String&); |
383 CSSValueID cssValueKeywordID(const CSSParserString&); | 384 CSSValueID cssValueKeywordID(const CSSParserString&); |
384 | 385 |
385 } // namespace blink | 386 } // namespace blink |
386 | 387 |
387 #endif // CSSPropertyParser_h | 388 #endif // CSSPropertyParser_h |
OLD | NEW |