Commit 31b91d3c authored by Vaclav Brozek's avatar Vaclav Brozek Committed by Commit Bot

Clarify the meaning of AUTOFILLED in FieldPropertiesFlags

(No code change, just added a comment.)

Bug: 833838
Change-Id: Iea3a4b61fede82cb98b91eef71398f2c46a97985
Reviewed-on: https://chromium-review.googlesource.com/1016303Reviewed-by: default avatarMaxim Kolosovskiy <kolos@chromium.org>
Commit-Queue: Vaclav Brozek <vabr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551663}
parent 4bc8d71c
......@@ -23,6 +23,10 @@ namespace autofill {
enum FieldPropertiesFlags {
NO_FLAGS = 0u,
USER_TYPED = 1u << 0,
// AUTOFILLED means that at least one character of the field value comes from
// being autofilled. This is different from
// WebFormControlElement::IsAutofilled(). It is meant to be used for password
// fields, to determine whether viewing the value needs user reauthentication.
AUTOFILLED = 1u << 1,
HAD_FOCUS = 1u << 2,
// Use this flag, if some error occurred in flags processing.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment