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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputTypeView.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: Check if element is nullptr to fix the crash 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 572f4647299ed20759706bcdb088547338f3fd82..1a45eaf5d709c4c009304d903400f6c7717ee357 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.h
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.h
@@ -55,7 +55,6 @@ class KeyboardEvent;
class MouseEvent;
class LayoutObject;
class ComputedStyle;
-class TouchEvent;
class ClickHandlingState final : public EventDispatchHandlingState {
public:
@@ -87,7 +86,6 @@ public:
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;
@@ -97,7 +95,6 @@ public:
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