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> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 blink::WebFormElement::AutocompleteResult, | 92 blink::WebFormElement::AutocompleteResult, |
| 93 blink::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 // Instructs the renderer to immediately return an IPC acknowledging the ping. | |
|
Ilya Sherman
2014/05/29 01:28:24
nit: Please mention that this is used to correctly
erikchen
2014/05/29 20:31:31
Done.
| |
| 98 IPC_MESSAGE_ROUTED0(AutofillMsg_Ping) | |
| 99 | |
| 97 // Instructs the renderer to fill the active form with the given form data. | 100 // Instructs the renderer to fill the active form with the given form data. |
| 98 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm, | 101 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm, |
| 99 int /* query_id */, | 102 int /* query_id */, |
| 100 autofill::FormData /* form */) | 103 autofill::FormData /* form */) |
| 101 | 104 |
| 102 // Instructs the renderer to preview the active form with the given form data. | 105 // Instructs the renderer to preview the active form with the given form data. |
| 103 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewForm, | 106 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewForm, |
| 104 int /* query_id */, | 107 int /* query_id */, |
| 105 autofill::FormData /* form */) | 108 autofill::FormData /* form */) |
| 106 | 109 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill, | 217 IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill, |
| 215 int /* id of this message */, | 218 int /* id of this message */, |
| 216 autofill::FormData /* the form */, | 219 autofill::FormData /* the form */, |
| 217 autofill::FormFieldData /* the form field */, | 220 autofill::FormFieldData /* the form field */, |
| 218 gfx::RectF /* input field bounds, window-relative */, | 221 gfx::RectF /* input field bounds, window-relative */, |
| 219 bool /* display warning if autofill disabled */) | 222 bool /* display warning if autofill disabled */) |
| 220 | 223 |
| 221 // Sent when a form is previewed with Autofill suggestions. | 224 // Sent when a form is previewed with Autofill suggestions. |
| 222 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) | 225 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) |
| 223 | 226 |
| 227 // Sent immediately after the renderer receives a ping IPC. | |
| 228 IPC_MESSAGE_ROUTED0(AutofillHostMsg_PingAck) | |
| 229 | |
| 224 // Sent when a form is filled with Autofill suggestions. | 230 // Sent when a form is filled with Autofill suggestions. |
| 225 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, | 231 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, |
| 226 base::TimeTicks /* timestamp */) | 232 base::TimeTicks /* timestamp */) |
| 227 | 233 |
| 228 // Sent when a form receives a request to do interactive autocomplete. | 234 // Sent when a form receives a request to do interactive autocomplete. |
| 229 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, | 235 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, |
| 230 autofill::FormData /* form_data */, | 236 autofill::FormData /* form_data */, |
| 231 GURL /* frame_url */) | 237 GURL /* frame_url */) |
| 232 | 238 |
| 233 // Sent when interactive autocomplete is cancelled (e.g. because the invoking | 239 // Sent when interactive autocomplete is cancelled (e.g. because the invoking |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 268 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 274 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 269 autofill::FormFieldData /* the form field */, | 275 autofill::FormFieldData /* the form field */, |
| 270 gfx::RectF /* input field bounds, window-relative */, | 276 gfx::RectF /* input field bounds, window-relative */, |
| 271 std::vector<base::string16> /* suggestions */, | 277 std::vector<base::string16> /* suggestions */, |
| 272 std::vector<base::string16> /* realms */) | 278 std::vector<base::string16> /* realms */) |
| 273 | 279 |
| 274 // Inform browser of data list values for the curent field. | 280 // Inform browser of data list values for the curent field. |
| 275 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 281 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 276 std::vector<base::string16> /* values */, | 282 std::vector<base::string16> /* values */, |
| 277 std::vector<base::string16> /* labels */) | 283 std::vector<base::string16> /* labels */) |
| OLD | NEW |