Use local coordinates in TouchEditable interface
In TouchEditable interface, almost all points are expected to be in local coordinates of the editable view, except GetBounds() which wrongly expects points in the parent view coordinates. Up to r244436, this was not a problem since editable views completely covered their parents and have the same coordinates with them. Fixing this situation to prevent similar problems in the future. BUG=334009 Review URL: https://codereview.chromium.org/138023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245152 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment