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

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 138023004: Use local coordinates in TouchEditable interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added TODO for switching to screen coordinates Created 6 years, 11 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
« no previous file with comments | « ui/base/touch/touch_editing_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index afef279f96a09c7733c7d58507388e5ac9168c43..c437e642f0641e344b3dbf7682885b5832d31282 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -968,7 +968,7 @@ void Textfield::GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) {
}
gfx::Rect Textfield::GetBounds() {
- return bounds();
+ return GetLocalBounds();
}
gfx::NativeView Textfield::GetNativeView() const {
« no previous file with comments | « ui/base/touch/touch_editing_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698