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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, CSSValue*); | 69 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, CSSValue*); |
70 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); | 70 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); |
71 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); | 71 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); |
72 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); | 72 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); |
73 static Length convertLength(const StyleResolverState&, CSSValue*); | 73 static Length convertLength(const StyleResolverState&, CSSValue*); |
74 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, CSSVa
lue*); | 74 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, CSSVa
lue*); |
75 static Length convertLengthOrAuto(const StyleResolverState&, CSSValue*); | 75 static Length convertLengthOrAuto(const StyleResolverState&, CSSValue*); |
76 static Length convertLengthSizing(StyleResolverState&, CSSValue*); | 76 static Length convertLengthSizing(StyleResolverState&, CSSValue*); |
77 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); | 77 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); |
78 static TabSize convertLengthOrTabSpaces(StyleResolverState&, CSSValue*); | 78 static TabSize convertLengthOrTabSpaces(StyleResolverState&, CSSValue*); |
79 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); | |
80 static Length convertLineHeight(StyleResolverState&, CSSValue*); | 79 static Length convertLineHeight(StyleResolverState&, CSSValue*); |
81 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); | 80 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); |
82 static LengthPoint convertPosition(StyleResolverState&, CSSValue*); | 81 static LengthPoint convertPosition(StyleResolverState&, CSSValue*); |
83 static float convertPerspective(StyleResolverState&, CSSValue*); | 82 static float convertPerspective(StyleResolverState&, CSSValue*); |
84 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); | 83 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); |
85 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); | 84 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); |
86 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); | 85 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); |
87 static LengthSize convertRadius(StyleResolverState&, CSSValue*); | 86 static LengthSize convertRadius(StyleResolverState&, CSSValue*); |
88 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); | 87 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); |
89 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); | 88 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 156 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
158 if (primitiveValue->getValueID() == IdForNone) | 157 if (primitiveValue->getValueID() == IdForNone) |
159 return nullAtom; | 158 return nullAtom; |
160 ASSERT(primitiveValue->isString()); | 159 ASSERT(primitiveValue->isString()); |
161 return AtomicString(primitiveValue->getStringValue()); | 160 return AtomicString(primitiveValue->getStringValue()); |
162 } | 161 } |
163 | 162 |
164 } // namespace blink | 163 } // namespace blink |
165 | 164 |
166 #endif | 165 #endif |
OLD | NEW |