| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); | 83 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); |
| 84 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); | 84 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); |
| 85 static LengthSize convertRadius(StyleResolverState&, CSSValue*); | 85 static LengthSize convertRadius(StyleResolverState&, CSSValue*); |
| 86 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); | 86 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); |
| 87 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); | 87 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); |
| 88 static PassRefPtr<ShapeValue> convertShapeValue(StyleResolverState&, CSSValu
e*); | 88 static PassRefPtr<ShapeValue> convertShapeValue(StyleResolverState&, CSSValu
e*); |
| 89 static float convertSpacing(StyleResolverState&, CSSValue*); | 89 static float convertSpacing(StyleResolverState&, CSSValue*); |
| 90 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol
verState&, CSSValue*); | 90 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol
verState&, CSSValue*); |
| 91 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&,
CSSValue*); | 91 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&,
CSSValue*); |
| 92 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for
VisitedLink = false); | 92 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for
VisitedLink = false); |
| 93 static Color convertSVGColor(StyleResolverState&, CSSValue*); | |
| 94 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*); | 93 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*); |
| 95 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue*
); | 94 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue*
); |
| 96 | 95 |
| 97 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri
dLinesMap&, OrderedNamedGridLines&, StyleResolverState&); | 96 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri
dLinesMap&, OrderedNamedGridLines&, StyleResolverState&); |
| 98 static void createImplicitNamedGridLinesFromGridArea(const NamedGridAreaMap&
, NamedGridLinesMap&, GridTrackSizingDirection); | 97 static void createImplicitNamedGridLinesFromGridArea(const NamedGridAreaMap&
, NamedGridLinesMap&, GridTrackSizingDirection); |
| 99 static void convertOrderedNamedGridLinesMapToNamedGridLinesMap(const Ordered
NamedGridLines&, NamedGridLinesMap&); | 98 static void convertOrderedNamedGridLinesMapToNamedGridLinesMap(const Ordered
NamedGridLines&, NamedGridLinesMap&); |
| 100 | 99 |
| 101 static ScrollSnapPoints convertSnapPoints(StyleResolverState&, CSSValue*); | 100 static ScrollSnapPoints convertSnapPoints(StyleResolverState&, CSSValue*); |
| 102 static Vector<LengthPoint> convertSnapCoordinates(StyleResolverState&, CSSVa
lue*); | 101 static Vector<LengthPoint> convertSnapCoordinates(StyleResolverState&, CSSVa
lue*); |
| 103 static LengthPoint convertSnapDestination(StyleResolverState&, CSSValue*); | 102 static LengthPoint convertSnapDestination(StyleResolverState&, CSSValue*); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 { | 153 { |
| 155 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 154 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
| 156 if (primitiveValue->getValueID() == IdForNone) | 155 if (primitiveValue->getValueID() == IdForNone) |
| 157 return nullAtom; | 156 return nullAtom; |
| 158 return AtomicString(primitiveValue->getStringValue()); | 157 return AtomicString(primitiveValue->getStringValue()); |
| 159 } | 158 } |
| 160 | 159 |
| 161 } // namespace blink | 160 } // namespace blink |
| 162 | 161 |
| 163 #endif | 162 #endif |
| OLD | NEW |