| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 // Notification that initial layout has occurred and the following password | 184 // Notification that initial layout has occurred and the following password |
| 185 // forms are visible on the page (e.g. not set to display:none.) | 185 // forms are visible on the page (e.g. not set to display:none.) |
| 186 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, | 186 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, |
| 187 std::vector<autofill::PasswordForm> /* forms */) | 187 std::vector<autofill::PasswordForm> /* forms */) |
| 188 | 188 |
| 189 // Notification that this password form was submitted by the user. | 189 // Notification that this password form was submitted by the user. |
| 190 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, | 190 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, |
| 191 autofill::PasswordForm /* form */) | 191 autofill::PasswordForm /* form */) |
| 192 | 192 |
| 193 // Notification that logs during saving the password have been gathered. | 193 // Sends |log| to browser for displaying to the user. Only strings passed as an |
| 194 // argument to methods overriding SavePasswordProgressLogger::SendLog may become |
| 195 // |log|, because those are guaranteed to be sanitized. Never pass a free-form |
| 196 // string as |log|. |
| 194 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, | 197 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, |
| 195 std::string /* log */) | 198 std::string /* log */) |
| 196 | 199 |
| 197 // Notification that a form has been submitted. The user hit the button. | 200 // Notification that a form has been submitted. The user hit the button. |
| 198 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormSubmitted, | 201 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormSubmitted, |
| 199 autofill::FormData /* form */, | 202 autofill::FormData /* form */, |
| 200 base::TimeTicks /* timestamp */) | 203 base::TimeTicks /* timestamp */) |
| 201 | 204 |
| 202 // Notification that a form field's value has changed. | 205 // Notification that a form field's value has changed. |
| 203 IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange, | 206 IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 266 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 264 autofill::FormFieldData /* the form field */, | 267 autofill::FormFieldData /* the form field */, |
| 265 gfx::RectF /* input field bounds, window-relative */, | 268 gfx::RectF /* input field bounds, window-relative */, |
| 266 std::vector<base::string16> /* suggestions */, | 269 std::vector<base::string16> /* suggestions */, |
| 267 std::vector<base::string16> /* realms */) | 270 std::vector<base::string16> /* realms */) |
| 268 | 271 |
| 269 // Inform browser of data list values for the curent field. | 272 // Inform browser of data list values for the curent field. |
| 270 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 273 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 271 std::vector<base::string16> /* values */, | 274 std::vector<base::string16> /* values */, |
| 272 std::vector<base::string16> /* labels */) | 275 std::vector<base::string16> /* labels */) |
| OLD | NEW |