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

Unified Diff: components/autofill/content/renderer/autofill_agent.h

Issue 166043006: Add password manager autocomplete suggestion when a username element in clicked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Readded inline autocomplete Created 6 years, 10 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: 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..d265c1f326f18344c1ae751ad4913d7e80823311 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -139,12 +139,16 @@ class AutofillAgent : public content::RenderViewObserver,
// form on a non-secure website).
// |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.
+ // |requires_caret_at_end| are ignored if |datalist_only| is true. |show_all|
+ // specifies that all autofill suggestions should be shown and none should be
+ // elided because of the current value of |element| (relevant for inline
+ // autocomplete).
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_all);
// Queries the browser for Autocomplete and Autofill suggestions for the given
// |element|.

Powered by Google App Engine
This is Rietveld 408576698