Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
index 17b4ff0866d39771406e33481457aa62d4b8a9d4..f777c391fff5955d2af8dd5fbb43e60620a0fd00 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
@@ -59,7 +59,13 @@ CSSValuePair* consumePosition(CSSParserTokenRange&, CSSParserMode, UnitlessQuirk |
bool consumePosition(CSSParserTokenRange&, CSSParserMode, UnitlessQuirk, CSSValue*& resultX, CSSValue*& resultY); |
bool consumeOneOrTwoValuedPosition(CSSParserTokenRange&, CSSParserMode, UnitlessQuirk, CSSValue*& resultX, CSSValue*& resultY); |
-// TODO(timloh): Move across consumeImage |
+enum class ConsumeGeneratedImage { |
+ Allow, |
+ Forbid |
+}; |
+ |
+CSSValue* consumeImage(CSSParserTokenRange&, CSSParserContext, ConsumeGeneratedImage = ConsumeGeneratedImage::Allow); |
+CSSValue* consumeImageOrNone(CSSParserTokenRange&, CSSParserContext); |
// Template implementations are at the bottom of the file for readability. |