Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: Source/WebCore/css/CSSParser.h

Issue 11179002: Merge 130511 - Web Inspector: [Styles] Unable to edit properties in broken stylesheets (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebCore/css/CSSParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698