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

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

Issue 10310131: Support placeholder text in NativeTextfieldViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #3 Created 8 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 | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5c1b47cb3d2175c9b7c7d60e2c1ea890163ff6df..33e7259add697a6f0fab703d453303f2ef00a3ea 100644
--- a/chrome/browser/chromeos/login/password_changed_view.cc
+++ b/chrome/browser/chromeos/login/password_changed_view.cc
@@ -114,7 +114,7 @@ void PasswordChangedView::Init() {
delta_sync_radio_->SetMultiLine(true);
old_password_field_ = new TextfieldWithMargin(Textfield::STYLE_OBSCURED);
- old_password_field_->set_text_to_display_when_empty(
+ old_password_field_->set_placeholder_text(
l10n_util::GetStringUTF16(IDS_LOGIN_PREVIOUS_PASSWORD));
old_password_field_->set_default_width_in_chars(kPasswordFieldWidthChars);
old_password_field_->SetController(this);
« no previous file with comments | « no previous file | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698