| Index: ui/views/controls/textfield/textfield.h
|
| diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
|
| index b87953c8634d59c57533d8e3b97534a1ae11592a..b931b70a42d9397bb9c5c944ef5d6566ff669ca3 100644
|
| --- a/ui/views/controls/textfield/textfield.h
|
| +++ b/ui/views/controls/textfield/textfield.h
|
| @@ -66,6 +66,10 @@ class VIEWS_EXPORT Textfield : public View,
|
| // Sets the input type; displays only asterisks for TEXT_INPUT_TYPE_PASSWORD.
|
| void SetTextInputType(ui::TextInputType type);
|
|
|
| + // Sets the input flags so that the system input methods can turn on/off some
|
| + // features. The flags is the bit map of ui::TextInputFlags.
|
| + void SetTextInputFlags(int flags);
|
| +
|
| // Gets the text currently displayed in the Textfield.
|
| const base::string16& text() const { return model_->text(); }
|
|
|
| @@ -431,6 +435,9 @@ class VIEWS_EXPORT Textfield : public View,
|
| // The input type of this text field.
|
| ui::TextInputType text_input_type_;
|
|
|
| + // The input flags of this text field.
|
| + int text_input_flags_;
|
| +
|
| // The duration and timer to reveal the last typed password character.
|
| base::TimeDelta password_reveal_duration_;
|
| base::OneShotTimer<Textfield> password_reveal_timer_;
|
|
|