OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "components/autofill/core/common/autofill_param_traits_macros.h" | 10 #include "components/autofill/core/common/autofill_param_traits_macros.h" |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 autofill::FormData /* form */, | 192 autofill::FormData /* form */, |
193 base::TimeTicks /* timestamp */) | 193 base::TimeTicks /* timestamp */) |
194 | 194 |
195 // Notification that a form field's value has changed. | 195 // Notification that a form field's value has changed. |
196 IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange, | 196 IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange, |
197 autofill::FormData /* the form */, | 197 autofill::FormData /* the form */, |
198 autofill::FormFieldData /* the form field */, | 198 autofill::FormFieldData /* the form field */, |
199 base::TimeTicks /* timestamp */) | 199 base::TimeTicks /* timestamp */) |
200 | 200 |
201 // Queries the browser for Autofill suggestions for a form input field. | 201 // Queries the browser for Autofill suggestions for a form input field. |
202 IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill, | 202 IPC_MESSAGE_ROUTED6(AutofillHostMsg_QueryFormFieldAutofill, |
203 int /* id of this message */, | 203 int /* id of this message */, |
204 autofill::FormData /* the form */, | 204 autofill::FormData /* the form */, |
205 autofill::FormFieldData /* the form field */, | 205 autofill::FormFieldData /* the form field */, |
| 206 autofill::PasswordForm /* the password form */, |
206 gfx::RectF /* input field bounds, window-relative */, | 207 gfx::RectF /* input field bounds, window-relative */, |
207 bool /* display warning if autofill disabled */) | 208 bool /* display warning if autofill disabled */) |
208 | 209 |
209 // Instructs the browser to fill in the values for a form using Autofill | 210 // Instructs the browser to fill in the values for a form using Autofill |
210 // profile data. | 211 // profile data. |
211 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, | 212 IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData, |
212 int /* id of this message */, | 213 int /* id of this message */, |
213 autofill::FormData /* the form */, | 214 autofill::FormData /* the form */, |
214 autofill::FormFieldData /* the form field */, | 215 autofill::FormFieldData /* the form field */, |
215 int /* profile unique ID */) | 216 int /* profile unique ID */) |
(...skipping 27 matching lines...) Expand all Loading... |
243 int /* max length of the password */, | 244 int /* max length of the password */, |
244 autofill::PasswordForm) | 245 autofill::PasswordForm) |
245 | 246 |
246 // Instruct the browser that a password mapping has been found for a field. | 247 // Instruct the browser that a password mapping has been found for a field. |
247 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 248 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
248 autofill::FormFieldData, /* the user name field */ | 249 autofill::FormFieldData, /* the user name field */ |
249 autofill::PasswordFormFillData /* password pairings */) | 250 autofill::PasswordFormFillData /* password pairings */) |
250 | 251 |
251 // Instruct the browser to show a popup with the following suggestions from the | 252 // Instruct the browser to show a popup with the following suggestions from the |
252 // password manager. | 253 // password manager. |
253 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 254 IPC_MESSAGE_ROUTED5(AutofillHostMsg_ShowPasswordSuggestions, |
254 autofill::FormFieldData /* the form field */, | 255 autofill::FormFieldData /* the form field */, |
| 256 autofill::PasswordForm /* the password form */, |
255 gfx::RectF /* input field bounds, window-relative */, | 257 gfx::RectF /* input field bounds, window-relative */, |
256 std::vector<base::string16> /* suggestions */, | 258 std::vector<base::string16> /* suggestions */, |
257 std::vector<base::string16> /* realms */) | 259 std::vector<base::string16> /* realms */) |
258 | 260 |
| 261 // Instruct the browser that a password mapping has to be removed. |
| 262 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemovePasswordSuggestion, |
| 263 autofill::PasswordForm /* the password form */) |
| 264 |
259 // Inform browser of data list values for the curent field. | 265 // Inform browser of data list values for the curent field. |
260 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 266 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
261 std::vector<base::string16> /* values */, | 267 std::vector<base::string16> /* values */, |
262 std::vector<base::string16> /* labels */) | 268 std::vector<base::string16> /* labels */) |
OLD | NEW |