| 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/content/common/autofill_param_traits_macros.h" | 10 #include "components/autofill/content/common/autofill_param_traits_macros.h" |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, | 225 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, |
| 226 autofill::FormData /* form_data */, | 226 autofill::FormData /* form_data */, |
| 227 GURL /* frame_url */) | 227 GURL /* frame_url */) |
| 228 | 228 |
| 229 // Send when a text field is done editing. | 229 // Send when a text field is done editing. |
| 230 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) | 230 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) |
| 231 | 231 |
| 232 // Instructs the browser to hide the Autofill UI. | 232 // Instructs the browser to hide the Autofill UI. |
| 233 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUI) | 233 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUI) |
| 234 | 234 |
| 235 // Instructs the browser to show the password generation bubble at the | 235 // Instructs the browser to show the password generation popup at the |
| 236 // specified location. This location should be specified in the renderers | 236 // specified location. This location should be specified in the renderers |
| 237 // coordinate system. Form is the form associated with the password field. | 237 // coordinate system. Form is the form associated with the password field. |
| 238 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup, | 238 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup, |
| 239 gfx::Rect /* source location */, | 239 gfx::RectF /* source location */, |
| 240 int /* max length of the password */, | 240 int /* max length of the password */, |
| 241 autofill::PasswordForm) | 241 autofill::PasswordForm) |
| 242 | 242 |
| 243 // Instructs the browser to show the popup for editing a generated password. |
| 244 // The location should be specified in the renderers coordinate system. |
| 245 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordEditingPopup, |
| 246 gfx::RectF /* source location */) |
| 247 |
| 248 // Instructs the browser to hide any password generation popups. |
| 249 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) |
| 250 |
| 243 // Instruct the browser that a password mapping has been found for a field. | 251 // Instruct the browser that a password mapping has been found for a field. |
| 244 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 252 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
| 245 autofill::FormFieldData, /* the user name field */ | 253 autofill::FormFieldData, /* the user name field */ |
| 246 autofill::PasswordFormFillData /* password pairings */) | 254 autofill::PasswordFormFillData /* password pairings */) |
| 247 | 255 |
| 248 // Instruct the browser to show a popup with the following suggestions from the | 256 // Instruct the browser to show a popup with the following suggestions from the |
| 249 // password manager. | 257 // password manager. |
| 250 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 258 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 251 autofill::FormFieldData /* the form field */, | 259 autofill::FormFieldData /* the form field */, |
| 252 gfx::RectF /* input field bounds, window-relative */, | 260 gfx::RectF /* input field bounds, window-relative */, |
| 253 std::vector<base::string16> /* suggestions */, | 261 std::vector<base::string16> /* suggestions */, |
| 254 std::vector<base::string16> /* realms */) | 262 std::vector<base::string16> /* realms */) |
| 255 | 263 |
| 256 // Inform browser of data list values for the curent field. | 264 // Inform browser of data list values for the curent field. |
| 257 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 265 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 258 std::vector<base::string16> /* values */, | 266 std::vector<base::string16> /* values */, |
| 259 std::vector<base::string16> /* labels */) | 267 std::vector<base::string16> /* labels */) |
| OLD | NEW |