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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 61a4cc34516c49638284624cbcbd5ef8473c5483..3e0ed9f16ca1d59293d9a6137cfd81f134c19582 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -639,8 +639,12 @@ private:
const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) override { return ensureComputedStyle(pseudoElementSpecifier); }
inline void updateCallbackSelectors(const ComputedStyle* oldStyle, const ComputedStyle* newStyle);
- inline void removeCallbackSelectors();
- inline void addCallbackSelectors();
+ inline void removeCallbackSelectors(const ComputedStyle*);
+ inline void addCallbackSelectors(const ComputedStyle*);
+
+ inline void updateScrollSnapMapping(const ComputedStyle* oldStyle, const ComputedStyle* newStyle);
+ inline void removeScrollSnapMapping(const ComputedStyle*);
+ inline void addScrollSnapMapping(const ComputedStyle*);
// cloneNode is private so that non-virtual cloneElementWithChildren and cloneElementWithoutChildren
// are used instead.

Powered by Google App Engine
This is Rietveld 408576698