DescriptionUse 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245152
Patch Set 1 #Patch Set 2 : Added TODO for switching to screen coordinates #
Messages
Total messages: 6 (0 generated)
|