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

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

Issue 18179015: Send IPC from renderer to browser on each Autocheckout page completion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 7 years, 5 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
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "components/autofill/core/common/autocheckout_status.h" 10 #include "components/autofill/core/common/autocheckout_status.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 // Instructs the browser to show the Autofill dialog. 262 // Instructs the browser to show the Autofill dialog.
263 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 263 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
264 264
265 // Send when a text field is done editing. 265 // Send when a text field is done editing.
266 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) 266 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
267 267
268 // Instructs the browser to hide the Autofill UI. 268 // Instructs the browser to hide the Autofill UI.
269 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUi) 269 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUi)
270 270
271 // Sent when the renderer attempts to click an element in an Autocheckout flow 271 // Sent when the renderer filled an Autocheckout page and clicked the proceed
272 // and either the element could not be found or the click did not have the 272 // button or if there was an error.
273 // desired effect. 273 IPC_MESSAGE_ROUTED1(AutofillHostMsg_AutocheckoutPageCompleted,
274 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ClickFailed,
275 autofill::AutocheckoutStatus /* status */) 274 autofill::AutocheckoutStatus /* status */)
276 275
277 // Instructs the browser to show the password generation bubble at the 276 // Instructs the browser to show the password generation bubble at the
278 // specified location. This location should be specified in the renderers 277 // specified location. This location should be specified in the renderers
279 // coordinate system. Form is the form associated with the password field. 278 // coordinate system. Form is the form associated with the password field.
280 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup, 279 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup,
281 gfx::Rect /* source location */, 280 gfx::Rect /* source location */,
282 int /* max length of the password */, 281 int /* max length of the password */,
283 content::PasswordForm) 282 content::PasswordForm)
284 283
285 // Instruct the browser that a password mapping has been found for a field. 284 // Instruct the browser that a password mapping has been found for a field.
286 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 285 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
287 autofill::FormFieldData, /* the user name field */ 286 autofill::FormFieldData, /* the user name field */
288 autofill::PasswordFormFillData /* password pairings */) 287 autofill::PasswordFormFillData /* password pairings */)
289 288
290 // Instruct the browser to show a popup with the following suggestions from the 289 // Instruct the browser to show a popup with the following suggestions from the
291 // password manager. 290 // password manager.
292 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 291 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
293 autofill::FormFieldData /* the form field */, 292 autofill::FormFieldData /* the form field */,
294 gfx::RectF /* input field bounds, window-relative */, 293 gfx::RectF /* input field bounds, window-relative */,
295 std::vector<base::string16> /* suggestions */, 294 std::vector<base::string16> /* suggestions */,
296 std::vector<base::string16> /* realms */) 295 std::vector<base::string16> /* realms */)
297 296
298 // Inform browser of data list values for the curent field. 297 // Inform browser of data list values for the curent field.
299 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 298 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
300 std::vector<base::string16> /* values */, 299 std::vector<base::string16> /* values */,
301 std::vector<base::string16> /* labels */, 300 std::vector<base::string16> /* labels */,
302 std::vector<base::string16> /* icons */, 301 std::vector<base::string16> /* icons */,
303 std::vector<int> /* unique ids */) 302 std::vector<int> /* unique ids */)
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698