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 | 8 |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "components/autofill/core/common/autofill_param_traits_macros.h" | 10 #include "components/autofill/core/common/autofill_param_traits_macros.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) | 82 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) |
83 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) | 83 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) |
84 IPC_STRUCT_TRAITS_END() | 84 IPC_STRUCT_TRAITS_END() |
85 | 85 |
86 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) | 86 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) |
87 IPC_STRUCT_TRAITS_MEMBER(password) | 87 IPC_STRUCT_TRAITS_MEMBER(password) |
88 IPC_STRUCT_TRAITS_MEMBER(realm) | 88 IPC_STRUCT_TRAITS_MEMBER(realm) |
89 IPC_STRUCT_TRAITS_END() | 89 IPC_STRUCT_TRAITS_END() |
90 | 90 |
91 IPC_ENUM_TRAITS_MAX_VALUE( | 91 IPC_ENUM_TRAITS_MAX_VALUE( |
92 WebKit::WebFormElement::AutocompleteResult, | 92 blink::WebFormElement::AutocompleteResult, |
93 WebKit::WebFormElement::AutocompleteResultErrorInvalid) | 93 blink::WebFormElement::AutocompleteResultErrorInvalid) |
94 | 94 |
95 // Autofill messages sent from the browser to the renderer. | 95 // Autofill messages sent from the browser to the renderer. |
96 | 96 |
97 // Reply to the AutofillHostMsg_FillAutofillFormData message with the | 97 // Reply to the AutofillHostMsg_FillAutofillFormData message with the |
98 // Autofill form data. | 98 // Autofill form data. |
99 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled, | 99 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled, |
100 int /* id of the request message */, | 100 int /* id of the request message */, |
101 autofill::FormData /* form data */) | 101 autofill::FormData /* form data */) |
102 | 102 |
103 // Fill a password form and prepare field autocomplete for multiple | 103 // Fill a password form and prepare field autocomplete for multiple |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Tells the renderer that this password form is not blacklisted. A form can | 143 // Tells the renderer that this password form is not blacklisted. A form can |
144 // be blacklisted if a user chooses "never save passwords for this site". | 144 // be blacklisted if a user chooses "never save passwords for this site". |
145 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 145 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
146 autofill::PasswordForm /* form checked */) | 146 autofill::PasswordForm /* form checked */) |
147 | 147 |
148 // Sent when requestAutocomplete() finishes (either succesfully or with an | 148 // Sent when requestAutocomplete() finishes (either succesfully or with an |
149 // error). If it was a success, the renderer fills the form that requested | 149 // error). If it was a success, the renderer fills the form that requested |
150 // autocomplete with the |form_data| values input by the user. | 150 // autocomplete with the |form_data| values input by the user. |
151 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, | 151 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
152 WebKit::WebFormElement::AutocompleteResult /* result */, | 152 blink::WebFormElement::AutocompleteResult /* result */, |
153 autofill::FormData /* form_data */) | 153 autofill::FormData /* form_data */) |
154 | 154 |
155 // Sent when the current page is actually displayed in the browser, possibly | 155 // Sent when the current page is actually displayed in the browser, possibly |
156 // after being preloaded. | 156 // after being preloaded. |
157 IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown) | 157 IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown) |
158 | 158 |
159 // Sent when Autofill manager gets the query response from the Autofill server | 159 // Sent when Autofill manager gets the query response from the Autofill server |
160 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. | 160 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. |
161 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, | 161 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
162 std::vector<autofill::FormData> /* forms */) | 162 std::vector<autofill::FormData> /* forms */) |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 253 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
254 autofill::FormFieldData /* the form field */, | 254 autofill::FormFieldData /* the form field */, |
255 gfx::RectF /* input field bounds, window-relative */, | 255 gfx::RectF /* input field bounds, window-relative */, |
256 std::vector<base::string16> /* suggestions */, | 256 std::vector<base::string16> /* suggestions */, |
257 std::vector<base::string16> /* realms */) | 257 std::vector<base::string16> /* realms */) |
258 | 258 |
259 // Inform browser of data list values for the curent field. | 259 // Inform browser of data list values for the curent field. |
260 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 260 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
261 std::vector<base::string16> /* values */, | 261 std::vector<base::string16> /* values */, |
262 std::vector<base::string16> /* labels */) | 262 std::vector<base::string16> /* labels */) |
OLD | NEW |