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

Unified Diff: Source/core/style/StyleRareNonInheritedData.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/style/ComputedStyleConstants.h ('k') | Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleRareNonInheritedData.h
diff --git a/Source/core/style/StyleRareNonInheritedData.h b/Source/core/style/StyleRareNonInheritedData.h
index afff968419e68808902418702559d85c5ced4b53..c6c70a7bc84cb6949e0eec60c95d7f4f922ec1c4 100644
--- a/Source/core/style/StyleRareNonInheritedData.h
+++ b/Source/core/style/StyleRareNonInheritedData.h
@@ -38,6 +38,7 @@
#include "core/style/NinePieceImage.h"
#include "core/style/ShapeValue.h"
#include "core/style/StyleContentAlignmentData.h"
+#include "core/style/StyleScrollSnapData.h"
#include "core/style/StyleSelfAlignmentData.h"
#include "platform/LengthPoint.h"
#include "wtf/OwnPtr.h"
@@ -117,6 +118,7 @@ public:
DataRef<StyleGridData> m_grid;
DataRef<StyleGridItemData> m_gridItem;
+ DataRef<StyleScrollSnapData> m_scrollSnap;
OwnPtr<ContentData> m_content;
OwnPtr<CounterDirectiveMap> m_counterDirectives;
@@ -190,6 +192,8 @@ public:
unsigned m_scrollBlocksOn: 3; // WebScrollBlocksOn
+ unsigned m_scrollSnapType: 2; // ScrollSnapType
+
// Plugins require accelerated compositing for reasons external to blink.
// In which case, we need to update the ComputedStyle on the LayoutEmbeddedObject,
// so store this bit so that the style actually changes when the plugin
« no previous file with comments | « Source/core/style/ComputedStyleConstants.h ('k') | Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698