DescriptionImplement a request cache and disble retrieving a sub-region.
SpellCheck::RequestTextChecking() adds spelling markers to a wrong place when its offset parameter is not 0. To temporarily avoid this problem, this change sends the whole text given by WebKit if SpellCheckProvider::RequestTextChecking() sends a spellcheck request. Also, this change caches the last request and its response to avoid sending unnecessary spellcheck requests.
BUG=131613
TEST=SpellCheckProviderTest.MultiLineText
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141608
Patch Set 1 #
Total comments: 4
Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 4 (0 generated)
|