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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 15937004: Respect Android system settings for allowing the last character of a password to be displayed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months 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 | « no previous file | chrome/browser/defaults.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 66b9dcddb0a59ddef6c937a53214c1c5d74e3dd5..bf04e1c645eec95b9c50c556556861565f5d6519 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1945,7 +1945,13 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
#endif
#endif
+#if defined(OS_ANDROID)
+ web_prefs->password_echo_enabled =
+ prefs->GetBoolean(prefs::kWebKitPasswordEchoEnabled);
+#else
web_prefs->password_echo_enabled = browser_defaults::kPasswordEchoEnabled;
+#endif
+
#if defined(OS_CHROMEOS)
// Enable password echo during OOBE when keyboard driven flag is set.
if (chromeos::UserManager::IsInitialized() &&
« no previous file with comments | « no previous file | chrome/browser/defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698