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