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

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

Issue 679273004: Set element value to its default value on reset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added isReset as a parameter to not allow setValue change value of m_textAsOfLastFormControlChangeE… Created 6 years, 1 month 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: Source/core/html/forms/FileInputType.h
diff --git a/Source/core/html/forms/FileInputType.h b/Source/core/html/forms/FileInputType.h
index f87a9b3e81251debc875fc4e5d8776664b43f446..2b87c824b22298504af1010ff4c549e177d8ebea 100644
--- a/Source/core/html/forms/FileInputType.h
+++ b/Source/core/html/forms/FileInputType.h
@@ -64,7 +64,7 @@ private:
virtual void setFiles(FileList*) override;
virtual bool canSetValue(const String&) override;
virtual bool getTypeSpecificValue(String&) override; // Checked first, before internal storage or the value attribute.
- virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavior) override;
+ virtual void setValue(const String&, bool valueChanged, bool, TextFieldEventBehavior) override;
virtual bool receiveDroppedFiles(const DragData*) override;
virtual String droppedFileSystemId() override;
virtual void createShadowSubtree() override;

Powered by Google App Engine
This is Rietveld 408576698