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

Unified Diff: Source/core/css/resolver/StyleBuilderConverter.h

Issue 1148873005: Parsing CSS properties for scroll snap points (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comment Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleBuilderConverter.h
diff --git a/Source/core/css/resolver/StyleBuilderConverter.h b/Source/core/css/resolver/StyleBuilderConverter.h
index d4c97861856bbbfb410d40a20b42087f9b82f0f8..e0ca698ae08d9d2ac8812e5468df5c651e3d4519 100644
--- a/Source/core/css/resolver/StyleBuilderConverter.h
+++ b/Source/core/css/resolver/StyleBuilderConverter.h
@@ -34,6 +34,7 @@
#include "core/style/QuotesData.h"
#include "core/style/ShadowList.h"
#include "core/style/StyleReflection.h"
+#include "core/style/StyleScrollSnapData.h"
#include "core/style/TransformOrigin.h"
#include "platform/LengthSize.h"
#include "platform/fonts/FontDescription.h"
@@ -73,7 +74,7 @@ public:
static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*);
static Length convertLineHeight(StyleResolverState&, CSSValue*);
static float convertNumberOrPercentage(StyleResolverState&, CSSValue*);
- static LengthPoint convertObjectPosition(StyleResolverState&, CSSValue*);
+ static LengthPoint convertPosition(StyleResolverState&, CSSValue*);
static float convertPerspective(StyleResolverState&, CSSValue*);
static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*);
static Length convertQuirkyLength(StyleResolverState&, CSSValue*);
@@ -93,6 +94,10 @@ public:
static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGridLinesMap&, OrderedNamedGridLines&, StyleResolverState&);
static void createImplicitNamedGridLinesFromGridArea(const NamedGridAreaMap&, NamedGridLinesMap&, GridTrackSizingDirection);
static void convertOrderedNamedGridLinesMapToNamedGridLinesMap(const OrderedNamedGridLines&, NamedGridLinesMap&);
+
+ static ScrollSnapPoints convertSnapPoints(StyleResolverState&, CSSValue*);
+ static Vector<LengthPoint> convertSnapCoordinates(StyleResolverState&, CSSValue*);
+ static LengthPoint convertSnapDestination(StyleResolverState&, CSSValue*);
};
template <typename T>
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698