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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Created 4 years 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 aa577f1ca763ea6e69c898509b17a8c754ba611c..87c52aaafbec1c423ec0ca57f4c763cc93c08d43 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -39,10 +39,10 @@ namespace blink {
class GraphicsContext;
class HostWindow;
class IntRect;
-class PlatformGestureEvent;
class PlatformMouseEvent;
class ScrollableArea;
class ScrollbarTheme;
+class WebGestureEvent;
class PLATFORM_EXPORT Scrollbar : public Widget,
public ScrollbarThemeClient,
@@ -135,7 +135,7 @@ class PLATFORM_EXPORT Scrollbar : public Widget,
// 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);
+ bool gestureEvent(const WebGestureEvent&, 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

Powered by Google App Engine
This is Rietveld 408576698