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

Side by Side Diff: sky/engine/core/css/parser/CSSPropertyParser.h

Issue 1214633005: Remove CSS clients of ImageResource (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 PassRefPtr<CSSValue> parseAspectRatio(); 173 PassRefPtr<CSSValue> parseAspectRatio();
174 174
175 bool parseFlex(CSSParserValueList* args); 175 bool parseFlex(CSSParserValueList* args);
176 176
177 PassRefPtr<CSSValue> parseObjectPosition(); 177 PassRefPtr<CSSValue> parseObjectPosition();
178 178
179 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating); 179 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating);
180 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating); 180 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating);
181 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma); 181 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma);
182 182
183 bool parseCrossfade(CSSParserValueList*, RefPtr<CSSValue>&);
184
185 PassRefPtr<CSSValue> parseImageSet(CSSParserValueList*);
186
187 PassRefPtr<CSSValue> parseWillChange(); 183 PassRefPtr<CSSValue> parseWillChange();
188 184
189 PassRefPtr<CSSValueList> parseFilter(); 185 PassRefPtr<CSSValueList> parseFilter();
190 PassRefPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParserValueList*, CSSFilterValue::FilterOperationType); 186 PassRefPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParserValueList*, CSSFilterValue::FilterOperationType);
191 187
192 PassRefPtr<CSSValueList> parseTransformOrigin(); 188 PassRefPtr<CSSValueList> parseTransformOrigin();
193 PassRefPtr<CSSValueList> parseTransform(CSSPropertyID); 189 PassRefPtr<CSSValueList> parseTransform(CSSPropertyID);
194 PassRefPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParserValue*); 190 PassRefPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParserValue*);
195 191
196 bool parseTextEmphasisStyle(); 192 bool parseTextEmphasisStyle();
(...skipping 12 matching lines...) Expand all
209 bool parseFontFeatureTag(CSSValueList*); 205 bool parseFontFeatureTag(CSSValueList*);
210 bool parseFontFeatureSettings(); 206 bool parseFontFeatureSettings();
211 207
212 bool parseFontVariantLigatures(); 208 bool parseFontVariantLigatures();
213 209
214 bool parseGeneratedImage(CSSParserValueList*, RefPtr<CSSValue>&); 210 bool parseGeneratedImage(CSSParserValueList*, RefPtr<CSSValue>&);
215 211
216 PassRefPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSParserValue*); 212 PassRefPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSParserValue*);
217 PassRefPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSParserValue*); 213 PassRefPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSParserValue*);
218 214
219 PassRefPtr<CSSValue> createCSSImageValueWithReferrer(const String& rawValue, const KURL&);
220
221 bool validWidthOrHeight(CSSParserValue*); 215 bool validWidthOrHeight(CSSParserValue*);
222 216
223 PassRefPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtr<CSSBasicShapeI nset>, CSSParserValueList*); 217 PassRefPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtr<CSSBasicShapeI nset>, CSSParserValueList*);
224 218
225 bool parseFontFaceSrcURI(CSSValueList*); 219 bool parseFontFaceSrcURI(CSSValueList*);
226 bool parseFontFaceSrcLocal(CSSValueList*); 220 bool parseFontFaceSrcLocal(CSSValueList*);
227 221
228 class ImplicitScope { 222 class ImplicitScope {
229 STACK_ALLOCATED(); 223 STACK_ALLOCATED();
230 WTF_MAKE_NONCOPYABLE(ImplicitScope); 224 WTF_MAKE_NONCOPYABLE(ImplicitScope);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 CSSPropertyID cssPropertyID(const CSSParserString&); 321 CSSPropertyID cssPropertyID(const CSSParserString&);
328 CSSPropertyID cssPropertyID(const String&); 322 CSSPropertyID cssPropertyID(const String&);
329 CSSValueID cssValueKeywordID(const CSSParserString&); 323 CSSValueID cssValueKeywordID(const CSSParserString&);
330 324
331 bool isKeywordPropertyID(CSSPropertyID); 325 bool isKeywordPropertyID(CSSPropertyID);
332 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 326 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
333 327
334 } // namespace blink 328 } // namespace blink
335 329
336 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ 330 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/BisonCSSParser-in.cpp ('k') | sky/engine/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698