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

Unified Diff: third_party/WebKit/Source/core/html/forms/RangeInputType.h

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: Move the touch event handlers to the container in the shadow dom 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/RangeInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.h b/third_party/WebKit/Source/core/html/forms/RangeInputType.h
index e18c911b34c2fa57ce3ff9d94caa41cb5a7c7e7f..5b7d5f42103eb324e93b9f7ceaf39f8a840fc3fd 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.h
@@ -58,9 +58,8 @@ private:
bool supportsRequired() const override;
StepRange createStepRange(AnyStepHandling) const override;
bool isSteppable() const override;
+ bool hasPassiveTouchEventHandler() const override;
void handleMouseDownEvent(MouseEvent*) override;
- void handleTouchEvent(TouchEvent*) override;
- bool hasTouchEventHandler() const override;
void handleKeydownEvent(KeyboardEvent*) override;
LayoutObject* createLayoutObject(const ComputedStyle&) const override;
void createShadowSubtree() override;

Powered by Google App Engine
This is Rietveld 408576698