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

Unified Diff: chrome/browser/chromeos/login/password_changed_view.cc

Issue 8748001: Make text input type and password visibility bit independent in Textfield (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Textfield(STYLE_OBSCURED) sets TEXT_INPUT_TYPE_PASSWORD Created 9 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
Index: chrome/browser/chromeos/login/password_changed_view.cc
diff --git a/chrome/browser/chromeos/login/password_changed_view.cc b/chrome/browser/chromeos/login/password_changed_view.cc
index c20d01826e5c587c14fdf667b86d72355c9f36bd..a070bca485b34e1b26a5e5fe0a82dcdbf2be94f7 100644
--- a/chrome/browser/chromeos/login/password_changed_view.cc
+++ b/chrome/browser/chromeos/login/password_changed_view.cc
@@ -118,7 +118,7 @@ void PasswordChangedView::Init() {
delta_sync_radio_->set_listener(this);
delta_sync_radio_->SetMultiLine(true);
- old_password_field_ = new TextfieldWithMargin(Textfield::STYLE_PASSWORD);
+ old_password_field_ = new TextfieldWithMargin(Textfield::STYLE_OBSCURED);
old_password_field_->set_text_to_display_when_empty(
l10n_util::GetStringUTF16(IDS_LOGIN_PREVIOUS_PASSWORD));
old_password_field_->set_default_width_in_chars(kPasswordFieldWidthChars);
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screen_lock_view.cc » ('j') | ui/views/controls/textfield/native_textfield_gtk.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698