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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2735633006: INPUT/TEXTAREA elements: Dispatch 'select' event only if text selection is changed. (Closed)
Patch Set: . Created 3 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: third_party/WebKit/Source/core/html/HTMLInputElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.h b/third_party/WebKit/Source/core/html/HTMLInputElement.h
index 5ca9a35360618f8be718de98a015d6dda64d9481..77045bb05d11b7726b483830780e0900000d7777 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.h
@@ -122,7 +122,9 @@ class CORE_EXPORT HTMLInputElement : public TextControlElement {
ExceptionState&,
TextFieldEventBehavior = DispatchNoEvent);
void setValue(const String&,
- TextFieldEventBehavior = DispatchNoEvent) override;
+ TextFieldEventBehavior = DispatchNoEvent,
+ TextControlSetValueSelection =
+ TextControlSetValueSelection::kSetSelectionToEnd) override;
void setValueForUser(const String&);
// Update the value, and clear hasDirtyValue() flag.
void setNonDirtyValue(const String&);

Powered by Google App Engine
This is Rietveld 408576698