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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, CSSValue*); | 55 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol
verState&, CSSValue*); |
56 static FontDescription::Size convertFontSize(StyleResolverState&, CSSValue*)
; | 56 static FontDescription::Size convertFontSize(StyleResolverState&, CSSValue*)
; |
57 static FontWeight convertFontWeight(StyleResolverState&, CSSValue*); | 57 static FontWeight convertFontWeight(StyleResolverState&, CSSValue*); |
58 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, CSSValue*); | 58 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe
solverState&, CSSValue*); |
59 static EGlyphOrientation convertGlyphOrientation(StyleResolverState&, CSSVal
ue*); | 59 static EGlyphOrientation convertGlyphOrientation(StyleResolverState&, CSSVal
ue*); |
60 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, CSSValue*); | 60 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, CSSValue*); |
61 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); | 61 static GridPosition convertGridPosition(StyleResolverState&, CSSValue*); |
62 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); | 62 static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*); |
63 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); | 63 template <typename T> static T convertLineWidth(StyleResolverState&, CSSValu
e*); |
64 static Length convertLength(StyleResolverState&, CSSValue*); | 64 static Length convertLength(StyleResolverState&, CSSValue*); |
| 65 static Length convertLengthUnzoomed(StyleResolverState&, CSSValue*); |
65 static Length convertLengthOrAuto(StyleResolverState&, CSSValue*); | 66 static Length convertLengthOrAuto(StyleResolverState&, CSSValue*); |
66 static Length convertLengthSizing(StyleResolverState&, CSSValue*); | 67 static Length convertLengthSizing(StyleResolverState&, CSSValue*); |
67 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); | 68 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); |
68 static TabSize convertLengthOrTabSpaces(StyleResolverState&, CSSValue*); | 69 static TabSize convertLengthOrTabSpaces(StyleResolverState&, CSSValue*); |
69 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*); | 70 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*); |
70 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); | 71 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); |
71 static Length convertLineHeight(StyleResolverState&, CSSValue*); | 72 static Length convertLineHeight(StyleResolverState&, CSSValue*); |
72 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); | 73 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); |
73 static float convertPerspective(StyleResolverState&, CSSValue*); | 74 static float convertPerspective(StyleResolverState&, CSSValue*); |
74 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); | 75 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 { | 140 { |
140 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 141 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
141 if (primitiveValue->getValueID() == IdForNone) | 142 if (primitiveValue->getValueID() == IdForNone) |
142 return nullAtom; | 143 return nullAtom; |
143 return AtomicString(primitiveValue->getStringValue()); | 144 return AtomicString(primitiveValue->getStringValue()); |
144 } | 145 } |
145 | 146 |
146 } // namespace blink | 147 } // namespace blink |
147 | 148 |
148 #endif | 149 #endif |
OLD | NEW |