Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Address(val fields: List<AddressField>)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class AddressField(val name: String, val value: String)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class AddressFields(val fields: List<AddressField>)

A list of address fields.

Link copied to clipboard
@Serializable
data class AddressUI(val addressFields: List<AddressFields>)

Defines how an address can be displayed like in chrome://settings/addresses. Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such. The following address UI for instance: [{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}, {name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}] should allow the receiver to render: Jon Doe Munich 81456

Link copied to clipboard

Defines commands and events for Autofill.

Link copied to clipboard
@Serializable
data class CreditCard(val number: String, val name: String, val expiryMonth: String, val expiryYear: String, val cvc: String)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the AutofillDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the AutofillDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class FilledField(val htmlType: String, val id: String, val name: String, val value: String, val autofillType: String, val fillingStrategy: FillingStrategy, val frameId: FrameId, val fieldId: BackendNodeId)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
enum FillingStrategy : Enum<FillingStrategy>

Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.

Link copied to clipboard
@Serializable
data class SetAddressesRequest(val addresses: List<Address>)

Request object containing input parameters for the AutofillDomain.setAddresses command.

Link copied to clipboard
@Serializable
object SetAddressesResponse

A dummy response object for the AutofillDomain.setAddresses command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TriggerRequest(val fieldId: BackendNodeId, val frameId: FrameId? = null, val card: CreditCard)

Request object containing input parameters for the AutofillDomain.trigger command.

Link copied to clipboard
@Serializable
object TriggerResponse

A dummy response object for the AutofillDomain.trigger command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.