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

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: Fix case where documentElement was added to scroll chain twice. Created 5 years, 8 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 6d042c64391abda3eead423d8d1e51ebdc925490..449660244f77c8831a657780a1645ed263b21e3c 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -169,9 +169,6 @@ public:
void scrollIntoView(bool alignToTop = true);
void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
- void distributeScroll(ScrollState&);
- void applyScroll(ScrollState&);
-
int offsetLeft();
int offsetTop();
int offsetWidth();
@@ -366,6 +363,13 @@ public:
virtual const AtomicString imageSourceURL() const;
virtual Image* imageContents() { return nullptr; }
+ void distributeScrollNative(ScrollState&);
+ void callDistributeScroll(ScrollState&);
+ void distributeScroll(ScrollState*);
+ void applyScrollNative(ScrollState&);
+ void callApplyScroll(ScrollState&);
+ void applyScroll(ScrollState*);
+
virtual void focus(bool restorePreviousSelection = true, WebFocusType = WebFocusTypeNone);
virtual void updateFocusAppearance(bool restorePreviousSelection);
virtual void blur();

Powered by Google App Engine
This is Rietveld 408576698