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

Unified Diff: third_party/WebKit/Source/core/input/ScrollManager.h

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: Merge branch 'master' into GSB_checks_delta_hints Created 3 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/input/ScrollManager.h
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.h b/third_party/WebKit/Source/core/input/ScrollManager.h
index bbbe24963060ed1b92eda6364165d345dcb040e6..ff23ed62ca789e0a8ab4530cec952b7cdac99c8b 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.h
+++ b/third_party/WebKit/Source/core/input/ScrollManager.h
@@ -101,7 +101,7 @@ class CORE_EXPORT ScrollManager
void ClearGestureScrollState();
- void CustomizedScroll(const Node& start_node, ScrollState&);
+ void CustomizedScroll(ScrollState&);
Page* GetPage() const;
@@ -110,7 +110,9 @@ class CORE_EXPORT ScrollManager
bool HandleScrollGestureOnResizer(Node*, const WebGestureEvent&);
void RecomputeScrollChain(const Node& start_node,
+ const ScrollState&,
std::deque<int>& scroll_chain);
+ bool CanScroll(const ScrollState&, const Element& current_element);
// scroller_size is set only when scrolling non root scroller.
void ComputeScrollRelatedMetrics(
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewportTest.cpp ('k') | third_party/WebKit/Source/core/input/ScrollManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698