| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 autofill::FormData /* form */) | 110 autofill::FormData /* form */) |
| 111 | 111 |
| 112 // Fill a password form and prepare field autocomplete for multiple | 112 // Fill a password form and prepare field autocomplete for multiple |
| 113 // matching logins. Lets the renderer know if it should disable the popup | 113 // matching logins. Lets the renderer know if it should disable the popup |
| 114 // because the browser process will own the popup UI. | 114 // because the browser process will own the popup UI. |
| 115 IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm, | 115 IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm, |
| 116 autofill::PasswordFormFillData /* the fill form data*/) | 116 autofill::PasswordFormFillData /* the fill form data*/) |
| 117 | 117 |
| 118 // Notification to start (|active| == true) or stop (|active| == false) logging | 118 // Notification to start (|active| == true) or stop (|active| == false) logging |
| 119 // the decisions made about saving the password. | 119 // the decisions made about saving the password. |
| 120 IPC_MESSAGE_ROUTED1(AutofillMsg_ChangeLoggingState, bool /* active */) | 120 IPC_MESSAGE_ROUTED1(AutofillMsg_SetLoggingState, bool /* active */) |
| 121 | 121 |
| 122 // Send the heuristic and server field type predictions to the renderer. | 122 // Send the heuristic and server field type predictions to the renderer. |
| 123 IPC_MESSAGE_ROUTED1( | 123 IPC_MESSAGE_ROUTED1( |
| 124 AutofillMsg_FieldTypePredictionsAvailable, | 124 AutofillMsg_FieldTypePredictionsAvailable, |
| 125 std::vector<autofill::FormDataPredictions> /* forms */) | 125 std::vector<autofill::FormDataPredictions> /* forms */) |
| 126 | 126 |
| 127 // Clears the currently displayed Autofill results. | 127 // Clears the currently displayed Autofill results. |
| 128 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) | 128 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) |
| 129 | 129 |
| 130 // Tells the renderer that the Autofill previewed form should be cleared. | 130 // Tells the renderer that the Autofill previewed form should be cleared. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // Notification that password forms have been seen that are candidates for | 192 // Notification that password forms have been seen that are candidates for |
| 193 // filling/submitting by the password manager. | 193 // filling/submitting by the password manager. |
| 194 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, | 194 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, |
| 195 std::vector<autofill::PasswordForm> /* forms */) | 195 std::vector<autofill::PasswordForm> /* forms */) |
| 196 | 196 |
| 197 // Notification that initial layout has occurred and the following password | 197 // Notification that initial layout has occurred and the following password |
| 198 // forms are visible on the page (e.g. not set to display:none.) | 198 // forms are visible on the page (e.g. not set to display:none.) |
| 199 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, | 199 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, |
| 200 std::vector<autofill::PasswordForm> /* forms */) | 200 std::vector<autofill::PasswordForm> /* forms */) |
| 201 | 201 |
| 202 // A ping to the browser that PasswordAutofillAgent was constructed. As a |
| 203 // consequence, the browser sends AutofillMsg_SetLoggingState with the current |
| 204 // state of the logging activity. |
| 205 IPC_MESSAGE_ROUTED0(AutofillHostMsg_PasswordAutofillAgentConstructed); |
| 206 |
| 202 // Notification that this password form was submitted by the user. | 207 // Notification that this password form was submitted by the user. |
| 203 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, | 208 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, |
| 204 autofill::PasswordForm /* form */) | 209 autofill::PasswordForm /* form */) |
| 205 | 210 |
| 206 // Sends |log| to browser for displaying to the user. Only strings passed as an | 211 // Sends |log| to browser for displaying to the user. Only strings passed as an |
| 207 // argument to methods overriding SavePasswordProgressLogger::SendLog may become | 212 // argument to methods overriding SavePasswordProgressLogger::SendLog may become |
| 208 // |log|, because those are guaranteed to be sanitized. Never pass a free-form | 213 // |log|, because those are guaranteed to be sanitized. Never pass a free-form |
| 209 // string as |log|. | 214 // string as |log|. |
| 210 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, | 215 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, |
| 211 std::string /* log */) | 216 std::string /* log */) |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 287 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 283 autofill::FormFieldData /* the form field */, | 288 autofill::FormFieldData /* the form field */, |
| 284 gfx::RectF /* input field bounds, window-relative */, | 289 gfx::RectF /* input field bounds, window-relative */, |
| 285 std::vector<base::string16> /* suggestions */, | 290 std::vector<base::string16> /* suggestions */, |
| 286 std::vector<base::string16> /* realms */) | 291 std::vector<base::string16> /* realms */) |
| 287 | 292 |
| 288 // Inform browser of data list values for the curent field. | 293 // Inform browser of data list values for the curent field. |
| 289 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 294 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 290 std::vector<base::string16> /* values */, | 295 std::vector<base::string16> /* values */, |
| 291 std::vector<base::string16> /* labels */) | 296 std::vector<base::string16> /* labels */) |
| OLD | NEW |