| Index: Source/core/rendering/HitTestRequest.h
|
| diff --git a/Source/core/rendering/HitTestRequest.h b/Source/core/rendering/HitTestRequest.h
|
| index 97dfa5165a72c72c815075403178ff20e7c9846e..44fd6e4ecc90ab3b88c3d93b34271ae4ed449946 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 block-level elements
|
| };
|
|
|
| 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(); }
|
|
|