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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: 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/core/layout/LayoutScrollbarTheme.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h b/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h
index c9b96ebebe0203e61654ff5a1499d5f9f15d4d03..de89c064fee666ef12d12ccaee37b30897be9e1d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h
@@ -30,7 +30,7 @@
namespace blink {
-class PlatformMouseEvent;
+class WebMouseEvent;
class LayoutScrollbarTheme final : public ScrollbarTheme {
public:
@@ -49,11 +49,11 @@ class LayoutScrollbarTheme final : public ScrollbarTheme {
const IntRect& cornerRect) override;
bool shouldCenterOnThumb(const ScrollbarThemeClient& scrollbar,
- const PlatformMouseEvent& event) override {
+ const WebMouseEvent& event) override {
return ScrollbarTheme::theme().shouldCenterOnThumb(scrollbar, event);
}
bool shouldSnapBackToDragOrigin(const ScrollbarThemeClient& scrollbar,
- const PlatformMouseEvent& event) override {
+ const WebMouseEvent& event) override {
return ScrollbarTheme::theme().shouldSnapBackToDragOrigin(scrollbar, event);
}

Powered by Google App Engine
This is Rietveld 408576698