Index: chrome/common/autofill_messages.h |
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
index 9ed25f827127d51c34cc9467c0679c4b8f8e307a..b60c868fbf00cb59a43da3bd64c7c386d6635ef2 100644 |
--- a/chrome/common/autofill_messages.h |
+++ b/chrome/common/autofill_messages.h |
@@ -16,6 +16,7 @@ |
#include "content/public/common/password_form.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_message_utils.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
#include "ui/gfx/rect.h" |
#define IPC_MESSAGE_START AutofillMsgStart |
@@ -64,6 +65,8 @@ IPC_STRUCT_TRAITS_BEGIN(PasswordFormFillData) |
IPC_STRUCT_TRAITS_MEMBER(wait_for_username) |
IPC_STRUCT_TRAITS_END() |
+IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) |
+ |
// Autofill messages sent from the browser to the renderer. |
// Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the |
@@ -131,6 +134,10 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
content::PasswordForm /* form checked */) |
+// Sent when interactive autocomplete finishes. |
+IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished, |
+ WebKit::WebFormElement::AutocompleteResult /* result */) |
+ |
// Autofill messages sent from the renderer to the browser. |
// Notification that forms have been seen that are candidates for |
@@ -187,6 +194,10 @@ 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_ROUTED1(AutofillHostMsg_RequestAutocomplete, |
+ FormData /* form_data */) |
+ |
// Instructs the browser to remove the specified Autocomplete entry from the |
// database. |
IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |