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

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

Issue 11048052: Merge 130511 - Web Inspector: [Styles] Unable to edit properties in broken stylesheets (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 bool m_hasFontFaceOnlyValues; 338 bool m_hasFontFaceOnlyValues;
339 bool m_hadSyntacticallyValidCSSRule; 339 bool m_hadSyntacticallyValidCSSRule;
340 340
341 AtomicString m_defaultNamespace; 341 AtomicString m_defaultNamespace;
342 342
343 // tokenizer methods and data 343 // tokenizer methods and data
344 size_t m_parsedTextPrefixLength; 344 size_t m_parsedTextPrefixLength;
345 SourceRange m_propertyRange; 345 SourceRange m_propertyRange;
346 OwnPtr<RuleSourceDataList> m_currentRuleDataStack; 346 OwnPtr<RuleSourceDataList> m_currentRuleDataStack;
347 RefPtr<CSSRuleSourceData> m_currentRuleData;
347 RuleSourceDataList* m_ruleSourceDataResult; 348 RuleSourceDataList* m_ruleSourceDataResult;
348 349
349 void fixUnparsedPropertyRanges(CSSRuleSourceData*); 350 void fixUnparsedPropertyRanges(CSSRuleSourceData*);
350 void markRuleHeaderStart(CSSRuleSourceData::Type); 351 void markRuleHeaderStart(CSSRuleSourceData::Type);
351 void markRuleHeaderEnd(); 352 void markRuleHeaderEnd();
352 void markRuleBodyStart(); 353 void markRuleBodyStart();
353 void markRuleBodyEnd(); 354 void markRuleBodyEnd();
354 void markPropertyStart(); 355 void markPropertyStart();
355 void markPropertyEnd(bool isImportantFound, bool isPropertyParsed); 356 void markPropertyEnd(bool isImportantFound, bool isPropertyParsed);
356 void processAndAddNewRuleToSourceTreeIfNeeded(); 357 void processAndAddNewRuleToSourceTreeIfNeeded();
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 } 628 }
628 629
629 inline int cssyylex(void* yylval, CSSParser* parser) 630 inline int cssyylex(void* yylval, CSSParser* parser)
630 { 631 {
631 return parser->lex(yylval); 632 return parser->lex(yylval);
632 } 633 }
633 634
634 } // namespace WebCore 635 } // namespace WebCore
635 636
636 #endif // CSSParser_h 637 #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