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

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

Issue 2881673003: CSS Motion Path: Support parsing of ray(<angle>) paths (Closed)
Patch Set: DCHECK_EQ Created 3 years, 7 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 const CSSValue&); 189 const CSSValue&);
190 static PassRefPtr<RotateTransformOperation> ConvertRotate(StyleResolverState&, 190 static PassRefPtr<RotateTransformOperation> ConvertRotate(StyleResolverState&,
191 const CSSValue&); 191 const CSSValue&);
192 static PassRefPtr<ScaleTransformOperation> ConvertScale(StyleResolverState&, 192 static PassRefPtr<ScaleTransformOperation> ConvertScale(StyleResolverState&,
193 const CSSValue&); 193 const CSSValue&);
194 static RespectImageOrientationEnum ConvertImageOrientation( 194 static RespectImageOrientationEnum ConvertImageOrientation(
195 StyleResolverState&, 195 StyleResolverState&,
196 const CSSValue&); 196 const CSSValue&);
197 static PassRefPtr<StylePath> ConvertPathOrNone(StyleResolverState&, 197 static PassRefPtr<StylePath> ConvertPathOrNone(StyleResolverState&,
198 const CSSValue&); 198 const CSSValue&);
199 static PassRefPtr<BasicShape> ConvertOffsetPath(StyleResolverState&,
200 const CSSValue&);
199 static StyleOffsetRotation ConvertOffsetRotate(const CSSValue&); 201 static StyleOffsetRotation ConvertOffsetRotate(const CSSValue&);
200 template <CSSValueID cssValueFor0, CSSValueID cssValueFor100> 202 template <CSSValueID cssValueFor0, CSSValueID cssValueFor100>
201 static Length ConvertPositionLength(StyleResolverState&, const CSSValue&); 203 static Length ConvertPositionLength(StyleResolverState&, const CSSValue&);
202 static Rotation ConvertRotation(const CSSValue&); 204 static Rotation ConvertRotation(const CSSValue&);
203 205
204 static const CSSValue& ConvertRegisteredPropertyInitialValue(const CSSValue&); 206 static const CSSValue& ConvertRegisteredPropertyInitialValue(const CSSValue&);
205 static const CSSValue& ConvertRegisteredPropertyValue( 207 static const CSSValue& ConvertRegisteredPropertyValue(
206 const StyleResolverState&, 208 const StyleResolverState&,
207 const CSSValue&); 209 const CSSValue&);
208 }; 210 };
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 const CSSValue& value) { 291 const CSSValue& value) {
290 if (value.IsStringValue()) 292 if (value.IsStringValue())
291 return AtomicString(ToCSSStringValue(value).Value()); 293 return AtomicString(ToCSSStringValue(value).Value());
292 DCHECK_EQ(ToCSSIdentifierValue(value).GetValueID(), IdForNone); 294 DCHECK_EQ(ToCSSIdentifierValue(value).GetValueID(), IdForNone);
293 return g_null_atom; 295 return g_null_atom;
294 } 296 }
295 297
296 } // namespace blink 298 } // namespace blink
297 299
298 #endif 300 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698