Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/TouchEvent.h |
| diff --git a/third_party/WebKit/Source/core/events/TouchEvent.h b/third_party/WebKit/Source/core/events/TouchEvent.h |
| index 530ae237a98effaea9c74c90ac0b1ea5a1bcc07c..f934bb196575a1c385b850378b3df721eb25ab10 100644 |
| --- a/third_party/WebKit/Source/core/events/TouchEvent.h |
| +++ b/third_party/WebKit/Source/core/events/TouchEvent.h |
| @@ -53,10 +53,12 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { |
| bool cancelable, |
| bool causesScrollingIfUncanceled, |
| bool firstTouchMoveOrStart, |
| - double platformTimeStamp) { |
| + double platformTimeStamp, |
| + TouchAction currentTouchAction) { |
| return new TouchEvent(touches, targetTouches, changedTouches, type, view, |
| modifiers, cancelable, causesScrollingIfUncanceled, |
| - firstTouchMoveOrStart, platformTimeStamp); |
| + firstTouchMoveOrStart, platformTimeStamp, |
| + currentTouchAction); |
| } |
| static TouchEvent* create(const AtomicString& type, |
| @@ -103,7 +105,8 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { |
| bool cancelable, |
| bool causesScrollingIfUncanceled, |
| bool firstTouchMoveOrStart, |
| - double platformTimeStamp); |
| + double platformTimeStamp, |
| + TouchAction currentTouchAction); |
| TouchEvent(const AtomicString&, const TouchEventInit&); |
| Member<TouchList> m_touches; |
| @@ -112,6 +115,7 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { |
| bool m_causesScrollingIfUncanceled; |
| bool m_firstTouchMoveOrStart; |
| bool m_defaultPreventedBeforeCurrentTarget; |
| + TouchAction m_currentTouchAction; |
|
Rick Byers
2016/11/07 17:01:09
Define this precisely in a comment. Is it the tou
dtapuska
2016/11/07 18:51:40
Done.
|
| }; |
| class TouchEventDispatchMediator final : public EventDispatchMediator { |