diff options
Diffstat (limited to 'views/controls/textfield/native_textfield_win.h')
-rw-r--r-- | views/controls/textfield/native_textfield_win.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h index 7946a00..9ec30d2 100644 --- a/views/controls/textfield/native_textfield_win.h +++ b/views/controls/textfield/native_textfield_win.h @@ -25,7 +25,6 @@ namespace views { class Menu2; class NativeViewHost; class Textfield; -class TextRange; static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; @@ -79,8 +78,8 @@ class NativeTextfieldWin virtual View* GetView() OVERRIDE; virtual gfx::NativeView GetTestingHandle() const OVERRIDE; virtual bool IsIMEComposing() const OVERRIDE; - virtual void GetSelectedRange(TextRange* range) const OVERRIDE; - virtual void SelectRange(const TextRange& range) OVERRIDE; + virtual void GetSelectedRange(ui::Range* range) const OVERRIDE; + virtual void SelectRange(const ui::Range& range) OVERRIDE; virtual size_t GetCursorPosition() const OVERRIDE; virtual bool HandleKeyPressed(const views::KeyEvent& event) OVERRIDE; virtual bool HandleKeyReleased(const views::KeyEvent& event) OVERRIDE; |