| Index: chrome/common/autofill_messages.h
|
| diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
|
| index b915ed2c1f9445c85fc9548d0c541a4538662708..15b5e26e2bda2b3f72b38cd0eb20aca86a52f39c 100644
|
| --- a/chrome/common/autofill_messages.h
|
| +++ b/chrome/common/autofill_messages.h
|
| @@ -82,9 +82,11 @@ IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled,
|
| webkit::forms::FormData /* form data */)
|
|
|
| // Fill a password form and prepare field autocomplete for multiple
|
| -// matching logins.
|
| -IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm,
|
| - webkit::forms::PasswordFormFillData)
|
| +// matching logins. Lets the renderer know if it should disable the popup
|
| +// because the browser process will own the popup UI.
|
| +IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordForm,
|
| + webkit::forms::PasswordFormFillData, /* the fill form data*/
|
| + bool /* disable popup */ )
|
|
|
| // Send the heuristic and server field type predictions to the renderer.
|
| IPC_MESSAGE_ROUTED1(
|
| @@ -116,6 +118,10 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
|
| IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
|
| string16 /* generated_password */)
|
|
|
| +// Tells the renderer that the password field has accept the suggestion.
|
| +IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
|
| + string16 /* username value*/)
|
| +
|
| // Autofill messages sent from the renderer to the browser.
|
|
|
| // Notification that forms have been seen that are candidates for
|
| @@ -192,3 +198,15 @@ IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
|
| // coordinate system.
|
| IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordGenerationPopup,
|
| gfx::Rect /* source location */)
|
| +
|
| +// Instruct the browser that a password mapping has been found for a field.
|
| +IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
|
| + webkit::forms::FormField, /* the user name field */
|
| + webkit::forms::PasswordFormFillData /* password pairings */)
|
| +
|
| +// Instruct the browser to show a popup with the following suggestions from the
|
| +// password manager.
|
| +IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
|
| + webkit::forms::FormField /* the form field */,
|
| + gfx::Rect /* input field bounds, window-relative */,
|
| + std::vector<string16> /* suggestions */)
|
|
|