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

Side by Side Diff: sky/engine/core/frame/NewEventHandler.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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/events/TreeScopeEventContext.cpp ('k') | sky/engine/core/frame/Settings.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sky/engine/config.h" 5 #include "sky/engine/config.h"
6 #include "sky/engine/core/frame/NewEventHandler.h" 6 #include "sky/engine/core/frame/NewEventHandler.h"
7 7
8 #include "sky/engine/core/dom/Document.h" 8 #include "sky/engine/core/dom/Document.h"
9 #include "sky/engine/core/dom/NodeRenderingTraversal.h" 9 #include "sky/engine/core/dom/NodeRenderingTraversal.h"
10 #include "sky/engine/core/dom/TouchList.h"
11 #include "sky/engine/core/editing/Editor.h" 10 #include "sky/engine/core/editing/Editor.h"
12 #include "sky/engine/core/editing/FrameSelection.h" 11 #include "sky/engine/core/editing/FrameSelection.h"
13 #include "sky/engine/core/editing/htmlediting.h" 12 #include "sky/engine/core/editing/htmlediting.h"
14 #include "sky/engine/core/events/PointerEvent.h" 13 #include "sky/engine/core/events/PointerEvent.h"
15 #include "sky/engine/core/frame/LocalFrame.h" 14 #include "sky/engine/core/frame/LocalFrame.h"
16 #include "sky/engine/core/frame/FrameView.h" 15 #include "sky/engine/core/frame/FrameView.h"
17 #include "sky/engine/core/page/EventWithHitTestResults.h" 16 #include "sky/engine/core/page/EventWithHitTestResults.h"
18 #include "sky/engine/core/rendering/RenderObject.h" 17 #include "sky/engine/core/rendering/RenderObject.h"
19 #include "sky/engine/core/rendering/RenderView.h" 18 #include "sky/engine/core/rendering/RenderView.h"
20 #include "sky/engine/platform/geometry/FloatPoint.h" 19 #include "sky/engine/platform/geometry/FloatPoint.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return target && dispatchPointerEvent(*target.get(), event); 143 return target && dispatchPointerEvent(*target.get(), event);
145 } 144 }
146 145
147 bool NewEventHandler::handlePointerCancelEvent(const WebPointerEvent& event) 146 bool NewEventHandler::handlePointerCancelEvent(const WebPointerEvent& event)
148 { 147 {
149 RefPtr<Node> target = m_targetForPointer[event.pointer]; 148 RefPtr<Node> target = m_targetForPointer[event.pointer];
150 return target && dispatchPointerEvent(*target, event); 149 return target && dispatchPointerEvent(*target, event);
151 } 150 }
152 151
153 } 152 }
OLDNEW
« no previous file with comments | « sky/engine/core/events/TreeScopeEventContext.cpp ('k') | sky/engine/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698