Chromium Code Reviews| 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> | |
|
Ilya Sherman
2014/04/09 06:33:05
Why did you add this?
vabr (Chromium)
2014/04/09 11:17:13
I asked Riadh to include that at a point when one
Ilya Sherman
2014/04/09 21:42:20
If this is fixing up IWYU violations in existing c
vabr (Chromium)
2014/04/10 13:45:17
I agree. Riadh, please disregard my previous reque
| |
| 8 | 9 |
| 9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 10 #include "components/autofill/content/common/autofill_param_traits_macros.h" | 11 #include "components/autofill/content/common/autofill_param_traits_macros.h" |
| 11 #include "components/autofill/core/common/form_data.h" | 12 #include "components/autofill/core/common/form_data.h" |
| 12 #include "components/autofill/core/common/form_data_predictions.h" | 13 #include "components/autofill/core/common/form_data_predictions.h" |
| 13 #include "components/autofill/core/common/form_field_data.h" | 14 #include "components/autofill/core/common/form_field_data.h" |
| 14 #include "components/autofill/core/common/form_field_data_predictions.h" | 15 #include "components/autofill/core/common/form_field_data_predictions.h" |
| 15 #include "components/autofill/core/common/forms_seen_state.h" | 16 #include "components/autofill/core/common/forms_seen_state.h" |
| 16 #include "components/autofill/core/common/password_form.h" | 17 #include "components/autofill/core/common/password_form.h" |
| 17 #include "components/autofill/core/common/password_form_fill_data.h" | 18 #include "components/autofill/core/common/password_form_fill_data.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 // autocomplete with the |form_data| values input by the user. | 153 // autocomplete with the |form_data| values input by the user. |
| 153 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, | 154 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
| 154 blink::WebFormElement::AutocompleteResult /* result */, | 155 blink::WebFormElement::AutocompleteResult /* result */, |
| 155 autofill::FormData /* form_data */) | 156 autofill::FormData /* form_data */) |
| 156 | 157 |
| 157 // Sent when Autofill manager gets the query response from the Autofill server | 158 // Sent when Autofill manager gets the query response from the Autofill server |
| 158 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. | 159 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. |
| 159 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, | 160 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
| 160 std::vector<autofill::FormData> /* forms */) | 161 std::vector<autofill::FormData> /* forms */) |
| 161 | 162 |
| 163 // Instruct the renderer that a password suggestion has to be removed. | |
| 164 // The renderer is going to clean the suggestion from the ui and | |
| 165 // then ask the password manager to remove the password from the store. | |
| 166 IPC_MESSAGE_ROUTED1(AutofillMsg_RemoveSavedPassword, | |
| 167 base::string16 /*user name to be removed */) | |
|
Ilya Sherman
2014/04/09 06:33:05
How/why does the renderer deal with UI? Patrick D
rchtara
2014/04/09 13:52:43
I'm not sure how it could be possible to not send
Ilya Sherman
2014/04/09 21:42:20
Please discuss this with Patrick Dubroy. My sugge
vabr (Chromium)
2014/04/10 13:45:17
Thanks, Ilya, for making us aware of the coming ch
Patrick Dubroy
2014/04/29 12:47:06
The browser renders the pop-up, but the suggestion
| |
| 168 | |
| 162 // Autofill messages sent from the renderer to the browser. | 169 // Autofill messages sent from the renderer to the browser. |
| 163 | 170 |
| 164 // TODO(creis): check in the browser that the renderer actually has permission | 171 // TODO(creis): check in the browser that the renderer actually has permission |
| 165 // for the URL to avoid compromised renderers talking to the browser. | 172 // for the URL to avoid compromised renderers talking to the browser. |
| 166 | 173 |
| 167 // Notification that forms have been seen that are candidates for | 174 // Notification that forms have been seen that are candidates for |
| 168 // filling/submitting by the AutofillManager. | 175 // filling/submitting by the AutofillManager. |
| 169 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, | 176 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, |
| 170 std::vector<autofill::FormData> /* forms */, | 177 std::vector<autofill::FormData> /* forms */, |
| 171 base::TimeTicks /* timestamp */, | 178 base::TimeTicks /* timestamp */, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 autofill::PasswordFormFillData /* password pairings */) | 257 autofill::PasswordFormFillData /* password pairings */) |
| 251 | 258 |
| 252 // Instruct the browser to show a popup with the following suggestions from the | 259 // Instruct the browser to show a popup with the following suggestions from the |
| 253 // password manager. | 260 // password manager. |
| 254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 261 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 255 autofill::FormFieldData /* the form field */, | 262 autofill::FormFieldData /* the form field */, |
| 256 gfx::RectF /* input field bounds, window-relative */, | 263 gfx::RectF /* input field bounds, window-relative */, |
| 257 std::vector<base::string16> /* suggestions */, | 264 std::vector<base::string16> /* suggestions */, |
| 258 std::vector<base::string16> /* realms */) | 265 std::vector<base::string16> /* realms */) |
| 259 | 266 |
| 267 // Instruct the browser that a saved password has to be removed. | |
| 268 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemoveSavedPasswordAndUpdateManagers, | |
| 269 autofill::PasswordForm /* the password form */) | |
| 270 | |
| 260 // Inform browser of data list values for the curent field. | 271 // Inform browser of data list values for the curent field. |
| 261 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 272 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 262 std::vector<base::string16> /* values */, | 273 std::vector<base::string16> /* values */, |
| 263 std::vector<base::string16> /* labels */) | 274 std::vector<base::string16> /* labels */) |
| OLD | NEW |