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

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

Issue 22482004: Add support for the object-fit CSS property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase for landing Created 7 years, 4 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool parseFontVariant(bool important); 213 bool parseFontVariant(bool important);
214 bool parseFontWeight(bool important); 214 bool parseFontWeight(bool important);
215 bool parseFontFaceSrc(); 215 bool parseFontFaceSrc();
216 bool parseFontFaceUnicodeRange(); 216 bool parseFontFaceUnicodeRange();
217 217
218 bool parseSVGValue(CSSPropertyID propId, bool important); 218 bool parseSVGValue(CSSPropertyID propId, bool important);
219 PassRefPtr<CSSValue> parseSVGPaint(); 219 PassRefPtr<CSSValue> parseSVGPaint();
220 PassRefPtr<CSSValue> parseSVGColor(); 220 PassRefPtr<CSSValue> parseSVGColor();
221 PassRefPtr<CSSValue> parseSVGStrokeDasharray(); 221 PassRefPtr<CSSValue> parseSVGStrokeDasharray();
222 222
223 PassRefPtr<CSSValue> parsePaintOrder() const;
224
223 // CSS3 Parsing Routines (for properties specific to CSS3) 225 // CSS3 Parsing Routines (for properties specific to CSS3)
224 PassRefPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPropertyID); 226 PassRefPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPropertyID);
225 bool parseBorderImage(CSSPropertyID, RefPtr<CSSValue>&, bool important = fal se); 227 bool parseBorderImage(CSSPropertyID, RefPtr<CSSValue>&, bool important = fal se);
226 bool parseBorderImageRepeat(RefPtr<CSSValue>&); 228 bool parseBorderImageRepeat(RefPtr<CSSValue>&);
227 bool parseBorderImageSlice(CSSPropertyID, RefPtr<CSSBorderImageSliceValue>&) ; 229 bool parseBorderImageSlice(CSSPropertyID, RefPtr<CSSBorderImageSliceValue>&) ;
228 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&); 230 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&);
229 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&); 231 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&);
230 bool parseBorderRadius(CSSPropertyID, bool important); 232 bool parseBorderRadius(CSSPropertyID, bool important);
231 233
232 bool parseAspectRatio(bool important); 234 bool parseAspectRatio(bool important);
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 } 759 }
758 760
759 inline int cssyylex(void* yylval, CSSParser* parser) 761 inline int cssyylex(void* yylval, CSSParser* parser)
760 { 762 {
761 return parser->lex(yylval); 763 return parser->lex(yylval);
762 } 764 }
763 765
764 } // namespace WebCore 766 } // namespace WebCore
765 767
766 #endif // CSSParser_h 768 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698