Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: components/autofill/content/common/autofill_messages.h

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address gcasto's comments. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Sets the currently selected node's value to be the given data list value. 128 // Sets the currently selected node's value to be the given data list value.
129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
130 base::string16 /* accepted data list value */) 130 base::string16 /* accepted data list value */)
131 131
132 // Tells the renderer to populate the correct password fields with this 132 // Tells the renderer to populate the correct password fields with this
133 // generated password. 133 // generated password.
134 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 134 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
135 base::string16 /* generated_password */) 135 base::string16 /* generated_password */)
136 136
137 // Tells the renderer that the password field has accept the suggestion. 137 // Tells the renderer that a password autofill suggestion was accepted, and
138 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 138 // that the username and password should be set to the given values.
139 base::string16 /* username value*/) 139 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion,
140 base::string16 /* username value */,
141 base::string16 /* password value */)
Ilya Sherman 2014/03/18 00:14:27 nit: The commented out bits should be variable nam
Patrick Dubroy 2014/03/28 15:44:22 Ok, fixed here.
140 142
141 // Tells the renderer that this password form is not blacklisted. A form can 143 // Tells the renderer that this password form is not blacklisted. A form can
142 // be blacklisted if a user chooses "never save passwords for this site". 144 // be blacklisted if a user chooses "never save passwords for this site".
143 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 145 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
144 autofill::PasswordForm /* form checked */) 146 autofill::PasswordForm /* form checked */)
145 147
146 // Sent when requestAutocomplete() finishes (either succesfully or with an 148 // Sent when requestAutocomplete() finishes (either succesfully or with an
147 // error). If it was a success, the renderer fills the form that requested 149 // error). If it was a success, the renderer fills the form that requested
148 // autocomplete with the |form_data| values input by the user. 150 // autocomplete with the |form_data| values input by the user.
149 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, 151 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 248 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
247 autofill::FormFieldData /* the form field */, 249 autofill::FormFieldData /* the form field */,
248 gfx::RectF /* input field bounds, window-relative */, 250 gfx::RectF /* input field bounds, window-relative */,
249 std::vector<base::string16> /* suggestions */, 251 std::vector<base::string16> /* suggestions */,
250 std::vector<base::string16> /* realms */) 252 std::vector<base::string16> /* realms */)
251 253
252 // Inform browser of data list values for the curent field. 254 // Inform browser of data list values for the curent field.
253 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 255 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
254 std::vector<base::string16> /* values */, 256 std::vector<base::string16> /* values */,
255 std::vector<base::string16> /* labels */) 257 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698