Chromium Code Reviews| 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..1fd6490859e4658c189e72ffcfbd170a51338806 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 suggestion |value|. |
| + void ApplyDataListSuggestionToValue(const string16& value); |
|
Ilya Sherman
2012/05/16 18:05:31
nit: Perhaps "AcceptDataListSuggestion(const strin
keishi
2012/05/17 02:24:09
Done.
|
| + |
| // 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 |