| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "content/common/webkit_param_traits.h" | 9 #include "content/common/webkit_param_traits.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 // Notification that initial layout has occurred and the following password | 101 // Notification that initial layout has occurred and the following password |
| 102 // forms are visible on the page (e.g. not set to display:none.) | 102 // forms are visible on the page (e.g. not set to display:none.) |
| 103 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsVisible, | 103 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsVisible, |
| 104 std::vector<webkit_glue::PasswordForm> /* forms */) | 104 std::vector<webkit_glue::PasswordForm> /* forms */) |
| 105 | 105 |
| 106 // Notification that a form has been submitted. The user hit the button. | 106 // Notification that a form has been submitted. The user hit the button. |
| 107 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FormSubmitted, | 107 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FormSubmitted, |
| 108 webkit_glue::FormData /* form */) | 108 webkit_glue::FormData /* form */) |
| 109 | 109 |
| 110 // Notification that a form field's value has changed. |
| 111 IPC_MESSAGE_ROUTED2(AutofillHostMsg_TextFieldDidChange, |
| 112 webkit_glue::FormData /* the form */, |
| 113 webkit_glue::FormField /* the form field */) |
| 114 |
| 110 // Queries the browser for Autofill suggestions for a form input field. | 115 // Queries the browser for Autofill suggestions for a form input field. |
| 111 IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill, | 116 IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill, |
| 112 int /* id of this message */, | 117 int /* id of this message */, |
| 113 webkit_glue::FormData /* the form */, | 118 webkit_glue::FormData /* the form */, |
| 114 webkit_glue::FormField /* the form field */) | 119 webkit_glue::FormField /* the form field */) |
| 115 | 120 |
| 116 // Sent when the popup with Autofill suggestions for a form is shown. | 121 // Sent when the popup with Autofill suggestions for a form is shown. |
| 117 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidShowAutofillSuggestions) | 122 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidShowAutofillSuggestions, |
| 123 bool /* is this a new popup? */) |
| 118 | 124 |
| 119 // Instructs the browser to fill in the values for a form using Autofill | 125 // Instructs the browser to fill in the values for a form using Autofill |
| 120 // profile data. | 126 // profile data. |
| 121 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, | 127 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, |
| 122 int /* id of this message */, | 128 int /* id of this message */, |
| 123 webkit_glue::FormData /* the form */, | 129 webkit_glue::FormData /* the form */, |
| 124 webkit_glue::FormField /* the form field */, | 130 webkit_glue::FormField /* the form field */, |
| 125 int /* profile unique ID */) | 131 int /* profile unique ID */) |
| 126 | 132 |
| 127 // Sent when a form is previewed or filled with Autofill suggestions. | 133 // Sent when a form is previewed with Autofill suggestions. |
| 134 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) |
| 135 |
| 136 // Sent when a form is filled with Autofill suggestions. |
| 128 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidFillAutofillFormData) | 137 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidFillAutofillFormData) |
| 129 | 138 |
| 130 // Instructs the browser to remove the specified Autocomplete entry from the | 139 // Instructs the browser to remove the specified Autocomplete entry from the |
| 131 // database. | 140 // database. |
| 132 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, | 141 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |
| 133 string16 /* field name */, | 142 string16 /* field name */, |
| 134 string16 /* value */) | 143 string16 /* value */) |
| 135 | 144 |
| 136 // Instructs the browser to show the Autofill dialog. | 145 // Instructs the browser to show the Autofill dialog. |
| 137 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) | 146 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) |
| 138 | 147 |
| 139 | 148 |
| OLD | NEW |