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

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

Issue 11270018: [autofill] Adding new API to request an interactive autocomplete UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: isherman@ review Created 8 years, 1 month 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
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/renderer/autofill/autofill_agent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Tells the renderer that the password field has accept the suggestion. 125 // Tells the renderer that the password field has accept the suggestion.
126 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 126 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
127 string16 /* username value*/) 127 string16 /* username value*/)
128 128
129 // Tells the renderer that this password form is not blacklisted. A form can 129 // Tells the renderer that this password form is not blacklisted. A form can
130 // be blacklisted if a user chooses "never save passwords for this site". 130 // be blacklisted if a user chooses "never save passwords for this site".
131 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 131 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
132 content::PasswordForm /* form checked */) 132 content::PasswordForm /* form checked */)
133 133
134 // Sent when interactive autocomplete finishes.
135 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished,
136 int /* result */)
Lei Zhang 2012/10/30 00:37:11 I think you can use AutocompleteResult here.
Dan Beam 2012/10/30 00:37:59 Done.
137
134 // Autofill messages sent from the renderer to the browser. 138 // Autofill messages sent from the renderer to the browser.
135 139
136 // Notification that forms have been seen that are candidates for 140 // Notification that forms have been seen that are candidates for
137 // filling/submitting by the AutofillManager. 141 // filling/submitting by the AutofillManager.
138 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 142 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
139 std::vector<FormData> /* forms */, 143 std::vector<FormData> /* forms */,
140 base::TimeTicks /* timestamp */) 144 base::TimeTicks /* timestamp */)
141 145
142 // Notification that password forms have been seen that are candidates for 146 // Notification that password forms have been seen that are candidates for
143 // filling/submitting by the password manager. 147 // filling/submitting by the password manager.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 FormFieldData /* the form field */, 184 FormFieldData /* the form field */,
181 int /* profile unique ID */) 185 int /* profile unique ID */)
182 186
183 // Sent when a form is previewed with Autofill suggestions. 187 // Sent when a form is previewed with Autofill suggestions.
184 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) 188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
185 189
186 // Sent when a form is filled with Autofill suggestions. 190 // Sent when a form is filled with Autofill suggestions.
187 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, 191 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
188 base::TimeTicks /* timestamp */) 192 base::TimeTicks /* timestamp */)
189 193
194 // Sent when a form receives a request to do interactive autocomplete.
195 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RequestAutocomplete,
196 FormData /* form_data */)
197
190 // Instructs the browser to remove the specified Autocomplete entry from the 198 // Instructs the browser to remove the specified Autocomplete entry from the
191 // database. 199 // database.
192 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, 200 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry,
193 string16 /* field name */, 201 string16 /* field name */,
194 string16 /* value */) 202 string16 /* value */)
195 203
196 // Instructs the browser to show the Autofill dialog. 204 // Instructs the browser to show the Autofill dialog.
197 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 205 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
198 206
199 // Send when a text field is done editing. 207 // Send when a text field is done editing.
(...skipping 21 matching lines...) Expand all
221 FormFieldData /* the form field */, 229 FormFieldData /* the form field */,
222 gfx::Rect /* input field bounds, window-relative */, 230 gfx::Rect /* input field bounds, window-relative */,
223 std::vector<string16> /* suggestions */) 231 std::vector<string16> /* suggestions */)
224 232
225 // Inform browser of data list values for the curent field. 233 // Inform browser of data list values for the curent field.
226 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 234 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
227 std::vector<string16> /* values */, 235 std::vector<string16> /* values */,
228 std::vector<string16> /* labels */, 236 std::vector<string16> /* labels */,
229 std::vector<string16> /* icons */, 237 std::vector<string16> /* icons */,
230 std::vector<int> /* unique ids */) 238 std::vector<int> /* unique ids */)
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/renderer/autofill/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698