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

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

Issue 2913403002: Move ScrollSnapPoints to its own file. (Closed)
Patch Set: Rebase Created 3 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: 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 f0ae6bcf8ff0400dbc1218f028cd4886e34de4b1..517f57b52660b114a6c33e07baa4ff1533141b97 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/ScrollSnapPoints.h"
#include "platform/LengthPoint.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/RefCounted.h"
@@ -33,19 +34,6 @@
namespace blink {
-struct ScrollSnapPoints {
- DISALLOW_NEW();
- Length repeat_offset;
- bool has_repeat;
- bool uses_elements;
- ScrollSnapPoints();
-};
-
-bool operator==(const ScrollSnapPoints&, const ScrollSnapPoints&);
-inline bool operator!=(const ScrollSnapPoints& a, const ScrollSnapPoints& b) {
- return !(a == b);
-}
-
class StyleScrollSnapData : public RefCounted<StyleScrollSnapData> {
public:
static PassRefPtr<StyleScrollSnapData> Create() {
« no previous file with comments | « third_party/WebKit/Source/core/style/ScrollSnapPoints.h ('k') | third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698