Chromium Code Reviews| 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 4f561da24bf46ac8b0aa3e27cdcbb522d3d944e0..1e25523cc8f4d3fdce13170b0ebc89a2ff460615 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.h |
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.h |
| @@ -91,7 +91,6 @@ public: |
| void setRecalcListItems(); |
| void invalidateSelectedItems(); |
| - void updateListItemSelectedStates(); |
| using ListItems = WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>; |
| const ListItems& listItems() const; |
| @@ -163,8 +162,6 @@ protected: |
| HTMLSelectElement(Document&, HTMLFormElement*); |
| private: |
| - void willRecalcStyle(StyleRecalcChange) override; |
| - |
| const AtomicString& formControlType() const override; |
| bool shouldShowFocusRingOnMouseFocus() const override; |
| @@ -195,8 +192,8 @@ private: |
| void dispatchInputAndChangeEventForMenuList(); |
| - void recalcListItems(bool updateSelectedStates = true) const; |
| - |
| + void recalcListItems() const; |
| + void resetDefaultSelection(); |
|
keishi
2016/03/28 01:55:35
nit: would renaming this to resetToDefaultSelectio
tkent
2016/03/28 03:43:26
Done.
|
| void typeAheadFind(KeyboardEvent*); |
| void saveLastSelection(); |
| // Returns the first selected OPTION, or nullptr. |