DescriptionSpeed up rendering of the input method candidate window.
UpdateCandidates() was not efficient as it was always updating candidates.
We don't have to update candidates if the user is just moving the cursor
in the same page in the candidate window.
BUG=chromium-os:6509
TEST=confirmed that the candidate window worked as before and rendering is faster by the following steps:
1. start a youtube video to add loads
2. start typing with mozc
3. type a
4. hold the space key for a while.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67956
Patch Set 1 #
Total comments: 1
Patch Set 2 : minor change #Patch Set 3 : fix #Patch Set 4 : minor cleanup #
Total comments: 2
Patch Set 5 : address comments #Messages
Total messages: 5 (0 generated)
|