Chromium Code Reviews| Index: third_party/WebKit/Source/core/input/PointerEventManager.cpp |
| diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
| index 5412a7958e67e1d03fd707b721ea9e5f6f155612..2fc6931fc3059fa6d42cf7ad95afaec8136dfb5a 100644 |
| --- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
| +++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp |
| @@ -287,6 +287,10 @@ void PointerEventManager::unblockTouchPointers() { |
| WebInputEventResult PointerEventManager::handleTouchEvents( |
| const PlatformTouchEvent& event) { |
| + // TODO(japhet): UserGestureIndicator should setHasReceivedUserGesture() |
| + // on the Document. |
| + if (UserGestureIndicator::processingUserGesture()) |
|
Rick Byers
2016/10/06 16:26:47
I think this is also always the root frame documen
|
| + m_frame->document()->setHasReceivedUserGesture(); |
| if (event.type() == PlatformEvent::TouchScrollStarted) { |
| blockTouchPointers(); |
| m_touchEventManager->setTouchScrollStarted(); |