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

Unified Diff: Source/core/css/parser/CSSPropertyParser.h

Issue 1148873005: Parsing CSS properties for scroll snap points (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review feedback Created 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/css/parser/CSSPropertyParser.h
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
index 2fc54df1083c154051e45983f47950275fcc4b9a..cd8454d2a8687bd306345d2ee4dd3021c32c44e2 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -224,7 +224,8 @@ private:
bool parseFlex(CSSParserValueList* args, bool important);
- PassRefPtrWillBeRawPtr<CSSValue> parseObjectPosition();
+ PassRefPtrWillBeRawPtr<CSSValue> parsePosition();
+ PassRefPtrWillBeRawPtr<CSSValueList> parsePositionList(CSSParserValueList*);
// Image generators
bool parseCanvas(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&);
@@ -361,6 +362,11 @@ private:
void commitBorderImageProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValue>, bool important);
+ PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPoints();
+ PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapDestination();
+ PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapCoordinate();
+ PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPosition();
+
private:
// Inputs:
CSSParserValueList* m_valueList;

Powered by Google App Engine
This is Rietveld 408576698