| Index: components/autofill/content/public/interfaces/autofill_driver.mojom
|
| diff --git a/components/autofill/content/public/interfaces/autofill_driver.mojom b/components/autofill/content/public/interfaces/autofill_driver.mojom
|
| index 3724043db4083fc126c8da79ecf263edac38c8c2..3e7ef79a1fce68ce0e493c5a89be611a14e2367c 100644
|
| --- a/components/autofill/content/public/interfaces/autofill_driver.mojom
|
| +++ b/components/autofill/content/public/interfaces/autofill_driver.mojom
|
| @@ -4,7 +4,51 @@
|
|
|
| module autofill.mojom;
|
|
|
| +import "components/autofill/content/public/interfaces/autofill_types.mojom";
|
| +import "mojo/common/common_custom_types.mojom";
|
| +import "ui/gfx/geometry/mojo/geometry.mojom";
|
| +
|
| interface AutofillDriver {
|
| // Notification that there has been a user gesture.
|
| FirstUserGestureObserved();
|
| +
|
| + // Notification that forms have been seen that are candidates for
|
| + // filling/submitting by the AutofillManager.
|
| + FormsSeen(array<FormData> forms, mojo.common.mojom.TimeTicks timestamp);
|
| +
|
| + // Notification that a form is about to be submitted. The user hit the button.
|
| + WillSubmitForm(FormData form, mojo.common.mojom.TimeTicks timestamp);
|
| +
|
| + // Notification that a form has been submitted.
|
| + FormSubmitted(FormData form);
|
| +
|
| + // Notification that a form field's value has changed.
|
| + TextFieldDidChange(FormData form,
|
| + FormFieldData field,
|
| + mojo.common.mojom.TimeTicks timestamp);
|
| +
|
| + // Queries the browser for Autofill suggestions for a form input field.
|
| + QueryFormFieldAutofill(
|
| + int32 id, FormData form, FormFieldData field, gfx.mojom.RectF bounding_box);
|
| +
|
| + // Instructs the browser to hide the Autofill popup if it is open.
|
| + HidePopup();
|
| +
|
| + // Sent immediately after the renderer receives a ping IPC.
|
| + PingAck();
|
| +
|
| + // Sent when the current form is no longer focused.
|
| + FocusNoLongerOnForm();
|
| +
|
| + // Sent when a form is filled with Autofill suggestions.
|
| + DidFillAutofillFormData(FormData form, mojo.common.mojom.TimeTicks timestamp);
|
| +
|
| + // Sent when a form is previewed with Autofill suggestions.
|
| + DidPreviewAutofillFormData();
|
| +
|
| + // Send when a text field is done editing.
|
| + DidEndTextFieldEditing();
|
| +
|
| + // Inform browser of data list values for the current field.
|
| + SetDataList(array<string> values, array<string> labels);
|
| };
|
|
|