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

Unified Diff: Source/core/dom/Element.h

Issue 988823003: Use scroll customization primitives for touch scrolling (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nullptr dereference. Created 5 years, 9 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: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 0f313bfa1305916fdb41807a5732b5fcf5b7cea5..8a6f4582e44458bde363f480a1b3f157b2fc466e 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -60,6 +60,7 @@ class Locale;
class MutableStylePropertySet;
class PropertySetCSSStyleDeclaration;
class PseudoElement;
+class ScrollState;
class ScrollToOptions;
class ShadowRoot;
class StylePropertySet;
@@ -166,6 +167,9 @@ public:
void scrollIntoView(bool alignToTop = true);
void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
+ void distributeScroll(ScrollState&);
+ void applyScroll(ScrollState&);
+
int offsetLeft();
int offsetTop();
int offsetWidth();

Powered by Google App Engine
This is Rietveld 408576698