Index: Source/core/rendering/HitTestRequest.h |
diff --git a/Source/core/rendering/HitTestRequest.h b/Source/core/rendering/HitTestRequest.h |
index 97dfa5165a72c72c815075403178ff20e7c9846e..5d32811dc15bad376282d80253a77de14abc0a0d 100644 |
--- a/Source/core/rendering/HitTestRequest.h |
+++ b/Source/core/rendering/HitTestRequest.h |
@@ -40,7 +40,8 @@ public: |
AllowFrameScrollbars = 1 << 9, |
AllowChildFrameContent = 1 << 10, |
ChildFrameHitTest = 1 << 11, |
- IgnorePointerEventsNone = 1 << 12 |
+ IgnorePointerEventsNone = 1 << 12, |
+ TouchAction = 1 << 13, // Hit testing for touch-action considers only blocks-level elements |
Rick Byers
2014/02/17 14:43:52
nit: s/blocks/block/
gnana
2014/02/24 18:59:50
Done.
|
}; |
typedef unsigned HitTestRequestType; |
@@ -63,6 +64,7 @@ public: |
bool allowsChildFrameContent() const { return m_requestType & AllowChildFrameContent; } |
bool isChildFrameHitTest() const { return m_requestType & ChildFrameHitTest; } |
bool ignorePointerEventsNone() const { return m_requestType & IgnorePointerEventsNone; } |
+ bool touchAction() const { return m_requestType & TouchAction; } |
// Convenience functions |
bool touchMove() const { return move() && touchEvent(); } |