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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 1429003004: Parse text-emphasis shorthand in CSSPropertyParser with CSSParserTokens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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 | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*); 230 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*);
231 231
232 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter(); 232 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter();
233 PassRefPtrWillBeRawPtr<CSSFunctionValue> parseBuiltinFilterArguments(CSSPars erValueList*, CSSValueID); 233 PassRefPtrWillBeRawPtr<CSSFunctionValue> parseBuiltinFilterArguments(CSSPars erValueList*, CSSValueID);
234 234
235 PassRefPtrWillBeRawPtr<CSSValueList> parseTransformOrigin(); 235 PassRefPtrWillBeRawPtr<CSSValueList> parseTransformOrigin();
236 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(bool useLegacyParsing); 236 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(bool useLegacyParsing);
237 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(bool useLegacyParsing, CSSParserValue*); 237 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(bool useLegacyParsing, CSSParserValue*);
238 238
239 PassRefPtrWillBeRawPtr<CSSValue> parseTextEmphasisStyle();
240
241 bool parseCalculation(CSSParserValue*, ValueRange); 239 bool parseCalculation(CSSParserValue*, ValueRange);
242 240
243 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ; 241 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ;
244 242
245 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*); 243 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*);
246 PassRefPtrWillBeRawPtr<CSSStringValue> createPrimitiveStringValue(CSSParserV alue*); 244 PassRefPtrWillBeRawPtr<CSSStringValue> createPrimitiveStringValue(CSSParserV alue*);
247 PassRefPtrWillBeRawPtr<CSSCustomIdentValue> createPrimitiveCustomIdentValue( CSSParserValue*); 245 PassRefPtrWillBeRawPtr<CSSCustomIdentValue> createPrimitiveCustomIdentValue( CSSParserValue*);
248 246
249 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Atomi cString& rawValue, const KURL&); 247 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Atomi cString& rawValue, const KURL&);
250 248
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 bool m_implicitShorthand; 335 bool m_implicitShorthand;
338 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 336 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
339 }; 337 };
340 338
341 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 339 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
342 CSSValueID cssValueKeywordID(const CSSParserString&); 340 CSSValueID cssValueKeywordID(const CSSParserString&);
343 341
344 } // namespace blink 342 } // namespace blink
345 343
346 #endif // CSSPropertyParser_h 344 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698