Index: components/autofill/content/renderer/autofill_agent.h |
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h |
index cb4df0317f580c4c423bf3eae2749a7278ddb4e1..17f8c69c52ddbdf2f6c231c9a62eb241b7a1cdb8 100644 |
--- a/components/autofill/content/renderer/autofill_agent.h |
+++ b/components/autofill/content/renderer/autofill_agent.h |
@@ -140,11 +140,18 @@ class AutofillAgent : public content::RenderViewObserver, |
// |datalist_only| specifies whether all of <datalist> suggestions and no |
// autofill suggestions are shown. |autofill_on_empty_values| and |
// |requires_caret_at_end| are ignored if |datalist_only| is true. |
+ // |show_full_suggestion_list| specifies that all autofill suggestions should |
+ // be shown and none should be elided because of the current value of |
+ // |element| (relevant for inline autocomplete). |
+ // |show_password_suggestions_only| specifies that only show a suggestions box |
+ // if |element| is part of a password form, otherwise show no suggestions. |
void ShowSuggestions(const blink::WebInputElement& element, |
bool autofill_on_empty_values, |
bool requires_caret_at_end, |
bool display_warning_if_disabled, |
- bool datalist_only); |
+ bool datalist_only, |
+ bool show_full_suggestion_list, |
+ bool show_password_suggestions_only); |
Garrett Casto
2014/02/24 23:45:09
This scares me a little, as it seems pretty easy t
jww
2014/03/05 02:11:49
I agree, although I'm not sure I see a better alte
|
// Queries the browser for Autocomplete and Autofill suggestions for the given |
// |element|. |