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

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

Issue 2209773002: Remove the blocking touch handlers for the input[type=range] and add touch-action instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/InputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
index a9d4dfdfb8a6d11fb852f4ab620dd4a511050980..5b0595f8f9b5e8c4837e26a0a1d9a81c5599ff4c 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
@@ -30,7 +30,6 @@
#include "core/dom/shadow/ShadowRoot.h"
#include "core/events/KeyboardEvent.h"
#include "core/html/HTMLFormElement.h"
-#include "core/html/HTMLInputElement.h"
#include "core/html/forms/FormController.h"
#include "core/layout/LayoutObject.h"
@@ -226,9 +225,9 @@ void InputTypeView::subtreeHasChanged()
NOTREACHED();
}
-bool InputTypeView::hasTouchEventHandler() const
+TouchHandlerType InputTypeView::hasTouchEventHandler() const
{
- return false;
+ return None;
}
void InputTypeView::listAttributeTargetChanged()

Powered by Google App Engine
This is Rietveld 408576698