DescriptionAvoid sync IPCs for firstRectForCharacterRange/attributedSubstringForProposedRange.
This reverts commit 64883bfcc6088e2cc7b447aa419d972d8346884f.
For firstRectForCharacterRange, always uses the cached rect. And it will make
IME get the wrong/old rect to position its suggestion window.
For attributedSubstringForProposedRange, always uses composition or
selection text. And it will drop the string format (fonts/color/etc.)
information.
This cl is a trade-off between making IME behave properly and avoid
freezing UI.
BUG=121917, 473850
TEST=Verified bug not repro on local build.
Committed: https://crrev.com/7e0fac6e1d8c79e7658a94e96a3f0246dc541d82
Cr-Commit-Position: refs/heads/master@{#350170}
Patch Set 1 #Patch Set 2 : fixed bugs in original cl 1301173002. #
Total comments: 6
Patch Set 3 : addressed some of palmer's comments. #
Total comments: 7
Patch Set 4 : #
Total comments: 2
Patch Set 5 : addressed palmer@'s comment.s #
Messages
Total messages: 16 (3 generated)
|