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

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: 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 133 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
134 base::string16 /* accepted data list value */) 134 base::string16 /* accepted data list value */)
135 135
136 // Tells the renderer to populate the correct password fields with this 136 // Tells the renderer to populate the correct password fields with this
137 // generated password. 137 // generated password.
138 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 138 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
139 base::string16 /* generated_password */) 139 base::string16 /* generated_password */)
140 140
141 // Tells the renderer that the password field has accept the suggestion. 141 // Tells the renderer that the password field has accept the suggestion.
142 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 142 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
143 base::string16 /* username value*/) 143 base::string16 /* username value */)
Ilya Sherman 2014/03/21 22:35:19 nit: "username value" -> "username" here and below
ziran.sun 2014/03/25 18:25:26 Done.
144
145 // Preview the password for the selected username.
146 IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewPassword,
147 base::string16 /* username value */)
144 148
145 // Tells the renderer that this password form is not blacklisted. A form can 149 // Tells the renderer that this password form is not blacklisted. A form can
146 // be blacklisted if a user chooses "never save passwords for this site". 150 // be blacklisted if a user chooses "never save passwords for this site".
147 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 151 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
148 autofill::PasswordForm /* form checked */) 152 autofill::PasswordForm /* form checked */)
149 153
150 // Sent when requestAutocomplete() finishes (either succesfully or with an 154 // Sent when requestAutocomplete() finishes (either succesfully or with an
151 // error). If it was a success, the renderer fills the form that requested 155 // error). If it was a success, the renderer fills the form that requested
152 // autocomplete with the |form_data| values input by the user. 156 // autocomplete with the |form_data| values input by the user.
153 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, 157 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 258 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
255 autofill::FormFieldData /* the form field */, 259 autofill::FormFieldData /* the form field */,
256 gfx::RectF /* input field bounds, window-relative */, 260 gfx::RectF /* input field bounds, window-relative */,
257 std::vector<base::string16> /* suggestions */, 261 std::vector<base::string16> /* suggestions */,
258 std::vector<base::string16> /* realms */) 262 std::vector<base::string16> /* realms */)
259 263
260 // Inform browser of data list values for the curent field. 264 // Inform browser of data list values for the curent field.
261 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 265 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
262 std::vector<base::string16> /* values */, 266 std::vector<base::string16> /* values */,
263 std::vector<base::string16> /* labels */) 267 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698