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

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: isherman@ review 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. Autofills parts of the form
138 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished, 138 // that requested the autocomplete with values input by the user.
139 WebKit::WebFormElement::AutocompleteResult /* result */) 139 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess,
140 FormData /* form_data */)
141
142 // Sent when interactive autocomplete fails for any number of reasons.
143 IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError);
140 144
141 // Autofill messages sent from the renderer to the browser. 145 // Autofill messages sent from the renderer to the browser.
142 146
143 // Notification that forms have been seen that are candidates for 147 // Notification that forms have been seen that are candidates for
144 // filling/submitting by the AutofillManager. 148 // filling/submitting by the AutofillManager.
145 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 149 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
146 std::vector<FormData> /* forms */, 150 std::vector<FormData> /* forms */,
147 base::TimeTicks /* timestamp */) 151 base::TimeTicks /* timestamp */)
148 152
149 // Notification that password forms have been seen that are candidates for 153 // 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 */, 236 FormFieldData /* the form field */,
233 gfx::Rect /* input field bounds, window-relative */, 237 gfx::Rect /* input field bounds, window-relative */,
234 std::vector<string16> /* suggestions */) 238 std::vector<string16> /* suggestions */)
235 239
236 // Inform browser of data list values for the curent field. 240 // Inform browser of data list values for the curent field.
237 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 241 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
238 std::vector<string16> /* values */, 242 std::vector<string16> /* values */,
239 std::vector<string16> /* labels */, 243 std::vector<string16> /* labels */,
240 std::vector<string16> /* icons */, 244 std::vector<string16> /* icons */,
241 std::vector<int> /* unique ids */) 245 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698