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

Unified Diff: sky/engine/core/events/NodeEventContext.cpp

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/NodeEventContext.h ('k') | sky/engine/core/events/ThreadLocalEventNames.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/NodeEventContext.cpp
diff --git a/sky/engine/core/events/NodeEventContext.cpp b/sky/engine/core/events/NodeEventContext.cpp
index cc19f6183a8508882460d8982a3bab90fbb9d496..4385c8286b90ea1ded161fdeb6112a670bf94a62 100644
--- a/sky/engine/core/events/NodeEventContext.cpp
+++ b/sky/engine/core/events/NodeEventContext.cpp
@@ -27,10 +27,8 @@
#include "sky/engine/config.h"
#include "sky/engine/core/events/NodeEventContext.h"
-#include "sky/engine/core/dom/TouchList.h"
#include "sky/engine/core/events/Event.h"
#include "sky/engine/core/events/FocusEvent.h"
-#include "sky/engine/core/events/TouchEventContext.h"
namespace blink {
@@ -45,9 +43,7 @@ NodeEventContext::NodeEventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget
void NodeEventContext::handleLocalEvents(Event* event) const
{
- if (touchEventContext()) {
- touchEventContext()->handleLocalEvents(event);
- } else if (relatedTarget()) {
+ if (relatedTarget()) {
if (event->isFocusEvent())
toFocusEvent(event)->setRelatedTarget(relatedTarget());
}
« no previous file with comments | « sky/engine/core/events/NodeEventContext.h ('k') | sky/engine/core/events/ThreadLocalEventNames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698