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

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: 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
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 FormFieldData /* the form field */, 184 FormFieldData /* the form field */,
185 int /* profile unique ID */) 185 int /* profile unique ID */)
186 186
187 // Sent when a form is previewed with Autofill suggestions. 187 // Sent when a form is previewed with Autofill suggestions.
188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) 188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
189 189
190 // Sent when a form is filled with Autofill suggestions. 190 // Sent when a form is filled with Autofill suggestions.
191 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, 191 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
192 base::TimeTicks /* timestamp */) 192 base::TimeTicks /* timestamp */)
193 193
194 // Send when a form receives a request to do interactive autocomplete.
195 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RequestAutocomplete,
196 FormData /* the form */)
197
194 // Instructs the browser to remove the specified Autocomplete entry from the 198 // Instructs the browser to remove the specified Autocomplete entry from the
195 // database. 199 // database.
196 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, 200 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry,
197 string16 /* field name */, 201 string16 /* field name */,
198 string16 /* value */) 202 string16 /* value */)
199 203
200 // Instructs the browser to show the Autofill dialog. 204 // Instructs the browser to show the Autofill dialog.
201 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 205 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
202 206
203 // Send when a text field is done editing. 207 // Send when a text field is done editing.
(...skipping 21 matching lines...) Expand all
225 FormFieldData /* the form field */, 229 FormFieldData /* the form field */,
226 gfx::Rect /* input field bounds, window-relative */, 230 gfx::Rect /* input field bounds, window-relative */,
227 std::vector<string16> /* suggestions */) 231 std::vector<string16> /* suggestions */)
228 232
229 // Inform browser of data list values for the curent field. 233 // Inform browser of data list values for the curent field.
230 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 234 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
231 std::vector<string16> /* values */, 235 std::vector<string16> /* values */,
232 std::vector<string16> /* labels */, 236 std::vector<string16> /* labels */,
233 std::vector<string16> /* icons */, 237 std::vector<string16> /* icons */,
234 std::vector<int> /* unique ids */) 238 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698