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

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: 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Sets the currently selected node's value to be the given data list value. 130 // Sets the currently selected node's value to be the given data list value.
131 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 131 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
132 base::string16 /* accepted data list value */) 132 base::string16 /* accepted data list value */)
133 133
134 // Tells the renderer to populate the correct password fields with this 134 // Tells the renderer to populate the correct password fields with this
135 // generated password. 135 // generated password.
136 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 136 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
137 base::string16 /* generated_password */) 137 base::string16 /* generated_password */)
138 138
139 // Tells the renderer that the password field has accept the suggestion. 139 // Tells the renderer that the password field has accept the suggestion.
140 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 140 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion,
141 base::string16 /* username value*/) 141 base::string16 /* username value */,
142 base::string16 /* password value */)
142 143
143 // Tells the renderer that this password form is not blacklisted. A form can 144 // Tells the renderer that this password form is not blacklisted. A form can
144 // be blacklisted if a user chooses "never save passwords for this site". 145 // be blacklisted if a user chooses "never save passwords for this site".
145 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 146 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
146 autofill::PasswordForm /* form checked */) 147 autofill::PasswordForm /* form checked */)
147 148
148 // Sent when requestAutocomplete() finishes (either succesfully or with an 149 // Sent when requestAutocomplete() finishes (either succesfully or with an
149 // error). If it was a success, the renderer fills the form that requested 150 // error). If it was a success, the renderer fills the form that requested
150 // autocomplete with the |form_data| values input by the user. 151 // autocomplete with the |form_data| values input by the user.
151 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, 152 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 261 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
261 autofill::FormFieldData /* the form field */, 262 autofill::FormFieldData /* the form field */,
262 gfx::RectF /* input field bounds, window-relative */, 263 gfx::RectF /* input field bounds, window-relative */,
263 std::vector<base::string16> /* suggestions */, 264 std::vector<base::string16> /* suggestions */,
264 std::vector<base::string16> /* realms */) 265 std::vector<base::string16> /* realms */)
265 266
266 // Inform browser of data list values for the curent field. 267 // Inform browser of data list values for the curent field.
267 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 268 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
268 std::vector<base::string16> /* values */, 269 std::vector<base::string16> /* values */,
269 std::vector<base::string16> /* labels */) 270 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698