public interface SaveUserDataProfileCallback extends BrowserAsyncCallback<SaveUserDataProfileCallback.Params,SaveUserDataProfileCallback.Action>
The callback is invoked when the user submits a web form where fields are associated with a user data profile such as city, state, street, zip code, email address, etc.
This callback is equivalent to the "Save Address?" bubble in Chromium.
Use the SaveUserDataProfileCallback.Action.save() method to save this user data profile to the autofill store. All saved user data profiles are shown in the suggestion pop-up when focusing the web form control.
Use the SaveUserDataProfileCallback.Action.decline() method to decline to save the user data profile. If the current profile is declined then the callback will be invoked again when submitting the web form with the same user data.
The callback is not invoked if autofill is disabled.
Modifier and Type | Interface and Description |
---|---|
static class |
SaveUserDataProfileCallback.Action
An action providing a response to the
SaveUserDataProfileCallback . |
static interface |
SaveUserDataProfileCallback.Params
The parameters of the
SaveUserDataProfileCallback . |
on