| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 327 |
| 328 bool m_hasFontFaceOnlyValues; | 328 bool m_hasFontFaceOnlyValues; |
| 329 bool m_hadSyntacticallyValidCSSRule; | 329 bool m_hadSyntacticallyValidCSSRule; |
| 330 | 330 |
| 331 AtomicString m_defaultNamespace; | 331 AtomicString m_defaultNamespace; |
| 332 | 332 |
| 333 // tokenizer methods and data | 333 // tokenizer methods and data |
| 334 size_t m_parsedTextPrefixLength; | 334 size_t m_parsedTextPrefixLength; |
| 335 SourceRange m_propertyRange; | 335 SourceRange m_propertyRange; |
| 336 OwnPtr<RuleSourceDataList> m_currentRuleDataStack; | 336 OwnPtr<RuleSourceDataList> m_currentRuleDataStack; |
| 337 RefPtr<CSSRuleSourceData> m_currentRuleData; |
| 337 RuleSourceDataList* m_ruleSourceDataResult; | 338 RuleSourceDataList* m_ruleSourceDataResult; |
| 338 | 339 |
| 339 void fixUnparsedPropertyRanges(CSSRuleSourceData*); | 340 void fixUnparsedPropertyRanges(CSSRuleSourceData*); |
| 340 void markRuleHeaderStart(CSSRuleSourceData::Type); | 341 void markRuleHeaderStart(CSSRuleSourceData::Type); |
| 341 void markRuleHeaderEnd(); | 342 void markRuleHeaderEnd(); |
| 342 void markRuleBodyStart(); | 343 void markRuleBodyStart(); |
| 343 void markRuleBodyEnd(); | 344 void markRuleBodyEnd(); |
| 344 void markPropertyStart(); | 345 void markPropertyStart(); |
| 345 void markPropertyEnd(bool isImportantFound, bool isPropertyParsed); | 346 void markPropertyEnd(bool isImportantFound, bool isPropertyParsed); |
| 346 void processAndAddNewRuleToSourceTreeIfNeeded(); | 347 void processAndAddNewRuleToSourceTreeIfNeeded(); |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 }; | 525 }; |
| 525 | 526 |
| 526 String quoteCSSString(const String&); | 527 String quoteCSSString(const String&); |
| 527 String quoteCSSStringIfNeeded(const String&); | 528 String quoteCSSStringIfNeeded(const String&); |
| 528 String quoteCSSURLIfNeeded(const String&); | 529 String quoteCSSURLIfNeeded(const String&); |
| 529 | 530 |
| 530 bool isValidNthToken(const CSSParserString&); | 531 bool isValidNthToken(const CSSParserString&); |
| 531 } // namespace WebCore | 532 } // namespace WebCore |
| 532 | 533 |
| 533 #endif // CSSParser_h | 534 #endif // CSSParser_h |
| OLD | NEW |