From f1baa445478133e392a6e7d064d477abcc4e3165 Mon Sep 17 00:00:00 2001 From: "msw@chromium.org" Date: Fri, 10 Jun 2011 00:54:02 +0000 Subject: Draw a NativeTextfieldViews drop location cursor. Move GetCursorBounds to NativeTextfieldViews. Some minor refactoring. BUG=72040 TEST=--use-pure-views textfield cursor showing drop location. Review URL: http://codereview.chromium.org/6982055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88618 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/textfield/textfield_views_model.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'views/controls/textfield/textfield_views_model.h') diff --git a/views/controls/textfield/textfield_views_model.h b/views/controls/textfield/textfield_views_model.h index 21cbc2c..297c8ae 100644 --- a/views/controls/textfield/textfield_views_model.h +++ b/views/controls/textfield/textfield_views_model.h @@ -181,9 +181,6 @@ class TextfieldViewsModel { // The current composition text will be confirmed. bool MoveCursorTo(size_t position, bool select); - // Returns the bounds of character at the current cursor. - gfx::Rect GetCursorBounds(const gfx::Font& font) const; - // Returns the bounds of selected text. gfx::Rect GetSelectionBounds(const gfx::Font& font) const; -- cgit v1.1