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

Unified Diff: Source/core/html/HTMLSelectElement.h

Issue 138433002: Add Autofill preview support for <select> input fields (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months 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/HTMLSelectElement.h
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h
index ebb30b4b184ddccb1890f1222ef669051eff4737..f25250843c573133cd6e1f01d700463cc809028a 100644
--- a/Source/core/html/HTMLSelectElement.h
+++ b/Source/core/html/HTMLSelectElement.h
@@ -68,6 +68,10 @@ public:
String value() const;
void setValue(const String&);
+ String suggestedValue() const;
+ void setSuggestedValue(const String&);
+ String originalValue() const;
+ void setOriginalValue(const String&);
PassRefPtr<HTMLOptionsCollection> options();
PassRefPtr<HTMLCollection> selectedOptions();
@@ -208,6 +212,8 @@ private:
bool m_activeSelectionState;
mutable bool m_shouldRecalcListItems;
bool m_isParsingInProgress;
+ String m_suggestedValue;
+ String m_originalValue;
};
DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag));

Powered by Google App Engine
This is Rietveld 408576698