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

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

Issue 2069713002: Make all gesture scrolls use customization path internally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + Fix test Created 4 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 3c25dd573c587edbb4e252bb431b8c1e80a1e657..0c9e668dcaa368e8bd9b8cca20b33139beae76c9 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -150,6 +150,7 @@ class ScriptRunner;
class ScriptableDocumentParser;
class ScriptedAnimationController;
class ScriptedIdleTaskController;
+class ScrollStateCallback;
class SecurityOrigin;
class SegmentedString;
class SelectorQueryCache;
@@ -1083,7 +1084,11 @@ public:
Element* rootScroller() const;
void setRootScroller(Element*, ExceptionState&);
- bool isEffectiveRootScroller(const Element&) const;
+ const Element* effectiveRootScroller() const;
+
+ // TODO(bokan): Temporarily added to allow ScrollCustomization to properly
+ // opt out for wheel scrolls. crbug.com/623079.
+ bool isViewportScrollCallback(const ScrollStateCallback*);
bool isInMainFrame() const;

Powered by Google App Engine
This is Rietveld 408576698