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

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: Address rbyers' nit. 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 37bbc23ea9994629c7048d8d06368379b34c0bbf..2fddaa661c4d0a13e1305a1ecad4aff2522f1f16 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -61,6 +61,7 @@ class Locale;
class MutableStylePropertySet;
class PropertySetCSSStyleDeclaration;
class PseudoElement;
+class ScrollState;
class ScrollToOptions;
class ShadowRoot;
class StylePropertySet;
@@ -167,6 +168,9 @@ public:
void scrollIntoView(bool alignToTop = true);
void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
+ void distributeScroll(ScrollState&);
+ void applyScroll(ScrollState&);
+
int offsetLeft();
int offsetTop();
int offsetWidth();
« no previous file with comments | « LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-basic.html ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698