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

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

Issue 850443002: Scroll Customization Prototype (Not for review, WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase / cleanup / minor bug fixes Created 5 years, 10 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index b25c4eb68cbc3224948f7241c28ad6d6a2f5ea51..b162df0f6eabe92a0917e67e0b13daa2251abba3 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,11 @@ public:
void scrollIntoView(bool alignToTop = true);
void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
+ void callDistributeScroll(ScrollState*);
+ virtual void distributeScroll(ScrollState*);
+ void callApplyScroll(ScrollState*);
+ virtual void applyScroll(ScrollState*);
+
int offsetLeft();
int offsetTop();
int offsetWidth();
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698