Index: chrome/common/autofill_messages.h |
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
index d7a4b0502c8ce35ef3d5ce7bbd17ced8b6c58ad4..9b5b7c42a0bc2b1a07349224956912fe071d76d2 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 and lets the renderer know if it should disable the popup |
+// and not show it. |
Ilya Sherman
2012/03/09 22:00:26
nit: This is kind of a run-on sentence. Perhaps l
csharp
2012/03/12 15:11:56
Done.
|
+IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordForm, |
+ webkit::forms::PasswordFormFillData, |
+ 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,11 @@ IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) |
// Instructs the browser to hide the Autofill popup. |
IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup) |
+ |
+// Instruct the browser that the frame is closing. |
+IPC_MESSAGE_ROUTED0(AutofillHostMsg_FrameClosing) |
+ |
+// Instruct the browse that a password mapping has been found for a field. |
Ilya Sherman
2012/03/09 22:00:26
nit: "browse" -> "browser"
csharp
2012/03/12 15:11:56
Done.
|
+IPC_MESSAGE_ROUTED2(AutofillHostMsg_PasswordFormMapping, |
+ webkit::forms::FormField, /* the user name field */ |
+ webkit::forms::PasswordFormFillData /*the form fill data */) |