diff options
author | suzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:47:53 +0000 |
---|---|---|
committer | suzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:47:53 +0000 |
commit | e6d6b43f9aa5b1da627fe7067d36fe47d46abedb (patch) | |
tree | b066da36f24e062329731d3767b32fa4c855d581 /views/controls/textfield/native_textfield_views.h | |
parent | 051e4ecafeb6da960517224bdd0348dae7e43784 (diff) | |
download | chromium_src-e6d6b43f9aa5b1da627fe7067d36fe47d46abedb.zip chromium_src-e6d6b43f9aa5b1da627fe7067d36fe47d46abedb.tar.gz chromium_src-e6d6b43f9aa5b1da627fe7067d36fe47d46abedb.tar.bz2 |
Replace views::TextRange with ui::Range.
BUG=none
TEST=original unittests.
Review URL: http://codereview.chromium.org/6695021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/textfield/native_textfield_views.h')
-rw-r--r-- | views/controls/textfield/native_textfield_views.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/views/controls/textfield/native_textfield_views.h b/views/controls/textfield/native_textfield_views.h index 059e0f9bee..1f80147 100644 --- a/views/controls/textfield/native_textfield_views.h +++ b/views/controls/textfield/native_textfield_views.h @@ -27,7 +27,6 @@ namespace views { class KeyEvent; class Menu2; class TextfieldViewsModel; -class TextRange; // A views/skia only implementation of NativeTextfieldWrapper. // No platform specific code is used. @@ -86,8 +85,8 @@ class NativeTextfieldViews : public views::View, 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& e) OVERRIDE; virtual bool HandleKeyReleased(const views::KeyEvent& e) OVERRIDE; |