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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
148 // autocomplete with the |form_data| values input by the user. | 148 // autocomplete with the |form_data| values input by the user. |
149 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, | 149 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
150 blink::WebFormElement::AutocompleteResult /* result */, | 150 blink::WebFormElement::AutocompleteResult /* result */, |
151 autofill::FormData /* form_data */) | 151 autofill::FormData /* form_data */) |
152 | 152 |
153 // Sent when Autofill manager gets the query response from the Autofill server | 153 // Sent when Autofill manager gets the query response from the Autofill server |
154 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. | 154 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. |
155 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, | 155 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
156 std::vector<autofill::FormData> /* forms */) | 156 std::vector<autofill::FormData> /* forms */) |
157 | 157 |
158 // Instruct the renderer that a password suggestion has to be removed. | |
159 // The renderer is going to clean the suggestion from the ui and | |
160 // then ask the password manager to remove the password from the store. | |
161 IPC_MESSAGE_ROUTED1(AutofillMsg_RemovePasswordSuggestion, | |
162 autofill::PasswordForm /* password to be removed */) | |
163 | |
158 // Autofill messages sent from the renderer to the browser. | 164 // Autofill messages sent from the renderer to the browser. |
159 | 165 |
160 // TODO(creis): check in the browser that the renderer actually has permission | 166 // TODO(creis): check in the browser that the renderer actually has permission |
161 // for the URL to avoid compromised renderers talking to the browser. | 167 // for the URL to avoid compromised renderers talking to the browser. |
162 | 168 |
163 // Notification that forms have been seen that are candidates for | 169 // Notification that forms have been seen that are candidates for |
164 // filling/submitting by the AutofillManager. | 170 // filling/submitting by the AutofillManager. |
165 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, | 171 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, |
166 std::vector<autofill::FormData> /* forms */, | 172 std::vector<autofill::FormData> /* forms */, |
167 base::TimeTicks /* timestamp */, | 173 base::TimeTicks /* timestamp */, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
236 // Instructs the browser to hide any password generation popups. | 242 // Instructs the browser to hide any password generation popups. |
237 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) | 243 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) |
238 | 244 |
239 // Instruct the browser that a password mapping has been found for a field. | 245 // Instruct the browser that a password mapping has been found for a field. |
240 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 246 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
241 autofill::FormFieldData, /* the user name field */ | 247 autofill::FormFieldData, /* the user name field */ |
242 autofill::PasswordFormFillData /* password pairings */) | 248 autofill::PasswordFormFillData /* password pairings */) |
243 | 249 |
244 // Instruct the browser to show a popup with the following suggestions from the | 250 // Instruct the browser to show a popup with the following suggestions from the |
245 // password manager. | 251 // password manager. |
246 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 252 IPC_MESSAGE_ROUTED5(AutofillHostMsg_ShowPasswordSuggestions, |
247 autofill::FormFieldData /* the form field */, | 253 autofill::FormFieldData /* the form field */, |
254 autofill::PasswordForm /* the password form */, | |
248 gfx::RectF /* input field bounds, window-relative */, | 255 gfx::RectF /* input field bounds, window-relative */, |
249 std::vector<base::string16> /* suggestions */, | 256 std::vector<base::string16> /* suggestions */, |
250 std::vector<base::string16> /* realms */) | 257 std::vector<base::string16> /* realms */) |
251 | 258 |
259 // Instruct the browser that a password suggestion has to be removed. | |
260 // Send also a list of forms that needs to be updated after the deletion | |
vabr (Chromium)
2014/04/01 16:56:08
needs -> need
(not the list, but the forms need to
rchtara
2014/04/03 08:44:50
Done.
| |
261 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemovePasswordSuggestion, | |
262 autofill::PasswordForm /* the password form */, | |
263 std::vector<autofill::PasswordForm> /* password | |
vabr (Chromium)
2014/04/01 16:56:08
password -> password forms
rchtara
2014/04/03 08:44:50
Done.
| |
264 to be updated */) | |
265 | |
252 // Inform browser of data list values for the curent field. | 266 // Inform browser of data list values for the curent field. |
253 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 267 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
254 std::vector<base::string16> /* values */, | 268 std::vector<base::string16> /* values */, |
255 std::vector<base::string16> /* labels */) | 269 std::vector<base::string16> /* labels */) |
OLD | NEW |