| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // filling/submitting by the password manager. | 97 // filling/submitting by the password manager. |
| 98 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsFound, | 98 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsFound, |
| 99 std::vector<webkit_glue::PasswordForm> /* forms */) | 99 std::vector<webkit_glue::PasswordForm> /* forms */) |
| 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_ROUTED2(AutofillHostMsg_FormSubmitted, |
| 108 webkit_glue::FormData /* form */) | 108 webkit_glue::FormData /* form */, |
| 109 int64 /* timestamp */) |
| 109 | 110 |
| 110 // Notification that a form field's value has changed. | 111 // Notification that a form field's value has changed. |
| 111 IPC_MESSAGE_ROUTED2(AutofillHostMsg_TextFieldDidChange, | 112 IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange, |
| 112 webkit_glue::FormData /* the form */, | 113 webkit_glue::FormData /* the form */, |
| 113 webkit_glue::FormField /* the form field */) | 114 webkit_glue::FormField /* the form field */, |
| 115 int64 /* timestamp */) |
| 114 | 116 |
| 115 // Queries the browser for Autofill suggestions for a form input field. | 117 // Queries the browser for Autofill suggestions for a form input field. |
| 116 IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill, | 118 IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill, |
| 117 int /* id of this message */, | 119 int /* id of this message */, |
| 118 webkit_glue::FormData /* the form */, | 120 webkit_glue::FormData /* the form */, |
| 119 webkit_glue::FormField /* the form field */) | 121 webkit_glue::FormField /* the form field */) |
| 120 | 122 |
| 121 // Sent when the popup with Autofill suggestions for a form is shown. | 123 // Sent when the popup with Autofill suggestions for a form is shown. |
| 122 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidShowAutofillSuggestions, | 124 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidShowAutofillSuggestions, |
| 123 bool /* is this a new popup? */) | 125 bool /* is this a new popup? */) |
| 124 | 126 |
| 125 // Instructs the browser to fill in the values for a form using Autofill | 127 // Instructs the browser to fill in the values for a form using Autofill |
| 126 // profile data. | 128 // profile data. |
| 127 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, | 129 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, |
| 128 int /* id of this message */, | 130 int /* id of this message */, |
| 129 webkit_glue::FormData /* the form */, | 131 webkit_glue::FormData /* the form */, |
| 130 webkit_glue::FormField /* the form field */, | 132 webkit_glue::FormField /* the form field */, |
| 131 int /* profile unique ID */) | 133 int /* profile unique ID */) |
| 132 | 134 |
| 133 // Sent when a form is previewed with Autofill suggestions. | 135 // Sent when a form is previewed with Autofill suggestions. |
| 134 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) | 136 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) |
| 135 | 137 |
| 136 // Sent when a form is filled with Autofill suggestions. | 138 // Sent when a form is filled with Autofill suggestions. |
| 137 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidFillAutofillFormData) | 139 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, |
| 140 int64 /* timestamp */) |
| 138 | 141 |
| 139 // Instructs the browser to remove the specified Autocomplete entry from the | 142 // Instructs the browser to remove the specified Autocomplete entry from the |
| 140 // database. | 143 // database. |
| 141 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, | 144 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |
| 142 string16 /* field name */, | 145 string16 /* field name */, |
| 143 string16 /* value */) | 146 string16 /* value */) |
| 144 | 147 |
| 145 // Instructs the browser to show the Autofill dialog. | 148 // Instructs the browser to show the Autofill dialog. |
| 146 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) | 149 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) |
| 147 | 150 |
| 148 | 151 |
| OLD | NEW |