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

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: Remove frame id Created 8 years, 9 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 and lets the renderer know if it should disable the popup
86 IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm, 86 // and not show it.
Ilya Sherman 2012/03/09 22:00:26 nit: This is kind of a run-on sentence. Perhaps l
csharp 2012/03/12 15:11:56 Done.
87 webkit::forms::PasswordFormFillData) 87 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordForm,
88 webkit::forms::PasswordFormFillData,
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
98 // Tells the renderer that the next form will be filled for real. 100 // Tells the renderer that the next form will be filled for real.
99 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionFill) 101 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionFill)
100 102
101 // Clears the currently displayed Autofill results. 103 // Clears the currently displayed Autofill results.
102 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) 104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
103 105
104 // 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.
105 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) 107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview)
106 108
107 // Tells the renderer that the Autofill previewed form should be cleared. 109 // Tells the renderer that the Autofill previewed form should be cleared.
108 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) 110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
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
116 // Tells the renderer that the password field has accept the suggestion.
117 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordAcceptAutofillSuggestion,
118 string16)
119
114 // Autofill messages sent from the renderer to the browser. 120 // Autofill messages sent from the renderer to the browser.
115 121
116 // Notification that forms have been seen that are candidates for 122 // Notification that forms have been seen that are candidates for
117 // filling/submitting by the AutofillManager. 123 // filling/submitting by the AutofillManager.
118 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 124 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
119 std::vector<webkit::forms::FormData> /* forms */, 125 std::vector<webkit::forms::FormData> /* forms */,
120 base::TimeTicks /* timestamp */) 126 base::TimeTicks /* timestamp */)
121 127
122 // Notification that password forms have been seen that are candidates for 128 // Notification that password forms have been seen that are candidates for
123 // filling/submitting by the password manager. 129 // filling/submitting by the password manager.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 string16 /* value */) 180 string16 /* value */)
175 181
176 // Instructs the browser to show the Autofill dialog. 182 // Instructs the browser to show the Autofill dialog.
177 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 183 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
178 184
179 // Send when a text field is done editing. 185 // Send when a text field is done editing.
180 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) 186 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
181 187
182 // Instructs the browser to hide the Autofill popup. 188 // Instructs the browser to hide the Autofill popup.
183 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup) 189 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
190
191 // Instruct the browser that the frame is closing.
192 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FrameClosing)
193
194 // Instruct the browse that a password mapping has been found for a field.
Ilya Sherman 2012/03/09 22:00:26 nit: "browse" -> "browser"
csharp 2012/03/12 15:11:56 Done.
195 IPC_MESSAGE_ROUTED2(AutofillHostMsg_PasswordFormMapping,
196 webkit::forms::FormField, /* the user name field */
197 webkit::forms::PasswordFormFillData /*the form fill data */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698