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

Unified Diff: chrome/common/autofill_messages.h

Issue 11270018: [autofill] Adding new API to request an interactive autocomplete UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 8 years, 2 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 faf7e3c514a488a213c194d6d58fdd5825fabfb4..7c2b533625ffdaaabf06a3a948366ed42abb9ef4 100644
--- a/chrome/common/autofill_messages.h
+++ b/chrome/common/autofill_messages.h
@@ -135,6 +135,11 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
content::PasswordForm /* form checked */)
+// Sent when interactive autocomplete finishes.
+IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteFinished,
+ int /* id of this message */,
jam 2012/10/26 20:09:38 nit: here and below, by convention what's inside t
Dan Beam 2012/10/26 20:58:39 Done.
+ bool /* whether the request succeeded */)
+
// Autofill messages sent from the renderer to the browser.
// Notification that forms have been seen that are candidates for
@@ -191,6 +196,11 @@ IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
base::TimeTicks /* timestamp */)
+// Sent when a form receives a request to do interactive autocomplete.
+IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete,
+ int /* id of this message */,
+ FormData /* the form */)
+
// Instructs the browser to remove the specified Autocomplete entry from the
// database.
IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry,

Powered by Google App Engine
This is Rietveld 408576698