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

Unified Diff: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.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/shadow/SliderThumbElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
index ef06fa4719a2c66637f14f0da3b8ce1f9fd0edb4..a402044aed7e57edee838025a4cb233b446e5b3a 100644
--- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
+++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
@@ -81,6 +81,8 @@ DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement());
class SliderContainerElement final : public HTMLDivElement {
public:
DECLARE_NODE_FACTORY(SliderContainerElement);
+ void defaultEventHandler(Event*) override;
+ void handleTouchEvent(TouchEvent*);
private:
explicit SliderContainerElement(Document&);

Powered by Google App Engine
This is Rietveld 408576698