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

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: Unit tests Created 6 years, 1 month 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 4ad14b9b21b767031a710a82f24f8a5964a57b7f..16af0e9f48d31cc927672fe6ca6635cc26d86c4a 100644
--- a/components/password_manager/core/browser/password_autofill_manager.h
+++ b/components/password_manager/core/browser/password_autofill_manager.h
@@ -11,6 +11,7 @@
#include "base/i18n/rtl.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_popup_delegate.h"
+#include "components/autofill/core/common/autofill_constants.h"
#include "components/autofill/core/common/password_form_fill_data.h"
namespace gfx {
@@ -45,10 +46,19 @@ 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(int key,
+ base::i18n::TextDirection text_direction,
+ const base::string16& typed_username,
+ const base::string16& title,
+ bool show_all,
+ const gfx::RectF& bounds);
+
+ // |options| should be a bitwise mask of
+ // autofill::ShowPasswordSuggestionsOptions values.
void OnShowPasswordSuggestions(int key,
base::i18n::TextDirection text_direction,
const base::string16& typed_username,
- bool show_all,
+ int options,
const gfx::RectF& bounds);
// Invoked to clear any page specific cached values.
« no previous file with comments | « components/password_manager/DEPS ('k') | components/password_manager/core/browser/password_autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698