| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 static Color convertColor(StyleResolverState&, const CSSValue&, bool forVisi
tedLink = false); | 56 static Color convertColor(StyleResolverState&, const CSSValue&, bool forVisi
tedLink = false); |
| 57 template <typename T> static T convertComputedLength(StyleResolverState&, co
nst CSSValue&); | 57 template <typename T> static T convertComputedLength(StyleResolverState&, co
nst CSSValue&); |
| 58 static LengthBox convertClip(StyleResolverState&, const CSSValue&); | 58 static LengthBox convertClip(StyleResolverState&, const CSSValue&); |
| 59 template <typename T> static T convertFlags(StyleResolverState&, const CSSVa
lue&); | 59 template <typename T> static T convertFlags(StyleResolverState&, const CSSVa
lue&); |
| 60 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta
te&, const CSSValue&); | 60 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta
te&, const CSSValue&); |
| 61 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, const CSSValue&); | 61 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, const CSSValue&); |
| 62 static FontDescription::Size convertFontSize(StyleResolverState&, const CSSV
alue&); | 62 static FontDescription::Size convertFontSize(StyleResolverState&, const CSSV
alue&); |
| 63 static float convertFontSizeAdjust(StyleResolverState&, const CSSValue&); | 63 static float convertFontSizeAdjust(StyleResolverState&, const CSSValue&); |
| 64 static FontWeight convertFontWeight(StyleResolverState&, const CSSValue&); | 64 static FontWeight convertFontWeight(StyleResolverState&, const CSSValue&); |
| 65 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, const CSSValue&); | 65 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, const CSSValue&); |
| 66 static EGlyphOrientation convertGlyphOrientation(StyleResolverState&, const
CSSValue&); | |
| 67 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData(StyleResolve
rState&, const CSSValue&); | 66 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData(StyleResolve
rState&, const CSSValue&); |
| 68 static StyleContentAlignmentData convertContentAlignmentData(StyleResolverSt
ate&, const CSSValue&); | 67 static StyleContentAlignmentData convertContentAlignmentData(StyleResolverSt
ate&, const CSSValue&); |
| 69 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue&
); | 68 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue&
); |
| 70 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue&
); | 69 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue&
); |
| 71 static GridTrackSize convertGridTrackSize(StyleResolverState&, const CSSValu
e&); | 70 static GridTrackSize convertGridTrackSize(StyleResolverState&, const CSSValu
e&); |
| 72 template <typename T> static T convertLineWidth(StyleResolverState&, const C
SSValue&); | 71 template <typename T> static T convertLineWidth(StyleResolverState&, const C
SSValue&); |
| 73 static Length convertLength(const StyleResolverState&, const CSSValue&); | 72 static Length convertLength(const StyleResolverState&, const CSSValue&); |
| 74 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const
CSSValue&); | 73 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const
CSSValue&); |
| 75 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue&
); | 74 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue&
); |
| 76 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); | 75 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 { | 154 { |
| 156 if (value.isStringValue()) | 155 if (value.isStringValue()) |
| 157 return AtomicString(toCSSStringValue(value).value()); | 156 return AtomicString(toCSSStringValue(value).value()); |
| 158 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone); | 157 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone); |
| 159 return nullAtom; | 158 return nullAtom; |
| 160 } | 159 } |
| 161 | 160 |
| 162 } // namespace blink | 161 } // namespace blink |
| 163 | 162 |
| 164 #endif | 163 #endif |
| OLD | NEW |