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

Side by Side Diff: components/autofill/content/public/interfaces/autofill_driver.mojom

Issue 2007473004: [Autofill] Migrate ContentAutofillDriver<-->AutofillAgent IPCs to mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module autofill.mojom; 5 module autofill.mojom;
6 6
7 import "components/autofill/content/public/interfaces/autofill_types.mojom";
8 import "mojo/common/common_custom_types.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom";
10
7 interface AutofillDriver { 11 interface AutofillDriver {
8 // Notification that there has been a user gesture. 12 // Notification that there has been a user gesture.
9 FirstUserGestureObserved(); 13 FirstUserGestureObserved();
14
15 // Notification that forms have been seen that are candidates for
16 // filling/submitting by the AutofillManager.
17 FormsSeen(array<FormData> forms, mojo.common.mojom.TimeTicks timestamp);
18
19 // Notification that a form is about to be submitted. The user hit the button.
20 WillSubmitForm(FormData form, mojo.common.mojom.TimeTicks timestamp);
21
22 // Notification that a form has been submitted.
23 FormSubmitted(FormData form);
24
25 // Notification that a form field's value has changed.
26 TextFieldDidChange(FormData form,
27 FormFieldData field,
28 mojo.common.mojom.TimeTicks timestamp);
29
30 // Queries the browser for Autofill suggestions for a form input field.
31 QueryFormFieldAutofill(
32 int32 id, FormData form, FormFieldData field, gfx.mojom.RectF bounding_box );
yzshen1 2016/06/29 22:25:44 80 columns
leonhsl(Using Gerrit) 2016/07/01 13:04:59 Done.
33
34 // Instructs the browser to hide the Autofill popup if it is open.
35 HidePopup();
36
37 // Sent immediately after the renderer receives a ping IPC.
38 PingAck();
39
40 // Sent when the current form is no longer focused.
41 FocusNoLongerOnForm();
42
43 // Sent when a form is filled with Autofill suggestions.
44 DidFillAutofillFormData(FormData form, mojo.common.mojom.TimeTicks timestamp);
45
46 // Sent when a form is previewed with Autofill suggestions.
47 DidPreviewAutofillFormData();
48
49 // Send when a text field is done editing.
yzshen1 2016/06/29 22:25:44 Sent?
leonhsl(Using Gerrit) 2016/07/01 13:04:59 Done.
50 DidEndTextFieldEditing();
51
52 // Inform browser of data list values for the current field.
yzshen1 2016/06/29 22:25:44 Inform*s*
leonhsl(Using Gerrit) 2016/07/01 13:04:59 Done.
53 SetDataList(array<string> values, array<string> labels);
10 }; 54 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698