| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 // Autofill messages sent from the renderer to the browser. | 198 // Autofill messages sent from the renderer to the browser. |
| 199 | 199 |
| 200 // TODO(creis): check in the browser that the renderer actually has permission | 200 // TODO(creis): check in the browser that the renderer actually has permission |
| 201 // for the URL to avoid compromised renderers talking to the browser. | 201 // for the URL to avoid compromised renderers talking to the browser. |
| 202 | 202 |
| 203 // Notification that there has been a user gesture. | 203 // Notification that there has been a user gesture. |
| 204 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FirstUserGestureObserved) | 204 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FirstUserGestureObserved) |
| 205 | 205 |
| 206 // Notification that forms have been seen that are candidates for | 206 // Notification that forms have been seen that are candidates for |
| 207 // filling/submitting by the AutofillManager. | 207 // filling/submitting by the AutofillManager. |
| 208 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, | 208 // If there is no unowned form, the index is size of |forms|. |
| 209 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, |
| 209 std::vector<autofill::FormData> /* forms */, | 210 std::vector<autofill::FormData> /* forms */, |
| 211 size_t /* unowned_form_index */, |
| 210 base::TimeTicks /* timestamp */) | 212 base::TimeTicks /* timestamp */) |
| 211 | 213 |
| 212 // Notification that password forms have been seen that are candidates for | 214 // Notification that password forms have been seen that are candidates for |
| 213 // filling/submitting by the password manager. | 215 // filling/submitting by the password manager. |
| 214 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, | 216 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, |
| 215 std::vector<autofill::PasswordForm> /* forms */) | 217 std::vector<autofill::PasswordForm> /* forms */) |
| 216 | 218 |
| 217 // Notification that initial layout has occurred and the following password | 219 // Notification that initial layout has occurred and the following password |
| 218 // forms are visible on the page (e.g. not set to display:none.), and whether | 220 // forms are visible on the page (e.g. not set to display:none.), and whether |
| 219 // all frames in the page have been rendered. | 221 // all frames in the page have been rendered. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 int /* key */, | 309 int /* key */, |
| 308 base::i18n::TextDirection /* text_direction */, | 310 base::i18n::TextDirection /* text_direction */, |
| 309 base::string16 /* username typed by user */, | 311 base::string16 /* username typed by user */, |
| 310 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 312 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 311 gfx::RectF /* input field bounds, window-relative */) | 313 gfx::RectF /* input field bounds, window-relative */) |
| 312 | 314 |
| 313 // Inform browser of data list values for the curent field. | 315 // Inform browser of data list values for the curent field. |
| 314 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 316 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 315 std::vector<base::string16> /* values */, | 317 std::vector<base::string16> /* values */, |
| 316 std::vector<base::string16> /* labels */) | 318 std::vector<base::string16> /* labels */) |
| OLD | NEW |