Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index de96815b78c22726042d15f8a45787edabf46d91..a9988bc8fa78f2541f5ae3c2153bda8dee5c6c54 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -81,7 +81,10 @@ class RenderObject; |
class RenderStyle; |
class ShadowRoot; |
class TagNodeList; |
+ |
+#if ENABLE(TOUCH_EVENTS) |
class TouchEvent; |
+#endif |
typedef int ExceptionCode; |
@@ -630,7 +633,9 @@ public: |
bool dispatchWheelEvent(const PlatformWheelEvent&); |
bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& eventType, int clickCount = 0, Node* relatedTarget = 0); |
bool dispatchGestureEvent(const PlatformGestureEvent&); |
+#if ENABLE(TOUCH_EVENTS) |
bool dispatchTouchEvent(PassRefPtr<TouchEvent>); |
+#endif |
void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook); |