| Index: components/autofill/content/common/autofill_messages.h
|
| diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h
|
| index 4c3ec108c7c26621c2dbda6e0362080c3a723184..a08629b20908653d317837700429df31fa9c2d0c 100644
|
| --- a/components/autofill/content/common/autofill_messages.h
|
| +++ b/components/autofill/content/common/autofill_messages.h
|
| @@ -187,6 +187,11 @@ IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion,
|
| base::string16 /* username */,
|
| base::string16 /* password */)
|
|
|
| +// Tells the renderer to find the focused password form (assuming it exists).
|
| +// Renderer is expected to respond with the message
|
| +// |AutofillHostMsg_FocusedPasswordFormFound|.
|
| +IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm)
|
| +
|
| // Tells the renderer that this password form is not blacklisted. A form can
|
| // be blacklisted if a user chooses "never save passwords for this site".
|
| IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
|
| @@ -338,3 +343,9 @@ IPC_MESSAGE_ROUTED5(
|
| IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
|
| std::vector<base::string16> /* values */,
|
| std::vector<base::string16> /* labels */)
|
| +
|
| +// Inform the browser which password form is currently focused, as a response
|
| +// to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form
|
| +// is focused, the response will contain an empty |autofill::PasswordForm|.
|
| +IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound,
|
| + autofill::PasswordForm)
|
|
|