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

Unified Diff: chrome/browser/chromeos/options/vpn_config_view.cc

Issue 9117012: Rename visual style "password" to "obscured" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 years, 11 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
Index: chrome/browser/chromeos/options/vpn_config_view.cc
diff --git a/chrome/browser/chromeos/options/vpn_config_view.cc b/chrome/browser/chromeos/options/vpn_config_view.cc
index a698ed2d3cc261876e68c07e0147ef6a8afe2f24..b131821f4212fa08d5c6231fbf4a3dfafd8b06e6 100644
--- a/chrome/browser/chromeos/options/vpn_config_view.cc
+++ b/chrome/browser/chromeos/options/vpn_config_view.cc
@@ -482,7 +482,7 @@ void VPNConfigView::Init(VirtualNetwork* vpn) {
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_VPN_PSK_PASSPHRASE));
layout->AddView(psk_passphrase_label_);
psk_passphrase_textfield_ = new views::Textfield(
- views::Textfield::STYLE_PASSWORD);
+ views::Textfield::STYLE_OBSCURED);
psk_passphrase_textfield_->SetController(this);
if (vpn && !vpn->psk_passphrase().empty())
psk_passphrase_textfield_->SetText(UTF8ToUTF16(vpn->psk_passphrase()));
@@ -550,7 +550,7 @@ void VPNConfigView::Init(VirtualNetwork* vpn) {
layout->AddView(new views::Label(l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_VPN_USER_PASSPHRASE)));
user_passphrase_textfield_ = new views::Textfield(
- views::Textfield::STYLE_PASSWORD);
+ views::Textfield::STYLE_OBSCURED);
user_passphrase_textfield_->SetController(this);
user_passphrase_textfield_->SetEnabled(user_passphrase_ui_data_.editable());
if (vpn && !vpn->user_passphrase().empty())
« no previous file with comments | « chrome/browser/chromeos/login/password_changed_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698