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. |