Index: third_party/WebKit/public/platform/WebScrollbarBehavior.h |
diff --git a/third_party/WebKit/public/platform/WebScrollbarBehavior.h b/third_party/WebKit/public/platform/WebScrollbarBehavior.h |
index 90fd37a25ec50bd9c06157f47766f7bc046f6198..6d9b8a157468ecedfc6e9f46efc331356233813e 100644 |
--- a/third_party/WebKit/public/platform/WebScrollbarBehavior.h |
+++ b/third_party/WebKit/public/platform/WebScrollbarBehavior.h |
@@ -5,8 +5,6 @@ |
#ifndef WebScrollbarBehavior_h |
#define WebScrollbarBehavior_h |
-#include "WebPointerProperties.h" |
- |
namespace blink { |
struct WebPoint; |
@@ -14,8 +12,14 @@ struct WebRect; |
class WebScrollbarBehavior { |
public: |
+ enum Button { |
+ ButtonNone = -1, |
+ ButtonLeft, |
+ ButtonMiddle, |
+ ButtonRight |
+ }; |
virtual ~WebScrollbarBehavior() { } |
- virtual bool shouldCenterOnThumb(WebPointerProperties::Button, bool shiftKeyPressed, bool altKeyPressed) { return false; } |
+ virtual bool shouldCenterOnThumb(Button, bool shiftKeyPressed, bool altKeyPressed) { return false; } |
virtual bool shouldSnapBackToDragOrigin(const WebPoint& eventPoint, const WebRect& scrollbarRect, bool isHorizontal) { return false; } |
}; |