diff options
author | jww@chromium.org <jww@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-12-06 17:04:52 +0000 |
---|---|---|
committer | jww@chromium.org <jww@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-12-06 17:04:52 +0000 |
commit | 0128d4ab338f93e5e90363f173de84e89f2244c2 (patch) | |
tree | e15892469f87335daebac99950885ae88fbeee48 /third_party/WebKit/public | |
parent | 1afc485ab7cb926ea70248fceb0612d78f23429d (diff) | |
download | chromium_src-0128d4ab338f93e5e90363f173de84e89f2244c2.zip chromium_src-0128d4ab338f93e5e90363f173de84e89f2244c2.tar.gz chromium_src-0128d4ab338f93e5e90363f173de84e89f2244c2.tar.bz2 |
Revert of https://codereview.chromium.org/93943003/
Reason for revert: We are actually going to ignore autocomplete=off behind a flag, so we need this API back. We will eventually remove this after we take away the flag.
TBR=abarth@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/108233004
git-svn-id: svn://svn.chromium.org/blink/trunk@163351 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/public')
-rw-r--r-- | third_party/WebKit/public/web/WebPasswordFormData.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/WebKit/public/web/WebPasswordFormData.h b/third_party/WebKit/public/web/WebPasswordFormData.h index 2528dd7..84dc700 100644 --- a/third_party/WebKit/public/web/WebPasswordFormData.h +++ b/third_party/WebKit/public/web/WebPasswordFormData.h @@ -105,12 +105,20 @@ struct WebPasswordFormData { // When parsing an HTML form, this is typically empty. WebString passwordValue; + // Value of shouldAutocomplete for the password element. + bool passwordShouldAutocomplete; + // If the form was a change password form, the name of the // 'old password' input element. Optional. WebString oldPasswordElement; // The old password. Optional. WebString oldPasswordValue; + + WebPasswordFormData() + : passwordShouldAutocomplete(false) + { + } }; } // namespace blink |