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

Unified Diff: sky/engine/core/rendering/HitTestRequest.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/page/EventHandler.cpp ('k') | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/HitTestRequest.h
diff --git a/sky/engine/core/rendering/HitTestRequest.h b/sky/engine/core/rendering/HitTestRequest.h
index 720c502fea8e30261311f3b907e5fb840dd25ed8..ea820575f811e05bcae16c8ccd5e250cbadb1610 100644
--- a/sky/engine/core/rendering/HitTestRequest.h
+++ b/sky/engine/core/rendering/HitTestRequest.h
@@ -34,7 +34,6 @@ public:
Release = 1 << 4,
IgnoreClipping = 1 << 5,
SVGClipContent = 1 << 6,
- TouchEvent = 1 << 7,
IgnorePointerEventsNone = 1 << 8,
};
@@ -51,12 +50,8 @@ public:
bool release() const { return m_requestType & Release; }
bool ignoreClipping() const { return m_requestType & IgnoreClipping; }
bool svgClipContent() const { return m_requestType & SVGClipContent; }
- bool touchEvent() const { return m_requestType & TouchEvent; }
bool ignorePointerEventsNone() const { return m_requestType & IgnorePointerEventsNone; }
- // Convenience functions
- bool touchMove() const { return move() && touchEvent(); }
-
HitTestRequestType type() const { return m_requestType; }
private:
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698