Index: Source/core/platform/chromium/FramelessScrollView.h |
diff --git a/Source/core/platform/chromium/FramelessScrollView.h b/Source/core/platform/chromium/FramelessScrollView.h |
index 945597c6d345d2d337dac36a85d3a49414bcc79a..8999e09ddd5303e71de30588fb3e159884cd51f5 100644 |
--- a/Source/core/platform/chromium/FramelessScrollView.h |
+++ b/Source/core/platform/chromium/FramelessScrollView.h |
@@ -39,7 +39,9 @@ namespace WebCore { |
class PlatformGestureEvent; |
class PlatformKeyboardEvent; |
class PlatformMouseEvent; |
+#if ENABLE(TOUCH_EVENTS) |
class PlatformTouchEvent; |
+#endif |
class PlatformWheelEvent; |
// A FramelessScrollView is a ScrollView that can be used to render custom |
@@ -62,7 +64,9 @@ namespace WebCore { |
virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) = 0; |
virtual bool handleWheelEvent(const PlatformWheelEvent&) = 0; |
virtual bool handleKeyEvent(const PlatformKeyboardEvent&) = 0; |
+#if ENABLE(TOUCH_EVENTS) |
virtual bool handleTouchEvent(const PlatformTouchEvent&) = 0; |
+#endif |
virtual bool handleGestureEvent(const PlatformGestureEvent&) = 0; |
// ScrollableArea public methods: |