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

Unified Diff: Source/core/dom/EventContext.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/Element.idl ('k') | Source/core/dom/EventContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/EventContext.h
diff --git a/Source/core/dom/EventContext.h b/Source/core/dom/EventContext.h
index 2aa16cbddc93fb056898af9b5c115dc0ef99e344..6e3a09a560c88b1cc6f79824473fae71e24d1406 100644
--- a/Source/core/dom/EventContext.h
+++ b/Source/core/dom/EventContext.h
@@ -35,7 +35,9 @@
namespace WebCore {
class Event;
+#if ENABLE(TOUCH_EVENTS)
class TouchList;
+#endif
class EventContext {
public:
@@ -76,6 +78,7 @@ private:
};
+#if ENABLE(TOUCH_EVENTS)
class TouchEventContext : public EventContext {
public:
TouchEventContext(PassRefPtr<Node>, PassRefPtr<EventTarget> currentTarget, PassRefPtr<EventTarget> target);
@@ -102,6 +105,7 @@ inline TouchEventContext* toTouchEventContext(EventContext* eventContext)
ASSERT_WITH_SECURITY_IMPLICATION(!eventContext || eventContext->isTouchEventContext());
return static_cast<TouchEventContext*>(eventContext);
}
+#endif // ENABLE(TOUCH_EVENTS)
#ifndef NDEBUG
inline bool EventContext::isUnreachableNode(EventTarget* target)
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/EventContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698