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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 static Color convertColor(StyleResolverState&, CSSValue*, bool forVisitedLin
k = false); | 48 static Color convertColor(StyleResolverState&, CSSValue*, bool forVisitedLin
k = false); |
49 template <typename T> static T convertComputedLength(StyleResolverState&, CS
SValue*); | 49 template <typename T> static T convertComputedLength(StyleResolverState&, CS
SValue*); |
50 static LengthBox convertClip(StyleResolverState&, CSSValue*); | 50 static LengthBox convertClip(StyleResolverState&, CSSValue*); |
51 template <typename T> static T convertFlags(StyleResolverState&, CSSValue*); | 51 template <typename T> static T convertFlags(StyleResolverState&, CSSValue*); |
52 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta
te&, CSSValue*); | 52 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta
te&, CSSValue*); |
53 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, CSSValue*); | 53 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, CSSValue*); |
54 static FontDescription::Size convertFontSize(StyleResolverState&, CSSValue*)
; | 54 static FontDescription::Size convertFontSize(StyleResolverState&, CSSValue*)
; |
55 static FontWeight convertFontWeight(StyleResolverState&, CSSValue*); | 55 static FontWeight convertFontWeight(StyleResolverState&, CSSValue*); |
56 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, CSSValue*); | 56 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, CSSValue*); |
57 static EGlyphOrientation convertGlyphOrientation(StyleResolverState&, CSSVal
ue*); | 57 static EGlyphOrientation convertGlyphOrientation(StyleResolverState&, CSSVal
ue*); |
| 58 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, CSSValue*); |
58 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); | 59 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); |
59 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); | 60 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); |
60 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); | 61 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); |
61 static Length convertLength(StyleResolverState&, CSSValue*); | 62 static Length convertLength(StyleResolverState&, CSSValue*); |
62 static Length convertLengthOrAuto(StyleResolverState&, CSSValue*); | 63 static Length convertLengthOrAuto(StyleResolverState&, CSSValue*); |
63 static Length convertLengthSizing(StyleResolverState&, CSSValue*); | 64 static Length convertLengthSizing(StyleResolverState&, CSSValue*); |
64 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); | 65 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); |
65 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*); | 66 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*); |
66 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); | 67 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); |
67 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); | 68 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 { | 130 { |
130 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 131 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
131 if (primitiveValue->getValueID() == IdForNone) | 132 if (primitiveValue->getValueID() == IdForNone) |
132 return nullAtom; | 133 return nullAtom; |
133 return AtomicString(primitiveValue->getStringValue()); | 134 return AtomicString(primitiveValue->getStringValue()); |
134 } | 135 } |
135 | 136 |
136 } // namespace blink | 137 } // namespace blink |
137 | 138 |
138 #endif | 139 #endif |
OLD | NEW |