| Index: chrome/common/autofill_messages.h
|
| diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
|
| index d7a4b0502c8ce35ef3d5ce7bbd17ced8b6c58ad4..30e7880d6805f61615507f5dfdadf9d25f403800 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(
|
| @@ -111,6 +113,10 @@ IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
|
| IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
|
| string16)
|
|
|
| +// Tells the renderer that the password field has accept the suggestion.
|
| +IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
|
| + string16)
|
| +
|
| // Autofill messages sent from the renderer to the browser.
|
|
|
| // Notification that forms have been seen that are candidates for
|
| @@ -181,3 +187,14 @@ IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
|
|
|
| // Instructs the browser to hide the Autofill popup.
|
| IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
|
| +
|
| +// 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 /*the form fill data */)
|
| +
|
| +// Instruct the browser to show a popup with the following suggestions from the
|
| +// password manager.
|
| +IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordSuggestions,
|
| + gfx::Rect /* input field bounds, window-relative */,
|
| + std::vector<string16> /* suggestions */)
|
|
|