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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.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/FileInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
index 9c9297cc1e6d5beab38d7cdfa2146a1dd138fbcb..76597c53e380ec8b56f1751742c382b1cc8eaf8c 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
@@ -193,7 +193,8 @@ String FileInputType::valueInFilenameValueMode() const {
void FileInputType::setValue(const String&,
bool valueChanged,
- TextFieldEventBehavior) {
+ TextFieldEventBehavior,
+ TextControlSetValueSelection) {
if (!valueChanged)
return;
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/FileInputType.h ('k') | third_party/WebKit/Source/core/html/forms/HiddenInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698