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

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

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Add test results Created 4 years 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const CSSValue&); 130 const CSSValue&);
131 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&); 131 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&);
132 static float convertSpacing(StyleResolverState&, const CSSValue&); 132 static float convertSpacing(StyleResolverState&, const CSSValue&);
133 template <CSSValueID IdForNone> 133 template <CSSValueID IdForNone>
134 static AtomicString convertString(StyleResolverState&, const CSSValue&); 134 static AtomicString convertString(StyleResolverState&, const CSSValue&);
135 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, 135 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&,
136 const CSSValue&); 136 const CSSValue&);
137 static StyleColor convertStyleColor(StyleResolverState&, 137 static StyleColor convertStyleColor(StyleResolverState&,
138 const CSSValue&, 138 const CSSValue&,
139 bool forVisitedLink = false); 139 bool forVisitedLink = false);
140 static StyleAutoColor convertStyleAutoColor(StyleResolverState&,
141 const CSSValue&,
142 bool forVisitedLink = false);
140 static float convertTextStrokeWidth(StyleResolverState&, const CSSValue&); 143 static float convertTextStrokeWidth(StyleResolverState&, const CSSValue&);
141 static TextSizeAdjust convertTextSizeAdjust(StyleResolverState&, 144 static TextSizeAdjust convertTextSizeAdjust(StyleResolverState&,
142 const CSSValue&); 145 const CSSValue&);
143 static TransformOperations convertTransformOperations(StyleResolverState&, 146 static TransformOperations convertTransformOperations(StyleResolverState&,
144 const CSSValue&); 147 const CSSValue&);
145 static TransformOrigin convertTransformOrigin(StyleResolverState&, 148 static TransformOrigin convertTransformOrigin(StyleResolverState&,
146 const CSSValue&); 149 const CSSValue&);
147 150
148 static void convertGridTrackList(const CSSValue&, 151 static void convertGridTrackList(const CSSValue&,
149 Vector<GridTrackSize>&, 152 Vector<GridTrackSize>&,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const CSSValue& value) { 247 const CSSValue& value) {
245 if (value.isStringValue()) 248 if (value.isStringValue())
246 return AtomicString(toCSSStringValue(value).value()); 249 return AtomicString(toCSSStringValue(value).value());
247 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone); 250 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone);
248 return nullAtom; 251 return nullAtom;
249 } 252 }
250 253
251 } // namespace blink 254 } // namespace blink
252 255
253 #endif 256 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698