| Index: ui/views/controls/textfield/textfield_views_model.h
|
| diff --git a/ui/views/controls/textfield/textfield_views_model.h b/ui/views/controls/textfield/textfield_views_model.h
|
| index 51a4ea45833a8374d80901a38347947751c12bcc..7aceb667ef479cee9d6d39cfee6ecb7233116287 100644
|
| --- a/ui/views/controls/textfield/textfield_views_model.h
|
| +++ b/ui/views/controls/textfield/textfield_views_model.h
|
| @@ -65,8 +65,8 @@ class VIEWS_EXPORT TextfieldViewsModel {
|
| explicit TextfieldViewsModel(Delegate* delegate);
|
| virtual ~TextfieldViewsModel();
|
|
|
| - void set_is_password(bool is_password) {
|
| - is_password_ = is_password;
|
| + void set_is_obscured(bool is_obscured) {
|
| + is_obscured_ = is_obscured;
|
| }
|
|
|
| // Edit related methods.
|
| @@ -183,7 +183,7 @@ class VIEWS_EXPORT TextfieldViewsModel {
|
| // Redo edit. Returns true if redo changed the text.
|
| bool Redo();
|
|
|
| - // Returns visible text. If the field is password, it returns the
|
| + // Returns visible text. If the field is obscured, it returns the
|
| // sequence of "*".
|
| string16 GetVisibleText() const;
|
|
|
| @@ -304,8 +304,8 @@ class VIEWS_EXPORT TextfieldViewsModel {
|
| // The stylized text, cursor, selection, and the visual layout model.
|
| scoped_ptr<gfx::RenderText> render_text_;
|
|
|
| - // True if the text is the password.
|
| - bool is_password_;
|
| + // True if the text is obscured (e.g., a password).
|
| + bool is_obscured_;
|
|
|
| typedef std::list<internal::Edit*> EditHistory;
|
| EditHistory edit_history_;
|
|
|