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

Unified Diff: chrome/common/autofill_messages.h

Issue 7747009: Add metrics to track Autofill "user happiness" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 4 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
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/renderer/autofill/autofill_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/autofill_messages.h
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
index a9750ef24b7d125d68eeae02cb008d8829879e0b..75cc2fb52bf5fa8d4bd02c0dcfb4b4d2588dadd7 100644
--- a/chrome/common/autofill_messages.h
+++ b/chrome/common/autofill_messages.h
@@ -107,6 +107,11 @@ IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsVisible,
IPC_MESSAGE_ROUTED1(AutofillHostMsg_FormSubmitted,
webkit_glue::FormData /* form */)
+// Notification that a form field's value has changed.
+IPC_MESSAGE_ROUTED2(AutofillHostMsg_TextFieldDidChange,
+ webkit_glue::FormData /* the form */,
+ webkit_glue::FormField /* the form field */)
+
// Queries the browser for Autofill suggestions for a form input field.
IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill,
int /* id of this message */,
@@ -114,7 +119,8 @@ IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill,
webkit_glue::FormField /* the form field */)
// Sent when the popup with Autofill suggestions for a form is shown.
-IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidShowAutofillSuggestions)
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidShowAutofillSuggestions,
+ bool /* is this a new popup? */)
// Instructs the browser to fill in the values for a form using Autofill
// profile data.
@@ -124,7 +130,10 @@ IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData,
webkit_glue::FormField /* the form field */,
int /* profile unique ID */)
-// Sent when a form is previewed or filled with Autofill suggestions.
+// Sent when a form is previewed with Autofill suggestions.
+IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
+
+// Sent when a form is filled with Autofill suggestions.
IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidFillAutofillFormData)
// Instructs the browser to remove the specified Autocomplete entry from the
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/renderer/autofill/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698