Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: components/autofill/core/common/autofill_constants.h

Issue 767353002: Support for password manager suggestions on password fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Added message value to iOS grit whitelist Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/browser/popup_item_ids.h ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/autofill_constants.h
diff --git a/components/autofill/core/common/autofill_constants.h b/components/autofill/core/common/autofill_constants.h
index 9386b45f3c38d89ee498d4d67e82e1ebc99a09c1..1989e93558d204e76cd9732e24e4454816145dd5 100644
--- a/components/autofill/core/common/autofill_constants.h
+++ b/components/autofill/core/common/autofill_constants.h
@@ -20,6 +20,12 @@ extern const char kHelpURL[];
// it's not necessary.
extern const size_t kRequiredAutofillFields;
+// Options bitmask values for AutofillHostMsg_ShowPasswordSuggestions IPC
+enum ShowPasswordSuggestionsOptions {
+ SHOW_ALL = 1 << 0 /* show all credentials, not just ones matching username */,
+ IS_PASSWORD_FIELD = 1 << 1 /* input field is a password field */
+};
+
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_CONSTANTS_H_
« no previous file with comments | « components/autofill/core/browser/popup_item_ids.h ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698