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

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: remove m_frame Created 5 years, 2 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 8792af4f779ecb6ed3faac6a02687d88a3995517..32fc3a27b33e46f6e6ddff2f2d74ea1339e80933 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -155,6 +155,7 @@ class SegmentedString;
class SelectorQueryCache;
class SerializedScriptValue;
class Settings;
+class SnapCoordinator;
class StyleEngine;
class StyleResolver;
class StyleSheet;
@@ -1047,6 +1048,8 @@ public:
}
int nodeCount() const { return m_nodeCount; }
+ SnapCoordinator* snapCoordinator();
+
using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>;
static WeakDocumentSet& liveDocumentSet();
@@ -1396,6 +1399,8 @@ private:
PersistentWillBeMember<CanvasFontCache> m_canvasFontCache;
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