Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 1956493002: Remove user gestures on touches other than tap in cross-origin iframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt to harden the test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index dbc20349449fedba842cf2c85959f0cd7ceda670..2a35014b628801cf5bc59701c90ddc1d4971f40c 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -3644,10 +3644,9 @@ WebInputEventResult EventHandler::handleTouchEvent(const PlatformTouchEvent& eve
void EventHandler::userGestureUtilized()
{
- // This is invoked for UserGestureIndicators created in handleTouchEvent which perhaps represent
- // touch actions which shouldn't be considered a user-gesture.
+ // This is invoked for UserGestureIndicators created in TouchEventManger::handleTouchEvent which perhaps
+ // represent touch actions which shouldn't be considered a user-gesture.
UseCounter::count(m_frame, UseCounter::TouchDragUserGestureUsed);
- Deprecation::countDeprecationCrossOriginIframe(m_frame, UseCounter::TouchDragUserGestureUsedCrossOrigin);
}
void EventHandler::setLastKnownMousePosition(const PlatformMouseEvent& event)

Powered by Google App Engine
This is Rietveld 408576698