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

Unified Diff: sky/engine/core/events/TreeScopeEventContext.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/TreeScopeEventContext.h ('k') | sky/engine/core/frame/NewEventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/TreeScopeEventContext.cpp
diff --git a/sky/engine/core/events/TreeScopeEventContext.cpp b/sky/engine/core/events/TreeScopeEventContext.cpp
index baab50c265522f05e6b505005c6208993f747b63..09b5977950668d4dfba3b9e6f9fce2e826cfce1e 100644
--- a/sky/engine/core/events/TreeScopeEventContext.cpp
+++ b/sky/engine/core/events/TreeScopeEventContext.cpp
@@ -30,7 +30,6 @@
#include "sky/engine/core/dom/StaticNodeList.h"
#include "sky/engine/core/dom/shadow/ShadowRoot.h"
#include "sky/engine/core/events/EventPath.h"
-#include "sky/engine/core/events/TouchEventContext.h"
namespace blink {
@@ -52,13 +51,6 @@ PassRefPtr<StaticNodeList> TreeScopeEventContext::ensureEventPath(EventPath& pat
return m_eventPath;
}
-TouchEventContext* TreeScopeEventContext::ensureTouchEventContext()
-{
- if (!m_touchEventContext)
- m_touchEventContext = TouchEventContext::create();
- return m_touchEventContext.get();
-}
-
PassRefPtr<TreeScopeEventContext> TreeScopeEventContext::create(TreeScope& treeScope)
{
return adoptRef(new TreeScopeEventContext(treeScope));
« no previous file with comments | « sky/engine/core/events/TreeScopeEventContext.h ('k') | sky/engine/core/frame/NewEventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698