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. |