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

Unified Diff: Source/core/html/forms/TextFieldInputType.h

Issue 196933006: Do not dispatch 'change' events during pressing spin buttons for input[type=number]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid extra change event Created 6 years, 9 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: Source/core/html/forms/TextFieldInputType.h
diff --git a/Source/core/html/forms/TextFieldInputType.h b/Source/core/html/forms/TextFieldInputType.h
index 2ff13626d45e56766f0f4279ab171a1a764f91cf..aca69b9907350192d78d4a62075b075c820d2216 100644
--- a/Source/core/html/forms/TextFieldInputType.h
+++ b/Source/core/html/forms/TextFieldInputType.h
@@ -93,6 +93,7 @@ private:
virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE FINAL;
virtual void spinButtonStepDown() OVERRIDE FINAL;
virtual void spinButtonStepUp() OVERRIDE FINAL;
+ virtual void spinButtonDidReleaseMouseCapture() OVERRIDE FINAL;
SpinButtonElement* spinButtonElement() const;
};

Powered by Google App Engine
This is Rietveld 408576698