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

Side by Side Diff: chrome/common/autofill_messages.h

Issue 11348273: [autofill] Fill in values on a successful run of interactive autocomplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doc comment Created 8 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 9 #include "base/time.h"
10 #include "chrome/common/common_param_traits_macros.h" 10 #include "chrome/common/common_param_traits_macros.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Tells the renderer that the password field has accept the suggestion. 128 // Tells the renderer that the password field has accept the suggestion.
129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
130 string16 /* username value*/) 130 string16 /* username value*/)
131 131
132 // Tells the renderer that this password form is not blacklisted. A form can 132 // Tells the renderer that this password form is not blacklisted. A form can
133 // be blacklisted if a user chooses "never save passwords for this site". 133 // be blacklisted if a user chooses "never save passwords for this site".
134 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 134 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
135 content::PasswordForm /* form checked */) 135 content::PasswordForm /* form checked */)
136 136
137 // Sent when interactive autocomplete finishes. 137 // Sent when interactive autocomplete succeeds. Tells the renderer to Autofill
138 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished, 138 // the form that requested autocomplete with the |form_data| values input by the
139 WebKit::WebFormElement::AutocompleteResult /* result */) 139 // user.
140 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess,
141 FormData /* form_data */)
142
143 // Sent when interactive autocomplete fails. Currently, this happens when a form
144 // is requested to be autocompleted with no input or select tags with
145 // autocomplete attributes.
146 IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError);
140 147
141 // Autofill messages sent from the renderer to the browser. 148 // Autofill messages sent from the renderer to the browser.
142 149
143 // Notification that forms have been seen that are candidates for 150 // Notification that forms have been seen that are candidates for
144 // filling/submitting by the AutofillManager. 151 // filling/submitting by the AutofillManager.
145 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 152 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
146 std::vector<FormData> /* forms */, 153 std::vector<FormData> /* forms */,
147 base::TimeTicks /* timestamp */) 154 base::TimeTicks /* timestamp */)
148 155
149 // Notification that password forms have been seen that are candidates for 156 // Notification that password forms have been seen that are candidates for
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 FormFieldData /* the form field */, 239 FormFieldData /* the form field */,
233 gfx::Rect /* input field bounds, window-relative */, 240 gfx::Rect /* input field bounds, window-relative */,
234 std::vector<string16> /* suggestions */) 241 std::vector<string16> /* suggestions */)
235 242
236 // Inform browser of data list values for the curent field. 243 // Inform browser of data list values for the curent field.
237 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 244 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
238 std::vector<string16> /* values */, 245 std::vector<string16> /* values */,
239 std::vector<string16> /* labels */, 246 std::vector<string16> /* labels */,
240 std::vector<string16> /* icons */, 247 std::vector<string16> /* icons */,
241 std::vector<int> /* unique ids */) 248 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698