Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: components/autofill/content/common/autofill_messages.h

Issue 286243002: Mac: Autofill should not immediately request access to address book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a missing abstract method override to a test class. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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.
98 // This is used to correctly sequence events, since IPCs are guaranteed to be
99 // processed in order.
100 IPC_MESSAGE_ROUTED0(AutofillMsg_Ping)
101
97 // Instructs the renderer to fill the active form with the given form data. 102 // Instructs the renderer to fill the active form with the given form data.
98 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm, 103 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm,
99 int /* query_id */, 104 int /* query_id */,
100 autofill::FormData /* form */) 105 autofill::FormData /* form */)
101 106
102 // Instructs the renderer to preview the active form with the given form data. 107 // Instructs the renderer to preview the active form with the given form data.
103 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewForm, 108 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewForm,
104 int /* query_id */, 109 int /* query_id */,
105 autofill::FormData /* form */) 110 autofill::FormData /* form */)
106 111
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill, 225 IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill,
221 int /* id of this message */, 226 int /* id of this message */,
222 autofill::FormData /* the form */, 227 autofill::FormData /* the form */,
223 autofill::FormFieldData /* the form field */, 228 autofill::FormFieldData /* the form field */,
224 gfx::RectF /* input field bounds, window-relative */, 229 gfx::RectF /* input field bounds, window-relative */,
225 bool /* display warning if autofill disabled */) 230 bool /* display warning if autofill disabled */)
226 231
227 // Sent when a form is previewed with Autofill suggestions. 232 // Sent when a form is previewed with Autofill suggestions.
228 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) 233 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
229 234
235 // Sent immediately after the renderer receives a ping IPC.
236 IPC_MESSAGE_ROUTED0(AutofillHostMsg_PingAck)
237
230 // Sent when a form is filled with Autofill suggestions. 238 // Sent when a form is filled with Autofill suggestions.
231 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, 239 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
232 base::TimeTicks /* timestamp */) 240 base::TimeTicks /* timestamp */)
233 241
234 // Sent when a form receives a request to do interactive autocomplete. 242 // Sent when a form receives a request to do interactive autocomplete.
235 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, 243 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete,
236 autofill::FormData /* form_data */, 244 autofill::FormData /* form_data */,
237 GURL /* frame_url */) 245 GURL /* frame_url */)
238 246
239 // Sent when interactive autocomplete is cancelled (e.g. because the invoking 247 // Sent when interactive autocomplete is cancelled (e.g. because the invoking
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 282 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
275 autofill::FormFieldData /* the form field */, 283 autofill::FormFieldData /* the form field */,
276 gfx::RectF /* input field bounds, window-relative */, 284 gfx::RectF /* input field bounds, window-relative */,
277 std::vector<base::string16> /* suggestions */, 285 std::vector<base::string16> /* suggestions */,
278 std::vector<base::string16> /* realms */) 286 std::vector<base::string16> /* realms */)
279 287
280 // Inform browser of data list values for the curent field. 288 // Inform browser of data list values for the curent field.
281 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 289 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
282 std::vector<base::string16> /* values */, 290 std::vector<base::string16> /* values */,
283 std::vector<base::string16> /* labels */) 291 std::vector<base::string16> /* labels */)
OLDNEW
« no previous file with comments | « components/autofill/content/browser/content_autofill_driver.cc ('k') | components/autofill/content/renderer/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698