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

Unified Diff: ui/views/controls/textfield/native_textfield_gtk.h

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
« no previous file with comments | « chrome/browser/ui/views/login_view.cc ('k') | ui/views/controls/textfield/native_textfield_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_gtk.h
diff --git a/ui/views/controls/textfield/native_textfield_gtk.h b/ui/views/controls/textfield/native_textfield_gtk.h
index 0b4ae894139717e33434862e3e38858ec62ccae1..cc773a15884f55b8456b12a2996520483f21f769 100644
--- a/ui/views/controls/textfield/native_textfield_gtk.h
+++ b/ui/views/controls/textfield/native_textfield_gtk.h
@@ -44,7 +44,7 @@ class NativeTextfieldGtk : public NativeControlGtk,
virtual void UpdateBackgroundColor() OVERRIDE;
virtual void UpdateReadOnly() OVERRIDE;
virtual void UpdateFont() OVERRIDE;
- virtual void UpdateIsPassword() OVERRIDE;
+ virtual void UpdateIsObscured() OVERRIDE;
virtual void UpdateEnabled() OVERRIDE;
virtual gfx::Insets CalculateInsets() OVERRIDE;
virtual void UpdateHorizontalMargins() OVERRIDE;
@@ -72,8 +72,8 @@ class NativeTextfieldGtk : public NativeControlGtk,
virtual void CreateNativeControl() OVERRIDE;
virtual void NativeControlCreated(GtkWidget* widget) OVERRIDE;
- // Returns true if the textfield is for password.
- bool IsPassword();
+ // Returns true if the textfield is obscured (shown as *****).
+ bool IsObscured();
private:
// Gtk signal callbacks.
« no previous file with comments | « chrome/browser/ui/views/login_view.cc ('k') | ui/views/controls/textfield/native_textfield_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698