DescriptionFix RenderText cached bounds and offset logic; update clients.
Ensure the display offset and cursor bounds are valid on use.
Build in offset logic to RenderText display and hit-testing.
Implement simpler temporary GetStringWidth and GetCursorBounds.
Fix SetDisplayRect signature, code file ordering, invalidation.
Rename and refactor a bit, update comments.
Fixes adornment display & hit testing on text field overflows.
Increases abstraction/encapsulation for easier client use.
BUG=90426
TEST=--use-pure-views / touch_ui textfield use with overflow.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96334
Patch Set 1 #Patch Set 2 : Fix cursor bounds and offset logic. #Patch Set 3 : Update touch selection handles and test. #Patch Set 4 : Rename and refactor cached bounds and offset updating. #Patch Set 5 : Fix update loop, SetDisplayRect, and GetStringWidth. #Patch Set 6 : Expand touch_selection_controller_impl_unittest textfield bounds to avoid unexpected text overrun. #
Total comments: 5
Patch Set 7 : Invalidate on SetText, update comments. #
Total comments: 2
Patch Set 8 : Update comments. #
Messages
Total messages: 14 (0 generated)
|