diff options
Diffstat (limited to 'chromium/components/autofill/content/common/autofill_types.mojom')
-rw-r--r-- | chromium/components/autofill/content/common/autofill_types.mojom | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/components/autofill/content/common/autofill_types.mojom b/chromium/components/autofill/content/common/autofill_types.mojom index bbda37d00a4..c9ecc5760f8 100644 --- a/chromium/components/autofill/content/common/autofill_types.mojom +++ b/chromium/components/autofill/content/common/autofill_types.mojom @@ -7,6 +7,7 @@ module autofill.mojom; import "mojo/public/mojom/base/text_direction.mojom"; import "mojo/public/mojom/base/time.mojom"; import "mojo/public/mojom/base/string16.mojom"; +import "ui/gfx/geometry/mojo/geometry.mojom"; import "url/mojom/origin.mojom"; import "url/mojom/url.mojom"; @@ -99,6 +100,13 @@ enum LabelSource { VALUE, }; +// autofill::FillingStatus +enum FillingStatus { + SUCCESS, + ERROR_NO_VALID_FIELD, + ERROR_NOT_ALLOWED, +}; + // autofill::FormFieldData struct FormFieldData { mojo_base.mojom.String16 label; @@ -142,6 +150,7 @@ struct FormData { bool is_formless_checkout; uint32 unique_renderer_id; array<FormFieldData> fields; + array<uint32> username_predictions; }; // autofill::FormFieldDataPredictions @@ -170,15 +179,18 @@ struct PasswordAndRealm { // autofill::PasswordFormFillData struct PasswordFormFillData { + uint32 form_renderer_id; mojo_base.mojom.String16 name; url.mojom.Url origin; url.mojom.Url action; FormFieldData username_field; FormFieldData password_field; + bool username_may_use_prefilled_placeholder; string preferred_realm; map<mojo_base.mojom.String16, PasswordAndRealm> additional_logins; bool wait_for_username; bool is_possible_change_password_form; + bool has_renderer_ids; }; // autofill::PasswordFormGenerationData @@ -189,6 +201,15 @@ struct PasswordFormGenerationData { uint32 confirmation_field_signature; }; +// autofill::password_generation::PasswordGenerationUIData +struct PasswordGenerationUIData { + gfx.mojom.RectF bounds; + int32 max_length; + mojo_base.mojom.String16 generation_element; + mojo_base.mojom.TextDirection text_direction; + PasswordForm password_form; +}; + // autofill::ValueElementPair struct ValueElementPair { mojo_base.mojom.String16 value; |