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

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

Issue 24077007: Add support for the object-position CSS property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master again Created 7 years, 3 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser-in.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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&); 232 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&);
233 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&); 233 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&);
234 bool parseBorderRadius(CSSPropertyID, bool important); 234 bool parseBorderRadius(CSSPropertyID, bool important);
235 235
236 bool parseAspectRatio(bool important); 236 bool parseAspectRatio(bool important);
237 237
238 bool parseReflect(CSSPropertyID, bool important); 238 bool parseReflect(CSSPropertyID, bool important);
239 239
240 bool parseFlex(CSSParserValueList* args, bool important); 240 bool parseFlex(CSSParserValueList* args, bool important);
241 241
242 bool parseObjectPosition(bool important);
243
242 // Image generators 244 // Image generators
243 bool parseCanvas(CSSParserValueList*, RefPtr<CSSValue>&); 245 bool parseCanvas(CSSParserValueList*, RefPtr<CSSValue>&);
244 246
245 bool parseDeprecatedGradient(CSSParserValueList*, RefPtr<CSSValue>&); 247 bool parseDeprecatedGradient(CSSParserValueList*, RefPtr<CSSValue>&);
246 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, C SSGradientRepeat repeating); 248 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, C SSGradientRepeat repeating);
247 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, C SSGradientRepeat repeating); 249 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, C SSGradientRepeat repeating);
248 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating); 250 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating);
249 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating); 251 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient Repeat repeating);
250 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma); 252 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma);
251 253
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 } 789 }
788 790
789 inline int cssyylex(void* yylval, CSSParser* parser) 791 inline int cssyylex(void* yylval, CSSParser* parser)
790 { 792 {
791 return parser->lex(yylval); 793 return parser->lex(yylval);
792 } 794 }
793 795
794 } // namespace WebCore 796 } // namespace WebCore
795 797
796 #endif // CSSParser_h 798 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698