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

Unified Diff: Source/web/WebSelectElement.cpp

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/web/WebSelectElement.cpp
diff --git a/Source/web/WebSelectElement.cpp b/Source/web/WebSelectElement.cpp
index 425244b6223151e9e31ba33e6d795486adb89662..d74bc679a5822616842dded92d32b512af661f23 100644
--- a/Source/web/WebSelectElement.cpp
+++ b/Source/web/WebSelectElement.cpp
@@ -51,6 +51,26 @@ WebString WebSelectElement::value() const
return constUnwrap<HTMLSelectElement>()->value();
}
+void WebSelectElement::setSuggestedValue(const WebString& value)
+{
+ unwrap<HTMLSelectElement>()->setSuggestedValue(value);
+}
+
+WebString WebSelectElement::suggestedValue() const
+{
+ return constUnwrap<HTMLSelectElement>()->suggestedValue();
+}
+
+void WebSelectElement::setOriginalValue(const WebString& value)
+{
+ unwrap<HTMLSelectElement>()->setOriginalValue(value);
+}
+
+WebString WebSelectElement::originalValue() const
+{
+ return constUnwrap<HTMLSelectElement>()->originalValue();
+}
+
WebVector<WebElement> WebSelectElement::listItems() const
{
const Vector<HTMLElement*>& sourceItems = constUnwrap<HTMLSelectElement>()->listItems();

Powered by Google App Engine
This is Rietveld 408576698