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

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

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing up FindLoginInfo Created 8 years, 8 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 std::vector<string16> /* icons */, 75 std::vector<string16> /* icons */,
76 std::vector<int> /* unique_ids */) 76 std::vector<int> /* unique_ids */)
77 77
78 // Reply to the AutofillHostMsg_FillAutofillFormData message with the 78 // Reply to the AutofillHostMsg_FillAutofillFormData message with the
79 // Autofill form data. 79 // Autofill form data.
80 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled, 80 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled,
81 int /* id of the request message */, 81 int /* id of the request message */,
82 webkit::forms::FormData /* form data */) 82 webkit::forms::FormData /* form data */)
83 83
84 // Fill a password form and prepare field autocomplete for multiple 84 // Fill a password form and prepare field autocomplete for multiple
85 // matching logins. 85 // matching logins. Lets the renderer know if it should disable the popup
86 IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm, 86 // because the browser process will own the popup UI.
87 webkit::forms::PasswordFormFillData) 87 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordForm,
88 webkit::forms::PasswordFormFillData, /* the fill form data*/
89 bool /* disable popup */ )
88 90
89 // Send the heuristic and server field type predictions to the renderer. 91 // Send the heuristic and server field type predictions to the renderer.
90 IPC_MESSAGE_ROUTED1( 92 IPC_MESSAGE_ROUTED1(
91 AutofillMsg_FieldTypePredictionsAvailable, 93 AutofillMsg_FieldTypePredictionsAvailable,
92 std::vector<webkit::forms::FormDataPredictions> /* forms */) 94 std::vector<webkit::forms::FormDataPredictions> /* forms */)
93 95
94 // Select an Autofill item when using an external delegate. 96 // Select an Autofill item when using an external delegate.
95 IPC_MESSAGE_ROUTED1(AutofillMsg_SelectAutofillSuggestionAtIndex, 97 IPC_MESSAGE_ROUTED1(AutofillMsg_SelectAutofillSuggestionAtIndex,
96 int /* listIndex */) 98 int /* listIndex */)
97 99
(...skipping 11 matching lines...) Expand all
109 111
110 // Sets the currently selected nodes value. 112 // Sets the currently selected nodes value.
111 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, 113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
112 string16) 114 string16)
113 115
114 // Tells the renderer to populate the correct password fields with this 116 // Tells the renderer to populate the correct password fields with this
115 // generated password. 117 // generated password.
116 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 118 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
117 string16 /* generated_password */) 119 string16 /* generated_password */)
118 120
121 // Tells the renderer that the password field has accept the suggestion.
122 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
123 string16)
Ilya Sherman 2012/04/02 22:07:29 nit: Please add a quick comment to describe the st
csharp 2012/04/03 12:25:55 Done.
124
119 // Autofill messages sent from the renderer to the browser. 125 // Autofill messages sent from the renderer to the browser.
120 126
121 // Notification that forms have been seen that are candidates for 127 // Notification that forms have been seen that are candidates for
122 // filling/submitting by the AutofillManager. 128 // filling/submitting by the AutofillManager.
123 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 129 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
124 std::vector<webkit::forms::FormData> /* forms */, 130 std::vector<webkit::forms::FormData> /* forms */,
125 base::TimeTicks /* timestamp */) 131 base::TimeTicks /* timestamp */)
126 132
127 // Notification that password forms have been seen that are candidates for 133 // Notification that password forms have been seen that are candidates for
128 // filling/submitting by the password manager. 134 // filling/submitting by the password manager.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 string16 /* value */) 185 string16 /* value */)
180 186
181 // Instructs the browser to show the Autofill dialog. 187 // Instructs the browser to show the Autofill dialog.
182 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
183 189
184 // Send when a text field is done editing. 190 // Send when a text field is done editing.
185 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) 191 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
186 192
187 // Instructs the browser to hide the Autofill popup. 193 // Instructs the browser to hide the Autofill popup.
188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup) 194 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
189 195
Ilya Sherman 2012/04/02 22:07:29 nit: No need for this extra blank line (line 195)
csharp 2012/04/03 12:25:55 Done.
196
190 // Instructs the browser to show the password generation bubble at the 197 // Instructs the browser to show the password generation bubble at the
191 // specified location. This location should be specified in the renderers 198 // specified location. This location should be specified in the renderers
192 // coordinate system. 199 // coordinate system.
193 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordGenerationPopup, 200 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordGenerationPopup,
194 gfx::Rect /* source location */) 201 gfx::Rect /* source location */)
202
203 // Instruct the browser that a password mapping has been found for a field.
204 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
205 webkit::forms::FormField, /* the user name field */
206 webkit::forms::PasswordFormFillData /*the form fill data */)
Ilya Sherman 2012/04/02 22:07:29 nit: There should be a space between "/*" and "the
csharp 2012/04/03 12:25:55 Changed the text to "password pairing", still a bi
207
208 // Instruct the browser to show a popup with the following suggestions from the
209 // password manager.
210 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
211 webkit::forms::FormField /* the form field */,
212 gfx::Rect /* input field bounds, window-relative */,
213 std::vector<string16> /* suggestions */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698