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

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

Issue 2932593004: Update the snap points css properties (Closed)
Patch Set: Fix nits Created 3 years, 6 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 AutoRepeatType&, 171 AutoRepeatType&,
172 StyleResolverState&); 172 StyleResolverState&);
173 static void CreateImplicitNamedGridLinesFromGridArea( 173 static void CreateImplicitNamedGridLinesFromGridArea(
174 const NamedGridAreaMap&, 174 const NamedGridAreaMap&,
175 NamedGridLinesMap&, 175 NamedGridLinesMap&,
176 GridTrackSizingDirection); 176 GridTrackSizingDirection);
177 static void ConvertOrderedNamedGridLinesMapToNamedGridLinesMap( 177 static void ConvertOrderedNamedGridLinesMapToNamedGridLinesMap(
178 const OrderedNamedGridLines&, 178 const OrderedNamedGridLines&,
179 NamedGridLinesMap&); 179 NamedGridLinesMap&);
180 180
181 static ScrollSnapPoints ConvertSnapPoints(StyleResolverState&, 181 static ScrollSnapType ConvertSnapType(StyleResolverState&, const CSSValue&);
182 const CSSValue&); 182 static ScrollSnapAlign ConvertSnapAlign(StyleResolverState&, const CSSValue&);
183 static Vector<LengthPoint> ConvertSnapCoordinates(StyleResolverState&,
184 const CSSValue&);
185 static LengthPoint ConvertSnapDestination(StyleResolverState&,
186 const CSSValue&);
187 static PassRefPtr<TranslateTransformOperation> ConvertTranslate( 183 static PassRefPtr<TranslateTransformOperation> ConvertTranslate(
188 StyleResolverState&, 184 StyleResolverState&,
189 const CSSValue&); 185 const CSSValue&);
190 static PassRefPtr<RotateTransformOperation> ConvertRotate(StyleResolverState&, 186 static PassRefPtr<RotateTransformOperation> ConvertRotate(StyleResolverState&,
191 const CSSValue&); 187 const CSSValue&);
192 static PassRefPtr<ScaleTransformOperation> ConvertScale(StyleResolverState&, 188 static PassRefPtr<ScaleTransformOperation> ConvertScale(StyleResolverState&,
193 const CSSValue&); 189 const CSSValue&);
194 static RespectImageOrientationEnum ConvertImageOrientation( 190 static RespectImageOrientationEnum ConvertImageOrientation(
195 StyleResolverState&, 191 StyleResolverState&,
196 const CSSValue&); 192 const CSSValue&);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 const CSSValue& value) { 287 const CSSValue& value) {
292 if (value.IsStringValue()) 288 if (value.IsStringValue())
293 return AtomicString(ToCSSStringValue(value).Value()); 289 return AtomicString(ToCSSStringValue(value).Value());
294 DCHECK_EQ(ToCSSIdentifierValue(value).GetValueID(), IdForNone); 290 DCHECK_EQ(ToCSSIdentifierValue(value).GetValueID(), IdForNone);
295 return g_null_atom; 291 return g_null_atom;
296 } 292 }
297 293
298 } // namespace blink 294 } // namespace blink
299 295
300 #endif 296 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698