Chromium Code Reviews| Index: chrome/common/autofill_messages.h |
| diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
| index d7a4b0502c8ce35ef3d5ce7bbd17ced8b6c58ad4..cb7ef91086462b92dff5e3a2551ea227dc1beaf6 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, |
|
Ilya Sherman
2012/03/12 23:46:13
nit: As long as you're editing this code, pelase a
csharp
2012/03/13 18:31:14
Done.
|
| + 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_PasswordAcceptAutofillSuggestion, |
| + string16) |
| + |
| // Autofill messages sent from the renderer to the browser. |
| // Notification that forms have been seen that are candidates for |
| @@ -181,3 +187,8 @@ 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 */) |