Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h

Issue 2352273002: CSS Motion Path: offset-anchor and offset-position (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 static Length convertLength(const StyleResolverState&, const CSSValue&); 82 static Length convertLength(const StyleResolverState&, const CSSValue&);
83 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const CSSValue&); 83 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const CSSValue&);
84 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue& ); 84 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue& );
85 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); 85 static Length convertLengthSizing(StyleResolverState&, const CSSValue&);
86 static Length convertLengthMaxSizing(StyleResolverState&, const CSSValue&); 86 static Length convertLengthMaxSizing(StyleResolverState&, const CSSValue&);
87 static TabSize convertLengthOrTabSpaces(StyleResolverState&, const CSSValue& ); 87 static TabSize convertLengthOrTabSpaces(StyleResolverState&, const CSSValue& );
88 static Length convertLineHeight(StyleResolverState&, const CSSValue&); 88 static Length convertLineHeight(StyleResolverState&, const CSSValue&);
89 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&) ; 89 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&) ;
90 static StyleOffsetRotation convertOffsetRotation(StyleResolverState&, const CSSValue&); 90 static StyleOffsetRotation convertOffsetRotation(StyleResolverState&, const CSSValue&);
91 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&); 91 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&);
92 static LengthPoint convertPositionOrAuto(StyleResolverState&, const CSSValue &);
92 static float convertPerspective(StyleResolverState&, const CSSValue&); 93 static float convertPerspective(StyleResolverState&, const CSSValue&);
93 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&); 94 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&);
94 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, const CSSVa lue&); 95 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, const CSSVa lue&);
95 static LengthSize convertRadius(StyleResolverState&, const CSSValue&); 96 static LengthSize convertRadius(StyleResolverState&, const CSSValue&);
96 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&); 97 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&);
97 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, const CSSVa lue&); 98 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, const CSSVa lue&);
98 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&); 99 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&);
99 static float convertSpacing(StyleResolverState&, const CSSValue&); 100 static float convertSpacing(StyleResolverState&, const CSSValue&);
100 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, const CSSValue&); 101 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, const CSSValue&);
101 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, const CSSValue&); 102 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, const CSSValue&);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 { 174 {
174 if (value.isStringValue()) 175 if (value.isStringValue())
175 return AtomicString(toCSSStringValue(value).value()); 176 return AtomicString(toCSSStringValue(value).value());
176 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone); 177 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone);
177 return nullAtom; 178 return nullAtom;
178 } 179 }
179 180
180 } // namespace blink 181 } // namespace blink
181 182
182 #endif 183 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698