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

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: Fix compile issue Created 5 years, 1 month 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 926d79621f65555dbf9e2a8cf8235b6d29069e3e..5a46eef488f2844cba3fdb8b9aff0523ecbcf115 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -156,6 +156,7 @@ class SegmentedString;
class SelectorQueryCache;
class SerializedScriptValue;
class Settings;
+class SnapCoordinator;
class StyleEngine;
class StyleResolver;
class StyleSheet;
@@ -1042,6 +1043,8 @@ public:
}
int nodeCount() const { return m_nodeCount; }
+ SnapCoordinator* snapCoordinator();
+
using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>;
static WeakDocumentSet& liveDocumentSet();
@@ -1393,6 +1396,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