Index: chrome/renderer/autofill/autofill_agent.h |
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h |
index f0f51735fe52a7888a1577b3c6ff578c88ec70c4..5c8f83c9502a179e2a311c786f23754ad309fc75 100644 |
--- a/chrome/renderer/autofill/autofill_agent.h |
+++ b/chrome/renderer/autofill/autofill_agent.h |
@@ -139,6 +139,8 @@ class AutofillAgent : public content::RenderViewObserver, |
void QueryAutofillSuggestions(const WebKit::WebInputElement& element, |
bool display_warning_if_disabled); |
+ // Combines DataList suggestion entries with the autofill ones and show them |
+ // to the user. |
void CombineDataListEntriesAndShow(const WebKit::WebInputElement& element, |
const std::vector<string16>& values, |
const std::vector<string16>& labels, |
@@ -146,6 +148,9 @@ class AutofillAgent : public content::RenderViewObserver, |
const std::vector<int>& item_ids, |
bool has_autofill_item); |
+ // Sets the element value to reflect the selected |suggested_value|. |
+ void AcceptDataListSuggestion(const string16& suggested_value); |
+ |
// Queries the AutofillManager for form data for the form containing |node|. |
// |value| is the current text in the field, and |unique_id| is the selected |
// profile's unique ID. |action| specifies whether to Fill or Preview the |