Index: Source/core/html/HTMLSelectElement.h |
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h |
index 8268cc15a8c3508e851f1278dbdbc0c98d14753c..bdbc3c4003562eca25cc66c6d7b1cbb793bcb721 100644 |
--- a/Source/core/html/HTMLSelectElement.h |
+++ b/Source/core/html/HTMLSelectElement.h |
@@ -68,7 +68,7 @@ public: |
void remove(int index); |
String value() const; |
- void setValue(const String&); |
+ void setValue(const String&, bool sendEvents = false); |
String suggestedValue() const; |
void setSuggestedValue(const String&); |
@@ -144,7 +144,7 @@ private: |
virtual void defaultEventHandler(Event*) OVERRIDE; |
- void dispatchInputAndChangeEventForMenuList(); |
+ void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true); |
void recalcListItems(bool updateSelectedStates = true) const; |