Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1377)

Unified Diff: chrome/common/autofill_messages.h

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing up login password clearing Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */)

Powered by Google App Engine
This is Rietveld 408576698