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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1188563005: Compute snap offsets (both repeat and element based) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 4 years, 10 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index c28883b6e1d4dfc0a840bf953fbed139ce409d9d..ceca7f69f02a3f54eb713901c7b4cf4273e9cbd5 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -158,6 +158,7 @@ class SegmentedString;
class SelectorQueryCache;
class SerializedScriptValue;
class Settings;
+class SnapCoordinator;
class StyleEngine;
class StyleResolver;
class StyleSheet;
@@ -1054,6 +1055,8 @@ public:
}
int nodeCount() const { return m_nodeCount; }
+ SnapCoordinator* snapCoordinator();
+
using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>;
static WeakDocumentSet& liveDocumentSet();
@@ -1403,6 +1406,8 @@ private:
PersistentWillBeMember<NodeIntersectionObserverData> m_intersectionObserverData;
int m_nodeCount;
+
+ OwnPtrWillBeMember<SnapCoordinator> m_snapCoordinator;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Document>;

Powered by Google App Engine
This is Rietveld 408576698