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

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

Issue 208453002: Add "previewing on hover" support for password field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update code as per further review comments. Created 6 years, 7 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
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 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // Sets the currently selected node's value to be the given data list value. 136 // Sets the currently selected node's value to be the given data list value.
137 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 137 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
138 base::string16 /* accepted data list value */) 138 base::string16 /* accepted data list value */)
139 139
140 // Tells the renderer to populate the correct password fields with this 140 // Tells the renderer to populate the correct password fields with this
141 // generated password. 141 // generated password.
142 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 142 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
143 base::string16 /* generated_password */) 143 base::string16 /* generated_password */)
144 144
145 // Tells the renderer that the user accepted a password autofill suggestion, 145 // Tells the renderer to fill the username and password with with given
146 // and that renderer should set the username and password to the given values. 146 // values.
147 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, 147 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion,
148 base::string16 /* username */, 148 base::string16 /* username */,
149 base::string16 /* password */) 149 base::string16 /* password */)
150 150
151 // Tells the renderer to preview the username and password with the given
152 // values.
153 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion,
154 base::string16 /* username */,
155 base::string16 /* password */)
156
151 // Tells the renderer that this password form is not blacklisted. A form can 157 // Tells the renderer that this password form is not blacklisted. A form can
152 // be blacklisted if a user chooses "never save passwords for this site". 158 // be blacklisted if a user chooses "never save passwords for this site".
153 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 159 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
154 autofill::PasswordForm /* form checked */) 160 autofill::PasswordForm /* form checked */)
155 161
156 // Sent when requestAutocomplete() finishes (either succesfully or with an 162 // Sent when requestAutocomplete() finishes (either succesfully or with an
157 // error). If it was a success, the renderer fills the form that requested 163 // error). If it was a success, the renderer fills the form that requested
158 // autocomplete with the |form_data| values input by the user. |message| 164 // autocomplete with the |form_data| values input by the user. |message|
159 // is printed to the console if non-empty. 165 // is printed to the console if non-empty.
160 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, 166 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 274 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
269 autofill::FormFieldData /* the form field */, 275 autofill::FormFieldData /* the form field */,
270 gfx::RectF /* input field bounds, window-relative */, 276 gfx::RectF /* input field bounds, window-relative */,
271 std::vector<base::string16> /* suggestions */, 277 std::vector<base::string16> /* suggestions */,
272 std::vector<base::string16> /* realms */) 278 std::vector<base::string16> /* realms */)
273 279
274 // Inform browser of data list values for the curent field. 280 // Inform browser of data list values for the curent field.
275 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 281 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
276 std::vector<base::string16> /* values */, 282 std::vector<base::string16> /* values */,
277 std::vector<base::string16> /* labels */) 283 std::vector<base::string16> /* labels */)
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_autofill_agent_browsertest.cc ('k') | components/autofill/content/renderer/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698