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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h

Issue 2609803002: Use ShadowData in DropShadowFilterOperation (Closed)
Patch Set: Fix blend(...) order Created 3 years, 11 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * * Redistributions of source code must retain the above copyright 4 * * Redistributions of source code must retain the above copyright
5 * notice, this list of conditions and the following disclaimer. 5 * notice, this list of conditions and the following disclaimer.
6 * * Redistributions in binary form must reproduce the above 6 * * Redistributions in binary form must reproduce the above
7 * copyright notice, this list of conditions and the following disclaimer 7 * copyright notice, this list of conditions and the following disclaimer
8 * in the documentation and/or other materials provided with the 8 * in the documentation and/or other materials provided with the
9 * distribution. 9 * distribution.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const CSSValue&); 123 const CSSValue&);
124 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&); 124 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&);
125 static LengthPoint convertPositionOrAuto(StyleResolverState&, 125 static LengthPoint convertPositionOrAuto(StyleResolverState&,
126 const CSSValue&); 126 const CSSValue&);
127 static float convertPerspective(StyleResolverState&, const CSSValue&); 127 static float convertPerspective(StyleResolverState&, const CSSValue&);
128 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&); 128 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&);
129 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, 129 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&,
130 const CSSValue&); 130 const CSSValue&);
131 static LengthSize convertRadius(StyleResolverState&, const CSSValue&); 131 static LengthSize convertRadius(StyleResolverState&, const CSSValue&);
132 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&); 132 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&);
133 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, 133 static ShadowData convertShadow(StyleResolverState&, const CSSValue&);
134 const CSSValue&); 134 static PassRefPtr<ShadowList> convertShadowList(StyleResolverState&,
135 const CSSValue&);
135 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&); 136 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&);
136 static float convertSpacing(StyleResolverState&, const CSSValue&); 137 static float convertSpacing(StyleResolverState&, const CSSValue&);
137 template <CSSValueID IdForNone> 138 template <CSSValueID IdForNone>
138 static AtomicString convertString(StyleResolverState&, const CSSValue&); 139 static AtomicString convertString(StyleResolverState&, const CSSValue&);
139 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, 140 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&,
140 const CSSValue&); 141 const CSSValue&);
141 static StyleColor convertStyleColor(StyleResolverState&, 142 static StyleColor convertStyleColor(StyleResolverState&,
142 const CSSValue&, 143 const CSSValue&,
143 bool forVisitedLink = false); 144 bool forVisitedLink = false);
144 static StyleAutoColor convertStyleAutoColor(StyleResolverState&, 145 static StyleAutoColor convertStyleAutoColor(StyleResolverState&,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 const CSSValue& value) { 281 const CSSValue& value) {
281 if (value.isStringValue()) 282 if (value.isStringValue())
282 return AtomicString(toCSSStringValue(value).value()); 283 return AtomicString(toCSSStringValue(value).value());
283 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone); 284 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone);
284 return nullAtom; 285 return nullAtom;
285 } 286 }
286 287
287 } // namespace blink 288 } // namespace blink
288 289
289 #endif 290 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698