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

Unified Diff: Source/core/dom/EventRetargeter.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/EventNames.in ('k') | Source/core/dom/EventRetargeter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/EventRetargeter.h
diff --git a/Source/core/dom/EventRetargeter.h b/Source/core/dom/EventRetargeter.h
index 926a1a5b0584610a2ce64bd241d6bfcc69340384..6b9fb139838cdcc76a1abc2c3eae25c79623771e 100644
--- a/Source/core/dom/EventRetargeter.h
+++ b/Source/core/dom/EventRetargeter.h
@@ -39,9 +39,7 @@ class EventTarget;
class FocusEvent;
class MouseEvent;
class Node;
-#if ENABLE(TOUCH_EVENTS)
class TouchEvent;
-#endif
class TreeScope;
enum EventDispatchBehavior {
@@ -54,10 +52,8 @@ public:
static void calculateEventPath(Node*, Event*, EventPath&);
static void adjustForMouseEvent(Node*, const MouseEvent&, EventPath&);
static void adjustForFocusEvent(Node*, const FocusEvent&, EventPath&);
-#if ENABLE(TOUCH_EVENTS)
typedef Vector<RefPtr<TouchList> > EventPathTouchLists;
static void adjustForTouchEvent(Node*, const TouchEvent&, EventPath&);
-#endif
static EventTarget* eventTargetRespectingTargetRules(Node* referenceNode);
private:
@@ -71,9 +67,7 @@ private:
static void calculateAdjustedNodes(const Node*, const Node* relatedNode, EventWithRelatedTargetDispatchBehavior, EventPath&, AdjustedNodes&);
static void buildRelatedNodeMap(const Node*, RelatedNodeMap&);
static Node* findRelatedNode(TreeScope*, RelatedNodeMap&);
-#if ENABLE(TOUCH_EVENTS)
static void adjustTouchList(const Node*, const TouchList*, const EventPath&, EventPathTouchLists&);
-#endif
};
inline EventTarget* EventRetargeter::eventTargetRespectingTargetRules(Node* referenceNode)
« no previous file with comments | « Source/core/dom/EventNames.in ('k') | Source/core/dom/EventRetargeter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698