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

Unified Diff: components/password_manager/core/browser/password_autofill_manager.h

Issue 492043003: Fill on account select in the password manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 6 years, 2 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/password_manager/core/browser/password_autofill_manager.h
diff --git a/components/password_manager/core/browser/password_autofill_manager.h b/components/password_manager/core/browser/password_autofill_manager.h
index f3d4f5d7319c94eba7941b94e133f64375d587a4..21abfcb8ea152761a18f023b5706c6f531f7badc 100644
--- a/components/password_manager/core/browser/password_autofill_manager.h
+++ b/components/password_manager/core/browser/password_autofill_manager.h
@@ -44,11 +44,24 @@ class PasswordAutofillManager : public autofill::AutofillPopupDelegate {
// Handles a request from the renderer to show a popup with the given
// |suggestions| from the password manager.
+ void ShowPasswordSuggestions(const autofill::FormFieldData& field,
+ const base::string16& typed_username,
+ const base::string16& title,
+ bool show_all,
+ const gfx::RectF& bounds);
+
void OnShowPasswordSuggestions(const autofill::FormFieldData& field,
const base::string16& typed_username,
bool show_all,
const gfx::RectF& bounds);
+ // Handles a request from the renderer to show a popup with the given
+ // |suggestion| from the password manager for a password field.
+ void OnShowPasswordSuggestionsWithTitle(const autofill::FormFieldData& field,
+ const base::string16& typed_username,
+ bool show_all,
+ const gfx::RectF& bounds);
+
// Invoked to clear any page specific cached values.
void Reset();

Powered by Google App Engine
This is Rietveld 408576698