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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.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/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index 948af5645e1bb58f8cfb22fb42a8b96ba43a9321..a7a5f702f1c91f91158936d7ad438c222d25741b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -37,7 +37,7 @@ namespace blink {
class CullRect;
class GraphicsContext;
-class PlatformMouseEvent;
+class WebMouseEvent;
class PLATFORM_EXPORT ScrollbarTheme {
WTF_MAKE_NONCOPYABLE(ScrollbarTheme);
@@ -106,11 +106,11 @@ class PLATFORM_EXPORT ScrollbarTheme {
const IntRect&);
virtual bool shouldCenterOnThumb(const ScrollbarThemeClient&,
- const PlatformMouseEvent&);
+ const WebMouseEvent&);
virtual bool shouldSnapBackToDragOrigin(const ScrollbarThemeClient&,
- const PlatformMouseEvent&);
+ const WebMouseEvent&);
virtual bool shouldDragDocumentInsteadOfThumb(const ScrollbarThemeClient&,
- const PlatformMouseEvent&) {
+ const WebMouseEvent&) {
return false;
}
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698