Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1156)

Issue 2906243002: Revert of Allow storing multiple replacements on SpellCheckResult (Closed)

Created:
3 years, 6 months ago by Noel Gordon
Modified:
3 years, 6 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, groby+blinkspell_chromium.org, groby+spellwatch_chromium.org, jam, jochen+watch_chromium.org, kinuko+watch, mac-reviews_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, rlp+watch_chromium.org, rouslan+spell_chromium.org, please use gerrit instead, timvolodine, Xiaocheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert 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" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -203 lines) Patch
M chrome/browser/renderer_context_menu/spelling_menu_observer.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform_mac_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spelling_service_client_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/spellcheck/common/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/spellcheck/common/spellcheck_messages.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/spellcheck/common/spellcheck_result.h View 1 2 chunks +6 lines, -16 lines 0 comments Download
D components/spellcheck/common/spellcheck_result.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M components/spellcheck/renderer/spellcheck.cc View 1 3 chunks +9 lines, -19 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider_test.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider_unittest.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_unittest.cc View 1 2 chunks +16 lines, -57 lines 0 comments Download
M content/shell/test_runner/mock_spell_check.cc View 1 1 chunk +6 lines, -6 lines 0 comments Download
M content/shell/test_runner/spell_check_client.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 4 chunks +3 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp View 1 2 chunks +0 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextChecking.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebTextCheckingResult.cpp View 1 1 chunk +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/public/web/WebTextCheckingResult.h View 1 3 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Noel Gordon
Created Revert of Allow storing multiple replacements on SpellCheckResult
3 years, 6 months ago (2017-05-29 03:27:08 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906243002/1
3 years, 6 months ago (2017-05-29 03:27:17 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/429419) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-05-29 03:29:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906243002/270001
3 years, 6 months ago (2017-05-29 03:56:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906243002/270001
3 years, 6 months ago (2017-05-29 05:49:35 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 05:54:35 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:270001) as
https://chromium.googlesource.com/chromium/src/+/e6a7d7e3cd5665b6bc9b0e8cac4c...

Powered by Google App Engine
This is Rietveld 408576698