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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. 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 6e3a09a560c88b1cc6f79824473fae71e24d1406..2aa16cbddc93fb056898af9b5c115dc0ef99e344 100644
--- a/Source/core/dom/EventContext.h
+++ b/Source/core/dom/EventContext.h
@@ -35,9 +35,7 @@
namespace WebCore {
class Event;
-#if ENABLE(TOUCH_EVENTS)
class TouchList;
-#endif
class EventContext {
public:
@@ -78,7 +76,6 @@ private:
};
-#if ENABLE(TOUCH_EVENTS)
class TouchEventContext : public EventContext {
public:
TouchEventContext(PassRefPtr<Node>, PassRefPtr<EventTarget> currentTarget, PassRefPtr<EventTarget> target);
@@ -105,7 +102,6 @@ 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