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

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

Issue 1100273002: input[type=number] UI should reject invalid characters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « LayoutTests/fast/forms/validationMessage.html ('k') | Source/core/html/forms/NumberInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/NumberInputType.h
diff --git a/Source/core/html/forms/NumberInputType.h b/Source/core/html/forms/NumberInputType.h
index 8f6404daefd4655e4030be6d640387feb149eeef..a2e1ff28565a652ca5fae9a417d30b7bbdeedc21 100644
--- a/Source/core/html/forms/NumberInputType.h
+++ b/Source/core/html/forms/NumberInputType.h
@@ -55,6 +55,7 @@ private:
bool isSteppable() const override;
StepRange createStepRange(AnyStepHandling) const override;
void handleKeydownEvent(KeyboardEvent*) override;
+ void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) override;
Decimal parseToNumber(const String&, const Decimal&) const override;
String serialize(const Decimal&) const override;
String localizeValue(const String&) const override;
« no previous file with comments | « LayoutTests/fast/forms/validationMessage.html ('k') | Source/core/html/forms/NumberInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698