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

Unified Diff: sky/engine/core/page/EventHandler.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/frame/Settings.in ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/EventHandler.h
diff --git a/sky/engine/core/page/EventHandler.h b/sky/engine/core/page/EventHandler.h
index 7a2d9b35ae04dd1895b01a71b4a4254216ecd7a3..27f12c0ca0516e85113571355690644489ba451c 100644
--- a/sky/engine/core/page/EventHandler.h
+++ b/sky/engine/core/page/EventHandler.h
@@ -61,14 +61,12 @@ class Node;
class OptionalCursor;
class PlatformGestureEvent;
class PlatformKeyboardEvent;
-class PlatformTouchEvent;
class RenderLayer;
class RenderLayerScrollableArea;
class RenderObject;
class ScrollableArea;
class Scrollbar;
class TextEvent;
-class TouchEvent;
class VisibleSelection;
class Widget;
@@ -139,8 +137,6 @@ public:
void capsLockStateMayHaveChanged(); // Only called by FrameSelection
- bool handleTouchEvent(const PlatformTouchEvent&);
-
bool useHandCursor(Node*, bool isOverLink);
void notifyElementActivated();
@@ -249,15 +245,6 @@ private:
RefPtr<Node> m_previousWheelScrolledNode;
- // The target of each active touch point indexed by the touch ID.
- typedef HashMap<unsigned, RefPtr<EventTarget>, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned> > TouchTargetMap;
- TouchTargetMap m_targetForTouchID;
-
- // If set, the document of the active touch sequence. Unset if no touch sequence active.
- RefPtr<Document> m_touchSequenceDocument;
-
- bool m_touchPressed;
-
RefPtr<Node> m_scrollGestureHandlingNode;
bool m_lastGestureScrollOverWidget;
RefPtr<Node> m_previousGestureScrolledNode;
« no previous file with comments | « sky/engine/core/frame/Settings.in ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698