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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

Issue 1805063003: Handle gesture scroll events on scrollbars from Touchpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_6
Patch Set: Add comment Created 4 years, 9 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/platform/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index c1dfe8ec541f9faba530f229e595a430ce4e774f..9699332e446d74301c5384f741702c2fd6febcab 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -119,7 +119,10 @@ public:
void windowActiveChangedForSnowLeopardOnly();
bool isWindowActive() const;
- bool gestureEvent(const PlatformGestureEvent&);
+ // Return if the gesture event was handled. |shouldUpdateCapture|
+ // will be set to true if the handler should update the capture
+ // state for this scrollbar.
+ bool gestureEvent(const PlatformGestureEvent&, bool* shouldUpdateCapture);
// These methods are used for platform scrollbars to give :hover feedback. They will not get called
// when the mouse went down in a scrollbar, since it is assumed the scrollbar will start
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698