| 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..47b3c6fb895e995b4439e5ddfddb36a329f1aa02 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
|
| @@ -199,10 +203,11 @@ IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange,
|
| base::TimeTicks /* timestamp */)
|
|
|
| // Queries the browser for Autofill suggestions for a form input field.
|
| -IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill,
|
| +IPC_MESSAGE_ROUTED6(AutofillHostMsg_QueryFormFieldAutofill,
|
| int /* id of this message */,
|
| autofill::FormData /* the form */,
|
| autofill::FormFieldData /* the form field */,
|
| + autofill::PasswordForm /* the password form */,
|
| gfx::RectF /* input field bounds, window-relative */,
|
| bool /* display warning if autofill disabled */)
|
|
|
| @@ -250,12 +255,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 */,
|
|
|