Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 | 127 |
| 128 // Tells the renderer that the password field has accept the suggestion. | 128 // Tells the renderer that the password field has accept the suggestion. |
| 129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
| 130 string16 /* username value*/) | 130 string16 /* username value*/) |
| 131 | 131 |
| 132 // Tells the renderer that this password form is not blacklisted. A form can | 132 // Tells the renderer that this password form is not blacklisted. A form can |
| 133 // be blacklisted if a user chooses "never save passwords for this site". | 133 // be blacklisted if a user chooses "never save passwords for this site". |
| 134 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 134 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 135 content::PasswordForm /* form checked */) | 135 content::PasswordForm /* form checked */) |
| 136 | 136 |
| 137 // Sent when interactive autocomplete finishes. | 137 // Sent when interactive autocomplete succeeds. Changes the original form. |
|
Ilya Sherman
2012/11/28 06:16:39
nit: I'm not sure I follow what "Changes the origi
Dan Beam
2012/11/28 19:59:10
Done. (how about now?)
Ilya Sherman
2012/11/29 00:08:59
This is clearer, thanks. It's still a little weir
Dan Beam
2012/11/29 00:51:13
Done.
| |
| 138 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished, | 138 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess, |
| 139 WebKit::WebFormElement::AutocompleteResult /* result */) | 139 FormData /* form_data */) |
| 140 | |
| 141 // Sent when interactive autocomplete fails for any number of reasons. | |
| 142 IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError); | |
|
Ilya Sherman
2012/11/28 06:16:39
nit: The comment makes me want to see the failure
Dan Beam
2012/11/28 19:59:10
We currently don't have a failure reason enum or a
Ilya Sherman
2012/11/29 00:08:59
IMO this would be clearer either if you pass an en
Dan Beam
2012/11/29 00:51:13
This is only failing for 1 reason right now, so ju
| |
| 140 | 143 |
| 141 // Autofill messages sent from the renderer to the browser. | 144 // Autofill messages sent from the renderer to the browser. |
| 142 | 145 |
| 143 // Notification that forms have been seen that are candidates for | 146 // Notification that forms have been seen that are candidates for |
| 144 // filling/submitting by the AutofillManager. | 147 // filling/submitting by the AutofillManager. |
| 145 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, | 148 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, |
| 146 std::vector<FormData> /* forms */, | 149 std::vector<FormData> /* forms */, |
| 147 base::TimeTicks /* timestamp */) | 150 base::TimeTicks /* timestamp */) |
| 148 | 151 |
| 149 // Notification that password forms have been seen that are candidates for | 152 // Notification that password forms have been seen that are candidates for |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 232 FormFieldData /* the form field */, | 235 FormFieldData /* the form field */, |
| 233 gfx::Rect /* input field bounds, window-relative */, | 236 gfx::Rect /* input field bounds, window-relative */, |
| 234 std::vector<string16> /* suggestions */) | 237 std::vector<string16> /* suggestions */) |
| 235 | 238 |
| 236 // Inform browser of data list values for the curent field. | 239 // Inform browser of data list values for the curent field. |
| 237 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 240 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
| 238 std::vector<string16> /* values */, | 241 std::vector<string16> /* values */, |
| 239 std::vector<string16> /* labels */, | 242 std::vector<string16> /* labels */, |
| 240 std::vector<string16> /* icons */, | 243 std::vector<string16> /* icons */, |
| 241 std::vector<int> /* unique ids */) | 244 std::vector<int> /* unique ids */) |
| OLD | NEW |