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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.cpp

Issue 1799253002: Stricter user gestures for touch - measure and warn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaks Created 4 years, 8 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/html/forms/FileInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
index 67b0a53b44fb8b88937fe3b94df6fcf43f2dc6e9..d76ced7b2913332cd08404593434039496d18c13 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
@@ -134,7 +134,7 @@ void FileInputType::handleDOMActivateEvent(Event* event)
if (element().isDisabledFormControl())
return;
- if (!UserGestureIndicator::processingUserGesture())
+ if (!UserGestureIndicator::utilizeUserGesture())
return;
if (ChromeClient* chromeClient = this->chromeClient()) {
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/ColorInputType.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698