| Index: views/controls/textfield/textfield.h
|
| diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h
|
| index a07b6f1e86528da5d419da825ed3c267e56e53bc..3614504c241093ee619b6f036edf497aa3caaf58 100644
|
| --- a/views/controls/textfield/textfield.h
|
| +++ b/views/controls/textfield/textfield.h
|
| @@ -49,8 +49,7 @@ class Textfield : public View {
|
| enum StyleFlags {
|
| STYLE_DEFAULT = 0,
|
| STYLE_PASSWORD = 1 << 0,
|
| - STYLE_MULTILINE = 1 << 1,
|
| - STYLE_LOWERCASE = 1 << 2
|
| + STYLE_LOWERCASE = 1 << 1
|
| };
|
|
|
| Textfield();
|
| @@ -69,10 +68,6 @@ class Textfield : public View {
|
| bool IsPassword() const;
|
| void SetPassword(bool password);
|
|
|
| - // Whether the text field is multi-line or not, must be set when the text
|
| - // field is created, using StyleFlags.
|
| - bool IsMultiLine() const;
|
| -
|
| // Gets/Sets the text currently displayed in the Textfield.
|
| const string16& text() const { return text_; }
|
| void SetText(const string16& text);
|
| @@ -132,10 +127,6 @@ class Textfield : public View {
|
| // NOTE: in most cases height could be changed instead.
|
| void SetVerticalMargins(int top, int bottom);
|
|
|
| - // Should only be called on a multi-line text field. Sets how many lines of
|
| - // text can be displayed at once by this text field.
|
| - void SetHeightInLines(int num_lines);
|
| -
|
| // Sets the default width of the text control. See default_width_in_chars_.
|
| void set_default_width_in_chars(int default_width) {
|
| default_width_in_chars_ = default_width;
|
| @@ -266,9 +257,6 @@ class Textfield : public View {
|
| // Textfield's background color.
|
| bool use_default_background_color_;
|
|
|
| - // The number of lines of text this Textfield displays at once.
|
| - int num_lines_;
|
| -
|
| // TODO(beng): remove this once NativeTextfieldWin subclasses
|
| // NativeControlWin.
|
| bool initialized_;
|
|
|