| Index: third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.h b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| index 9fd2ac44415bc0f6342a1e33442f90835fc2427b..b40b12eaab56ae333d8adb19a631369f88ab7f7f 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| @@ -193,7 +193,11 @@ private:
|
| void dispatchInputAndChangeEventForMenuList();
|
|
|
| void recalcListItems() const;
|
| - void resetToDefaultSelection();
|
| + enum ResetReason {
|
| + ResetReasonSelectedOptionRemoved,
|
| + ResetReasonOthers
|
| + };
|
| + void resetToDefaultSelection(ResetReason = ResetReasonOthers);
|
| void typeAheadFind(KeyboardEvent*);
|
| void saveLastSelection();
|
| // Returns the first selected OPTION, or nullptr.
|
|
|