Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1065)

Unified Diff: views/controls/textfield/textfield_views_model.h

Issue 6982055: Draw a NativeTextfieldViews drop location cursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Combine cursor bounds data members, revise UpdateCursorBoundsAndTextOffset. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: 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 21cbc2c295f845765ee451e1806566ed8f91dbf2..297c8aeddd44af6949baeb82506f8293cb8fc56e 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;
« no previous file with comments | « views/controls/textfield/native_textfield_views_unittest.cc ('k') | views/controls/textfield/textfield_views_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698