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

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

Issue 2266423003: Revert of 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.h
diff --git a/third_party/WebKit/Source/core/html/forms/InputTypeView.h b/third_party/WebKit/Source/core/html/forms/InputTypeView.h
index 1a45eaf5d709c4c009304d903400f6c7717ee357..572f4647299ed20759706bcdb088547338f3fd82 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.h
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.h
@@ -55,6 +55,7 @@
class MouseEvent;
class LayoutObject;
class ComputedStyle;
+class TouchEvent;
class ClickHandlingState final : public EventDispatchHandlingState {
public:
@@ -86,6 +87,7 @@
virtual void handleKeypressEvent(KeyboardEvent*);
virtual void handleKeyupEvent(KeyboardEvent*);
virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*);
+ virtual void handleTouchEvent(TouchEvent*);
virtual void forwardEvent(Event*);
virtual bool shouldSubmitImplicitly(Event*);
virtual HTMLFormElement* formForSubmission() const;
@@ -95,6 +97,7 @@
virtual void handleBlurEvent();
virtual void handleDOMActivateEvent(Event*);
virtual void accessKeyAction(bool sendMouseEvents);
+ virtual bool hasTouchEventHandler() const;
virtual void blur();
void dispatchSimulatedClickIfActive(KeyboardEvent*) const;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | third_party/WebKit/Source/core/html/forms/InputTypeView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698