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

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

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: Fix nits Created 3 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: 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 6af3ef15384849ff37b29fe87d275d6829d5821b..914c9aa3f535b4b926ada6816f840c1aa7dd5c9e 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 PlatformMouseEvent;
class ScrollableArea;
class ScrollbarTheme;
class WebGestureEvent;
+class WebMouseEvent;
class PLATFORM_EXPORT Scrollbar : public Widget,
public ScrollbarThemeClient,
@@ -145,14 +145,14 @@ class PLATFORM_EXPORT Scrollbar : public Widget,
// 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 mouseMoved(const WebMouseEvent&);
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&);
+ void mouseUp(const WebMouseEvent&);
+ void mouseDown(const WebMouseEvent&);
ScrollbarTheme& theme() const { return m_theme; }
« no previous file with comments | « third_party/WebKit/Source/platform/WebMouseEvent.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