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

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

Issue 16415007: Cleanup usage of CSSPropertyID and CSSValueID inside Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 PassRefPtr<CSSMixFunctionValue> parseMixFunction(CSSParserValue*); 239 PassRefPtr<CSSMixFunctionValue> parseMixFunction(CSSParserValue*);
240 PassRefPtr<CSSArrayFunctionValue> parseCustomFilterArrayFunction(CSSParserVa lue*); 240 PassRefPtr<CSSArrayFunctionValue> parseCustomFilterArrayFunction(CSSParserVa lue*);
241 PassRefPtr<CSSValueList> parseCustomFilterTransform(CSSParserValueList*); 241 PassRefPtr<CSSValueList> parseCustomFilterTransform(CSSParserValueList*);
242 PassRefPtr<CSSValueList> parseCustomFilterParameters(CSSParserValueList*); 242 PassRefPtr<CSSValueList> parseCustomFilterParameters(CSSParserValueList*);
243 PassRefPtr<CSSFilterValue> parseCustomFilterFunctionWithAtRuleReferenceSynta x(CSSParserValue*); 243 PassRefPtr<CSSFilterValue> parseCustomFilterFunctionWithAtRuleReferenceSynta x(CSSParserValue*);
244 PassRefPtr<CSSFilterValue> parseCustomFilterFunctionWithInlineSyntax(CSSPars erValue*); 244 PassRefPtr<CSSFilterValue> parseCustomFilterFunctionWithInlineSyntax(CSSPars erValue*);
245 PassRefPtr<CSSFilterValue> parseCustomFilterFunction(CSSParserValue*); 245 PassRefPtr<CSSFilterValue> parseCustomFilterFunction(CSSParserValue*);
246 bool parseFilterRuleSrc(); 246 bool parseFilterRuleSrc();
247 PassRefPtr<CSSShaderValue> parseFilterRuleSrcUriAndFormat(CSSParserValueList *); 247 PassRefPtr<CSSShaderValue> parseFilterRuleSrcUriAndFormat(CSSParserValueList *);
248 248
249 static bool isBlendMode(int ident); 249 static bool isBlendMode(CSSValueID);
250 static bool isCompositeOperator(int ident); 250 static bool isCompositeOperator(CSSValueID);
251 251
252 PassRefPtr<CSSValueList> parseTransform(); 252 PassRefPtr<CSSValueList> parseTransform();
253 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*); 253 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*);
254 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&); 254 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&);
255 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); 255 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
256 256
257 bool parseTextEmphasisStyle(bool important); 257 bool parseTextEmphasisStyle(bool important);
258 258
259 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant); 259 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant);
260 bool parseTextDecoration(CSSPropertyID propId, bool important); 260 bool parseTextDecoration(CSSPropertyID propId, bool important);
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 738 }
739 739
740 inline int cssyylex(void* yylval, CSSParser* parser) 740 inline int cssyylex(void* yylval, CSSParser* parser)
741 { 741 {
742 return parser->lex(yylval); 742 return parser->lex(yylval);
743 } 743 }
744 744
745 } // namespace WebCore 745 } // namespace WebCore
746 746
747 #endif // CSSParser_h 747 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698