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

Unified Diff: third_party/WebKit/Source/core/style/StyleScrollSnapData.h

Issue 2767213003: First Implementation of Snapped Points
Patch Set: Rebase and format 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/StyleScrollSnapData.h
diff --git a/third_party/WebKit/Source/core/style/StyleScrollSnapData.h b/third_party/WebKit/Source/core/style/StyleScrollSnapData.h
index 517f57b52660b114a6c33e07baa4ff1533141b97..12f68d6f41745e78cd5e092196305e5165c323d9 100644
--- a/third_party/WebKit/Source/core/style/StyleScrollSnapData.h
+++ b/third_party/WebKit/Source/core/style/StyleScrollSnapData.h
@@ -26,6 +26,7 @@
#ifndef StyleScrollSnapData_h
#define StyleScrollSnapData_h
+#include "core/style/ComputedStyleConstants.h"
#include "core/style/ScrollSnapPoints.h"
#include "platform/LengthPoint.h"
#include "platform/wtf/Allocator.h"
@@ -47,6 +48,11 @@ class StyleScrollSnapData : public RefCounted<StyleScrollSnapData> {
ScrollSnapPoints y_points_;
LengthPoint destination_;
Vector<LengthPoint> coordinates_;
+ ScrollSnapType type_;
+ ScrollSnapAlign align_;
+ ScrollSnapPadding padding_;
+ ScrollSnapMargin margin_;
+ EScrollSnapStop stop_;
private:
StyleScrollSnapData();

Powered by Google App Engine
This is Rietveld 408576698