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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 static float convertPerspective(StyleResolverState&, CSSValue*); | 74 static float convertPerspective(StyleResolverState&, CSSValue*); |
75 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); | 75 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); |
76 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); | 76 static Length convertQuirkyLength(StyleResolverState&, CSSValue*); |
77 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); | 77 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); |
78 static LengthSize convertRadius(StyleResolverState&, CSSValue*); | 78 static LengthSize convertRadius(StyleResolverState&, CSSValue*); |
79 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); | 79 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); |
80 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); | 80 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); |
81 static PassRefPtr<ShapeValue> convertShapeValue(StyleResolverState&, CSSValu
e*); | 81 static PassRefPtr<ShapeValue> convertShapeValue(StyleResolverState&, CSSValu
e*); |
82 static float convertSpacing(StyleResolverState&, CSSValue*); | 82 static float convertSpacing(StyleResolverState&, CSSValue*); |
83 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol
verState&, CSSValue*); | 83 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol
verState&, CSSValue*); |
84 static PassRefPtrWillBeRawPtr<SVGLengthList> convertStrokeDasharray(StyleRes
olverState&, CSSValue*); | 84 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&,
CSSValue*); |
85 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for
VisitedLink = false); | 85 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for
VisitedLink = false); |
86 static Color convertSVGColor(StyleResolverState&, CSSValue*); | 86 static Color convertSVGColor(StyleResolverState&, CSSValue*); |
87 static PassRefPtrWillBeRawPtr<SVGLength> convertSVGLength(StyleResolverState
&, CSSValue*); | 87 static PassRefPtrWillBeRawPtr<SVGLength> convertSVGLength(StyleResolverState
&, CSSValue*); |
88 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*); | 88 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*); |
89 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue*
); | 89 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue*
); |
90 | 90 |
91 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri
dLinesMap&, OrderedNamedGridLines&, StyleResolverState&); | 91 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri
dLinesMap&, OrderedNamedGridLines&, StyleResolverState&); |
92 static void createImplicitNamedGridLinesFromGridArea(const NamedGridAreaMap&
, NamedGridLinesMap&, GridTrackSizingDirection); | 92 static void createImplicitNamedGridLinesFromGridArea(const NamedGridAreaMap&
, NamedGridLinesMap&, GridTrackSizingDirection); |
93 static void convertOrderedNamedGridLinesMapToNamedGridLinesMap(const Ordered
NamedGridLines&, NamedGridLinesMap&); | 93 static void convertOrderedNamedGridLinesMapToNamedGridLinesMap(const Ordered
NamedGridLines&, NamedGridLinesMap&); |
94 }; | 94 }; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 { | 141 { |
142 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 142 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
143 if (primitiveValue->getValueID() == IdForNone) | 143 if (primitiveValue->getValueID() == IdForNone) |
144 return nullAtom; | 144 return nullAtom; |
145 return AtomicString(primitiveValue->getStringValue()); | 145 return AtomicString(primitiveValue->getStringValue()); |
146 } | 146 } |
147 | 147 |
148 } // namespace blink | 148 } // namespace blink |
149 | 149 |
150 #endif | 150 #endif |
OLD | NEW |