Chromium Code Reviews| Index: Source/core/rendering/HitTestRequest.h |
| diff --git a/Source/core/rendering/HitTestRequest.h b/Source/core/rendering/HitTestRequest.h |
| old mode 100644 |
| new mode 100755 |
| index 97dfa5165a72c72c815075403178ff20e7c9846e..6dc0580be70517936994f4c7d0f3cee38efc7a94 |
| --- 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 |
|
Rick Byers
2014/01/17 16:12:46
Please add a brief comment describing this: eg. "H
|
| }; |
| 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(); } |