DescriptionRevert of Allow storing multiple replacements on SpellCheckResult (patchset #11 id:200001 of https://codereview.chromium.org/2848943002/ )
Reason for revert:
Caused spell markers to no longer appear on OSX, per crbug.com/727172
Original issue's description:
> Allow storing multiple replacements on SpellCheckResult
>
> I'm working on adding support for the Android spellcheck suggestion list that
> appears in a native text box when you tap on a misspelled word. It appears that
> I need to modify this piece of infrastructure to support passing multiple
> suggestions through to the Spelling marker that gets added.
>
> For reference, we construct the SpellCheckResult objects from the Android
> spellchecker results in SpellCheckerSessionBridge::ProcessSpellCheckResults().
>
> Alternatively, ContextMenuClientImpl has logic for calling the spellchecker
> again to get the list of suggestions that we might be able to use:
> https://chromium.googlesource.com/chromium/src/+/adc8910776c64a876f0422454da618a37d01167b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp#346
>
> However, I talked to aelias and he said it would be better to store the
> suggestions the first time we call the spellchecker, at the time we add the
> marker, to avoid going back and forth unnecessarily.
>
> BUG=715365
>
> Review-Url: https://codereview.chromium.org/2848943002
> Cr-Commit-Position: refs/heads/master@{#475058}
> Committed: https://chromium.googlesource.com/chromium/src/+/c45f50742410a644a054325478d885e61d286713
TBR=jochen@chromium.org,aelias@chromium.org,groby@chromium.org,mkwst@chromium.org,xiaochengh@chromium.org,rlanday@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=715365, 727172
Review-Url: https://codereview.chromium.org/2906243002
Cr-Commit-Position: refs/heads/master@{#475293}
Committed: https://chromium.googlesource.com/chromium/src/+/e6a7d7e3cd5665b6bc9b0e8cac4c813c52f90b02
Patch Set 1 #Patch Set 2 : Revert "Allow storing multiple replacements on SpellCheckResult" #Messages
Total messages: 18 (12 generated)
|