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

Unified Diff: sky/engine/core/events/EventPath.h

Issue 868133003: Remove touch events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/events/EventAliases.in ('k') | sky/engine/core/events/EventPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventPath.h
diff --git a/sky/engine/core/events/EventPath.h b/sky/engine/core/events/EventPath.h
index 4dd6e63d0ac7674fd32490af76cc0b39806ee412..a3ca9626741d6228e7788107ad6be60ed1ff62aa 100644
--- a/sky/engine/core/events/EventPath.h
+++ b/sky/engine/core/events/EventPath.h
@@ -38,8 +38,6 @@ namespace blink {
class Event;
class EventTarget;
class Node;
-class TouchEvent;
-class TouchList;
class TreeScope;
class EventPath final {
@@ -56,7 +54,6 @@ public:
size_t size() const { return m_nodeEventContexts.size(); }
void adjustForRelatedTarget(Node*, EventTarget* relatedTarget);
- void adjustForTouchEvent(Node*, TouchEvent&);
static EventTarget* eventTargetRespectingTargetRules(Node*);
@@ -74,8 +71,6 @@ private:
void shrink(size_t newSize) { m_nodeEventContexts.shrink(newSize); }
void shrinkIfNeeded(const Node* target, const EventTarget* relatedTarget);
- void adjustTouchList(const Node*, const TouchList*, Vector<RawPtr<TouchList> > adjustedTouchList, const Vector<RawPtr<TreeScope> >& treeScopes);
-
typedef HashMap<RawPtr<TreeScope>, RefPtr<TreeScopeEventContext> > TreeScopeEventContextMap;
TreeScopeEventContext* ensureTreeScopeEventContext(Node* currentTarget, TreeScope*, TreeScopeEventContextMap&);
@@ -84,10 +79,6 @@ private:
static void buildRelatedNodeMap(const Node*, RelatedTargetMap&);
static EventTarget* findRelatedNode(TreeScope*, RelatedTargetMap&);
-#if ENABLE(ASSERT)
- static void checkReachability(TreeScope&, TouchList&);
-#endif
-
Vector<NodeEventContext, 64> m_nodeEventContexts;
RawPtr<Node> m_node;
RawPtr<Event> m_event;
« no previous file with comments | « sky/engine/core/events/EventAliases.in ('k') | sky/engine/core/events/EventPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698