Index: components/autofill/core/common/autofill_messages.h |
diff --git a/components/autofill/core/common/autofill_messages.h b/components/autofill/core/common/autofill_messages.h |
index b0b1548d52a88ddee72c88a4f324d5583ac14b7b..8029221f5d0656cd8083ca54a91637e1b5d42de2 100644 |
--- a/components/autofill/core/common/autofill_messages.h |
+++ b/components/autofill/core/common/autofill_messages.h |
@@ -161,6 +161,10 @@ IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown) |
IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
std::vector<autofill::FormData> /* forms */) |
+// Instruct the renderer that a password mapping has to be removed. |
+IPC_MESSAGE_ROUTED1(AutofillMsg_RemovePasswordSuggestion, |
+ autofill::PasswordForm /* the password form */) |
+ |
// Autofill messages sent from the renderer to the browser. |
// TODO(creis): check in the browser that the renderer actually has permission |
@@ -250,12 +254,17 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
// Instruct the browser to show a popup with the following suggestions from the |
// password manager. |
-IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
+IPC_MESSAGE_ROUTED5(AutofillHostMsg_ShowPasswordSuggestions, |
autofill::FormFieldData /* the form field */, |
+ autofill::PasswordForm /* the password form */, |
gfx::RectF /* input field bounds, window-relative */, |
std::vector<base::string16> /* suggestions */, |
std::vector<base::string16> /* realms */) |
+// Instruct the browser that a password mapping has to be removed. |
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemovePasswordSuggestion, |
+ autofill::PasswordForm /* the password form */) |
+ |
// Inform browser of data list values for the curent field. |
IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
std::vector<base::string16> /* values */, |