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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 bool parseBorderRadius(CSSPropertyID, bool important); 225 bool parseBorderRadius(CSSPropertyID, bool important);
226 226
227 PassRefPtrWillBeRawPtr<CSSValue> parseReflect(); 227 PassRefPtrWillBeRawPtr<CSSValue> parseReflect();
228 228
229 bool parseFlex(CSSParserValueList* args, bool important); 229 bool parseFlex(CSSParserValueList* args, bool important);
230 230
231 PassRefPtrWillBeRawPtr<CSSValue> parsePosition(CSSParserValueList*); 231 PassRefPtrWillBeRawPtr<CSSValue> parsePosition(CSSParserValueList*);
232 PassRefPtrWillBeRawPtr<CSSValueList> parsePositionList(CSSParserValueList*); 232 PassRefPtrWillBeRawPtr<CSSValueList> parsePositionList(CSSParserValueList*);
233 233
234 // Image generators 234 // Image generators
235 bool parseCanvas(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&);
236
237 bool parseDeprecatedGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValu e>&); 235 bool parseDeprecatedGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValu e>&);
238 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating); 236 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating);
239 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating); 237 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating);
240 bool parseLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating); 238 bool parseLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating);
241 bool parseRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating); 239 bool parseRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating);
242 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma); 240 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex pectComma);
243 241
244 bool parseCrossfade(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&); 242 bool parseCrossfade(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&);
245 243
246 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*); 244 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 bool m_implicitShorthand; 356 bool m_implicitShorthand;
359 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 357 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
360 }; 358 };
361 359
362 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 360 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
363 CSSValueID cssValueKeywordID(const CSSParserString&); 361 CSSValueID cssValueKeywordID(const CSSParserString&);
364 362
365 } // namespace blink 363 } // namespace blink
366 364
367 #endif // CSSPropertyParser_h 365 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698