OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.h" | 9 #include "base/time.h" |
10 #include "content/public/common/webkit_param_traits.h" | 10 #include "content/public/common/webkit_param_traits.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 // Clears the currently displayed Autofill results. | 103 // Clears the currently displayed Autofill results. |
104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) | 104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) |
105 | 105 |
106 // Tells the renderer that the next form will be filled as a preview. | 106 // Tells the renderer that the next form will be filled as a preview. |
107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) | 107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) |
108 | 108 |
109 // Tells the renderer that the Autofill previewed form should be cleared. | 109 // Tells the renderer that the Autofill previewed form should be cleared. |
110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) | 110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) |
111 | 111 |
112 // Sets the currently selected nodes value. | 112 // Sets the currently selected node's value. |
113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, | 113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, |
114 string16) | 114 string16 /* new node text */) |
| 115 |
| 116 // Sets the currently selected node's value to be the given data list value. |
| 117 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
| 118 string16 /* accepted data list value */) |
115 | 119 |
116 // Tells the renderer to populate the correct password fields with this | 120 // Tells the renderer to populate the correct password fields with this |
117 // generated password. | 121 // generated password. |
118 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, | 122 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
119 string16 /* generated_password */) | 123 string16 /* generated_password */) |
120 | 124 |
121 // Tells the renderer whether password generation is enabled. | 125 // Tells the renderer whether password generation is enabled. |
122 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, | 126 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, |
123 bool /* is_enabled */) | 127 bool /* is_enabled */) |
124 | 128 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 213 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
210 webkit::forms::FormField, /* the user name field */ | 214 webkit::forms::FormField, /* the user name field */ |
211 webkit::forms::PasswordFormFillData /* password pairings */) | 215 webkit::forms::PasswordFormFillData /* password pairings */) |
212 | 216 |
213 // Instruct the browser to show a popup with the following suggestions from the | 217 // Instruct the browser to show a popup with the following suggestions from the |
214 // password manager. | 218 // password manager. |
215 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, | 219 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, |
216 webkit::forms::FormField /* the form field */, | 220 webkit::forms::FormField /* the form field */, |
217 gfx::Rect /* input field bounds, window-relative */, | 221 gfx::Rect /* input field bounds, window-relative */, |
218 std::vector<string16> /* suggestions */) | 222 std::vector<string16> /* suggestions */) |
| 223 |
| 224 // Inform browser of data list values for the curent field. |
| 225 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
| 226 std::vector<string16> /* values */, |
| 227 std::vector<string16> /* labels */, |
| 228 std::vector<string16> /* icons */, |
| 229 std::vector<int> /* unique ids */) |
OLD | NEW |