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

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

Issue 10443084: Add Datalist Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 (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 "content/public/common/webkit_param_traits.h" 10 #include "content/public/common/webkit_param_traits.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Clears the currently displayed Autofill results. 103 // Clears the currently displayed Autofill results.
104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) 104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
105 105
106 // Tells the renderer that the next form will be filled as a preview. 106 // Tells the renderer that the next form will be filled as a preview.
107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) 107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview)
108 108
109 // Tells the renderer that the Autofill previewed form should be cleared. 109 // Tells the renderer that the Autofill previewed form should be cleared.
110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) 110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
111 111
112 // Sets the currently selected nodes value. 112 // Sets the currently selected node's value.
113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, 113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
114 string16) 114 string16 /* new node text */)
115
116 // Sets the currently selected node's value to be the given data list value.
117 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
118 string16 /* accepted data list value */)
115 119
116 // Tells the renderer to populate the correct password fields with this 120 // Tells the renderer to populate the correct password fields with this
117 // generated password. 121 // generated password.
118 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 122 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
119 string16 /* generated_password */) 123 string16 /* generated_password */)
120 124
121 // Tells the renderer whether password generation is enabled. 125 // Tells the renderer whether password generation is enabled.
122 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, 126 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled,
123 bool /* is_enabled */) 127 bool /* is_enabled */)
124 128
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 212 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
209 webkit::forms::FormField, /* the user name field */ 213 webkit::forms::FormField, /* the user name field */
210 webkit::forms::PasswordFormFillData /* password pairings */) 214 webkit::forms::PasswordFormFillData /* password pairings */)
211 215
212 // Instruct the browser to show a popup with the following suggestions from the 216 // Instruct the browser to show a popup with the following suggestions from the
213 // password manager. 217 // password manager.
214 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, 218 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
215 webkit::forms::FormField /* the form field */, 219 webkit::forms::FormField /* the form field */,
216 gfx::Rect /* input field bounds, window-relative */, 220 gfx::Rect /* input field bounds, window-relative */,
217 std::vector<string16> /* suggestions */) 221 std::vector<string16> /* suggestions */)
222
223 // Inform browser of data list values for the curent field.
224 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
225 std::vector<string16> /* values */,
226 std::vector<string16> /* labels */,
227 std::vector<string16> /* icons */,
228 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698