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

Unified Diff: Source/core/dom/Node.h

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/core/dom/EventRetargeter.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/dom/EventRetargeter.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698