OLD | NEW |
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 static T convertLineWidth(StyleResolverState&, const CSSValue&); | 109 static T convertLineWidth(StyleResolverState&, const CSSValue&); |
110 static Length convertLength(const StyleResolverState&, const CSSValue&); | 110 static Length convertLength(const StyleResolverState&, const CSSValue&); |
111 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, | 111 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, |
112 const CSSValue&); | 112 const CSSValue&); |
113 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue&); | 113 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue&); |
114 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); | 114 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); |
115 static Length convertLengthMaxSizing(StyleResolverState&, const CSSValue&); | 115 static Length convertLengthMaxSizing(StyleResolverState&, const CSSValue&); |
116 static TabSize convertLengthOrTabSpaces(StyleResolverState&, const CSSValue&); | 116 static TabSize convertLengthOrTabSpaces(StyleResolverState&, const CSSValue&); |
117 static Length convertLineHeight(StyleResolverState&, const CSSValue&); | 117 static Length convertLineHeight(StyleResolverState&, const CSSValue&); |
118 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&); | 118 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&); |
119 static StyleOffsetRotation convertOffsetRotation(StyleResolverState&, | 119 static StyleOffsetRotation convertOffsetRotate(StyleResolverState&, |
120 const CSSValue&); | 120 const CSSValue&); |
121 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&); | 121 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&); |
122 static LengthPoint convertPositionOrAuto(StyleResolverState&, | 122 static LengthPoint convertPositionOrAuto(StyleResolverState&, |
123 const CSSValue&); | 123 const CSSValue&); |
124 static float convertPerspective(StyleResolverState&, const CSSValue&); | 124 static float convertPerspective(StyleResolverState&, const CSSValue&); |
125 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&); | 125 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&); |
126 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, | 126 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, |
127 const CSSValue&); | 127 const CSSValue&); |
128 static LengthSize convertRadius(StyleResolverState&, const CSSValue&); | 128 static LengthSize convertRadius(StyleResolverState&, const CSSValue&); |
129 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&); | 129 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&); |
130 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, | 130 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 const CSSValue&); | 178 const CSSValue&); |
179 static PassRefPtr<RotateTransformOperation> convertRotate(StyleResolverState&, | 179 static PassRefPtr<RotateTransformOperation> convertRotate(StyleResolverState&, |
180 const CSSValue&); | 180 const CSSValue&); |
181 static PassRefPtr<ScaleTransformOperation> convertScale(StyleResolverState&, | 181 static PassRefPtr<ScaleTransformOperation> convertScale(StyleResolverState&, |
182 const CSSValue&); | 182 const CSSValue&); |
183 static RespectImageOrientationEnum convertImageOrientation( | 183 static RespectImageOrientationEnum convertImageOrientation( |
184 StyleResolverState&, | 184 StyleResolverState&, |
185 const CSSValue&); | 185 const CSSValue&); |
186 static PassRefPtr<StylePath> convertPathOrNone(StyleResolverState&, | 186 static PassRefPtr<StylePath> convertPathOrNone(StyleResolverState&, |
187 const CSSValue&); | 187 const CSSValue&); |
188 static StyleOffsetRotation convertOffsetRotation(const CSSValue&); | 188 static StyleOffsetRotation convertOffsetRotate(const CSSValue&); |
189 template <CSSValueID cssValueFor0, CSSValueID cssValueFor100> | 189 template <CSSValueID cssValueFor0, CSSValueID cssValueFor100> |
190 static Length convertPositionLength(StyleResolverState&, const CSSValue&); | 190 static Length convertPositionLength(StyleResolverState&, const CSSValue&); |
191 static Rotation convertRotation(const CSSValue&); | 191 static Rotation convertRotation(const CSSValue&); |
192 | 192 |
193 static const CSSValue& convertRegisteredPropertyValue( | 193 static const CSSValue& convertRegisteredPropertyValue( |
194 const StyleResolverState&, | 194 const StyleResolverState&, |
195 const CSSValue&); | 195 const CSSValue&); |
196 }; | 196 }; |
197 | 197 |
198 template <typename T> | 198 template <typename T> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 const CSSValue& value) { | 277 const CSSValue& value) { |
278 if (value.isStringValue()) | 278 if (value.isStringValue()) |
279 return AtomicString(toCSSStringValue(value).value()); | 279 return AtomicString(toCSSStringValue(value).value()); |
280 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone); | 280 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone); |
281 return nullAtom; | 281 return nullAtom; |
282 } | 282 } |
283 | 283 |
284 } // namespace blink | 284 } // namespace blink |
285 | 285 |
286 #endif | 286 #endif |
OLD | NEW |