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

Unified Diff: third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp

Issue 2735633006: INPUT/TEXTAREA elements: Dispatch 'select' event only if text selection is changed. (Closed)
Patch Set: Remove throttling 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/forms/HiddenInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp b/third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp
index d90f2b3dc9f9245845eccfd25e679e83f1f59595..83ac8655645e86102e00efd942e4ae4330534ed2 100644
--- a/third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp
@@ -93,7 +93,8 @@ InputType::ValueMode HiddenInputType::valueMode() const {
void HiddenInputType::setValue(const String& sanitizedValue,
bool,
- TextFieldEventBehavior) {
+ TextFieldEventBehavior,
+ TextControlSetValueSelection) {
element().setAttribute(valueAttr, AtomicString(sanitizedValue));
}
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/HiddenInputType.h ('k') | third_party/WebKit/Source/core/html/forms/InputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698