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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.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 | « chrome/browser/defaults.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/prefs/prefs_tab_helper.cc
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index a26a39961ee78a9e7d21833d696c706dcabce6cf..a4e4bd00531f66391466b275eb7a6b06298407ba 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -122,6 +122,7 @@ const char* kPrefsToObserve[] = {
#if defined(OS_ANDROID)
prefs::kWebKitFontScaleFactor,
prefs::kWebKitForceEnableZoom,
+ prefs::kWebKitPasswordEchoEnabled,
#endif
prefs::kWebKitJavascriptEnabled,
prefs::kWebKitJavaEnabled,
@@ -555,6 +556,10 @@ void PrefsTabHelper::RegisterUserPrefs(
prefs::kWebKitForceEnableZoom,
pref_defaults.force_enable_zoom,
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(
+ prefs::kWebKitPasswordEchoEnabled,
+ pref_defaults.password_echo_enabled,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
#endif
#if !defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/defaults.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698