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

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

Issue 1840113005: Move viewport actions into an ApplyScroll callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled track-word-breaking.html on release too and remove position in defaultWheelEventHandler Created 4 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: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index ac552a1814d8fe3ca0178b5933298ad7b6eb94d1..153b31da5f42b02f1f9d594c2abdd3cc7cdd8169 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -399,11 +399,14 @@ public:
void setDistributeScroll(ScrollStateCallback*, String nativeScrollBehavior);
void nativeDistributeScroll(ScrollState&);
void setApplyScroll(ScrollStateCallback*, String nativeScrollBehavior);
+ void removeApplyScroll();
void nativeApplyScroll(ScrollState&);
void callDistributeScroll(ScrollState&);
void callApplyScroll(ScrollState&);
+ ScrollStateCallback* getApplyScroll();
+
// 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