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

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

Issue 1057603002: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 5 years, 6 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 6cca778a4b41dded08715ca5236b39891bb9f40f..4c176417b39159f3a772e0ce2b164136e12da730 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -170,9 +170,6 @@ public:
void scrollIntoView(bool alignToTop = true);
void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
- void distributeScroll(ScrollState&);
- void applyScroll(ScrollState&);
-
int offsetLeft();
int offsetTop();
int offsetWidth();
@@ -368,6 +365,14 @@ public:
virtual void focus(bool restorePreviousSelection = true, WebFocusType = WebFocusTypeNone);
virtual void updateFocusAppearance(bool restorePreviousSelection);
virtual void blur();
+
+ void distributeScrollNative(ScrollState&);
+ void callDistributeScroll(ScrollState&);
+ void distributeScroll(ScrollState*);
+ void applyScrollNative(ScrollState&);
+ void callApplyScroll(ScrollState&);
+ void applyScroll(ScrollState*);
+
// Whether this element can receive focus at all. Most elements are not
// focusable but some elements, such as form controls and links, are. Unlike
// layoutObjectIsFocusable(), this method may be called when layout is not up to

Powered by Google App Engine
This is Rietveld 408576698