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

Unified Diff: sky/engine/platform/scroll/Scrollbar.h

Issue 870073003: Remove mouse events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/platform/scroll/Scrollbar.h
diff --git a/sky/engine/platform/scroll/Scrollbar.h b/sky/engine/platform/scroll/Scrollbar.h
index 5936913d74ae72e4eabca10fc1380dbc0e0bece4..17f53d549ceec4efb33750412a1a2a9473e511dc 100644
--- a/sky/engine/platform/scroll/Scrollbar.h
+++ b/sky/engine/platform/scroll/Scrollbar.h
@@ -38,7 +38,6 @@ namespace blink {
class GraphicsContext;
class IntRect;
class PlatformGestureEvent;
-class PlatformMouseEvent;
class ScrollableArea;
class PLATFORM_EXPORT Scrollbar final : public Widget {
@@ -79,17 +78,9 @@ public:
bool gestureEvent(const PlatformGestureEvent&);
- // 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
- // grabbing all events in that case anyway.
- void mouseMoved(const PlatformMouseEvent&);
void mouseEntered();
void mouseExited();
- // Used by some platform scrollbars to know when they've been released from capture.
- void mouseUp(const PlatformMouseEvent&);
- void mouseDown(const PlatformMouseEvent&);
-
virtual IntRect convertToContainingView(const IntRect&) const override;
virtual IntRect convertFromContainingView(const IntRect&) const override;

Powered by Google App Engine
This is Rietveld 408576698