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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.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/InputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
index 5f1485d46fd5c2d60e008ba250e991cc76c7d78f..fd8731fbf506039d5a0a0e2711df2ef4f7fcd88b 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -510,7 +510,8 @@ void InputType::dispatchSearchEvent() {}
void InputType::setValue(const String& sanitizedValue,
bool valueChanged,
- TextFieldEventBehavior eventBehavior) {
+ TextFieldEventBehavior eventBehavior,
+ TextControlSetValueSelection) {
// This setValue() implementation is used only for ValueMode::kValue except
// TextFieldInputType. That is to say, type=color, type=range, and temporal
// input types.
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/InputType.h ('k') | third_party/WebKit/Source/core/html/forms/NumberInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698