Chromium Code Reviews| Index: Source/core/html/HTMLSelectElement.h |
| diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h |
| index 40b0e733cb13ee1564b94b0ce98e4e1e98a5caf2..179b83a9a9b46de847ee3a720b2a76267493c7c6 100644 |
| --- a/Source/core/html/HTMLSelectElement.h |
| +++ b/Source/core/html/HTMLSelectElement.h |
| @@ -44,6 +44,8 @@ public: |
| int selectedIndex() const; |
| void setSelectedIndex(int); |
| + int suggestedIndex() const; |
| + void setSuggestedIndex(int); |
| void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMultipleSelection = false); |
| @@ -67,6 +69,8 @@ public: |
| String value() const; |
| void setValue(const String&); |
| + String suggestedValue() const; |
| + void setSuggestedValue(const String&); |
| PassRefPtr<HTMLOptionsCollection> options(); |
| PassRefPtr<HTMLCollection> selectedOptions(); |
| @@ -204,6 +208,9 @@ private: |
| bool m_multiple; |
| bool m_activeSelectionState; |
| mutable bool m_shouldRecalcListItems; |
| + |
| + String m_suggestedValue; |
|
tkent
2014/03/14 00:06:41
Why m_suggestedValue is necessary? Isn't m_sugges
ziran.sun
2014/03/14 11:33:40
Done.
|
| + int m_suggestedIndex; |
| }; |
| } // namespace |