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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&)
; | 271 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&)
; |
272 | 272 |
273 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar
serValue*); | 273 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar
serValue*); |
274 PassRefPtrWillBeRawPtr<CSSStringValue> createPrimitiveStringValue(CSSParserV
alue*); | 274 PassRefPtrWillBeRawPtr<CSSStringValue> createPrimitiveStringValue(CSSParserV
alue*); |
275 PassRefPtrWillBeRawPtr<CSSCustomIdentValue> createPrimitiveCustomIdentValue(
CSSParserValue*); | 275 PassRefPtrWillBeRawPtr<CSSCustomIdentValue> createPrimitiveCustomIdentValue(
CSSParserValue*); |
276 | 276 |
277 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Atomi
cString& rawValue, const KURL&); | 277 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Atomi
cString& rawValue, const KURL&); |
278 | 278 |
279 PassRefPtrWillBeRawPtr<CSSBasicShapeInsetValue> parseInsetRoundedCorners(Pas
sRefPtrWillBeRawPtr<CSSBasicShapeInsetValue>, CSSParserValueList*); | 279 PassRefPtrWillBeRawPtr<CSSBasicShapeInsetValue> parseInsetRoundedCorners(Pas
sRefPtrWillBeRawPtr<CSSBasicShapeInsetValue>, CSSParserValueList*); |
280 | 280 |
281 enum SizeParameterType { | |
282 None, | |
283 Auto, | |
284 Length, | |
285 PageSize, | |
286 Orientation, | |
287 }; | |
288 | |
289 PassRefPtrWillBeRawPtr<CSSValueList> parseSize(); | |
290 SizeParameterType parseSizeParameter(CSSValueList* parsedValues, CSSParserVa
lue*, SizeParameterType prevParamType); | |
291 | |
292 PassRefPtrWillBeRawPtr<CSSValue> consumeFontFaceSrcURI(); | 281 PassRefPtrWillBeRawPtr<CSSValue> consumeFontFaceSrcURI(); |
293 PassRefPtrWillBeRawPtr<CSSValue> consumeFontFaceSrcLocal(); | 282 PassRefPtrWillBeRawPtr<CSSValue> consumeFontFaceSrcLocal(); |
294 | 283 |
295 class ImplicitScope { | 284 class ImplicitScope { |
296 STACK_ALLOCATED(); | 285 STACK_ALLOCATED(); |
297 WTF_MAKE_NONCOPYABLE(ImplicitScope); | 286 WTF_MAKE_NONCOPYABLE(ImplicitScope); |
298 public: | 287 public: |
299 ImplicitScope(CSSPropertyParser* parser) | 288 ImplicitScope(CSSPropertyParser* parser) |
300 : m_parser(parser) | 289 : m_parser(parser) |
301 { | 290 { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 bool m_implicitShorthand; | 367 bool m_implicitShorthand; |
379 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 368 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
380 }; | 369 }; |
381 | 370 |
382 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 371 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
383 CSSValueID cssValueKeywordID(const CSSParserString&); | 372 CSSValueID cssValueKeywordID(const CSSParserString&); |
384 | 373 |
385 } // namespace blink | 374 } // namespace blink |
386 | 375 |
387 #endif // CSSPropertyParser_h | 376 #endif // CSSPropertyParser_h |
OLD | NEW |