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

Issue 15861019: Collect spelling service feedback on Mac (Closed)

Created:
7 years, 7 months ago by please use gerrit instead
Modified:
7 years, 6 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rpetterson, rouslan+spellwatch_chromium.org, sail+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Collect spelling service feedback on Mac This CL enables collecting feedback for spelling service on Mac. Mac uses a different code path for spellchecking, because Mac's built-in spellcheck lives in the browser process. Other operating systems keep the built-in spellcheck in the renderer process. Other operating systems are already collecting the feedback for spelling service. This CL also modifies the IPC message "SpellCheckHostMsg_RequestTextCheck" to send a list of existing misspellings (SpellCheckMarker) together with the spellcheck request from the renderer to the browser on Mac. Other operating systems use the "SpellCheckHostMsg_CallSpellingService" message, which already passes a list of existing misspellings with the spellcheck request. BUG=170514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203227

Patch Set 1 #

Patch Set 2 : Attempt to fix Mac compile #

Total comments: 2

Patch Set 3 : Validate SpellCheckMarker::offset #

Patch Set 4 : Filter out invalid markers #

Total comments: 4

Patch Set 5 : Add comment #

Patch Set 6 : Remove debug logs #

Patch Set 7 : Merge master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -19 lines) Patch
M chrome/browser/spellchecker/feedback_sender.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.cc View 1 2 3 4 5 6 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac.cc View 1 2 3 4 6 chunks +38 lines, -7 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/spellcheck_marker.h View 1 2 3 1 chunk +14 lines, -1 line 0 comments Download
M chrome/common/spellcheck_messages.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
please use gerrit instead
Groby: PTAL Julien: PTAL chrome/common/spellcheck_messages.h
7 years, 7 months ago (2013-05-24 21:43:24 UTC) #1
groby-ooo-7-16
lgtm
7 years, 7 months ago (2013-05-24 23:01:33 UTC) #2
please use gerrit instead
Julien: ping...
7 years, 6 months ago (2013-05-28 22:43:48 UTC) #3
jln (very slow on Chromium)
Isn't there a vulnerability in browser/spellchecker/feedback_sender.cc, FeedbackSender::OnSpellcheckResults() ? I don't think markers is ever checked, ...
7 years, 6 months ago (2013-05-28 23:24:52 UTC) #4
jln (very slow on Chromium)
On 2013/05/28 23:24:52, Julien Tinnes wrote: > Did I miss something? comex@ pointed out to ...
7 years, 6 months ago (2013-05-28 23:30:46 UTC) #5
please use gerrit instead
Julien: PTAL. I've modified the CL to make sure that offset is always valid. (Using ...
7 years, 6 months ago (2013-05-29 00:16:21 UTC) #6
groby-ooo-7-16
From the link you just sent: "Because this takes down the whole browser, sometimes there ...
7 years, 6 months ago (2013-05-29 00:27:19 UTC) #7
jln (very slow on Chromium)
On 2013/05/29 00:16:21, Rouslan Solomakhin wrote: In general, we don't want to allow renderers to ...
7 years, 6 months ago (2013-05-29 00:28:44 UTC) #8
please use gerrit instead
On 2013/05/29 00:28:44, Julien Tinnes wrote: > On 2013/05/29 00:16:21, Rouslan Solomakhin wrote: > > ...
7 years, 6 months ago (2013-05-29 00:37:43 UTC) #9
please use gerrit instead
Julien: PTAL. I'm filtering out the markers with invalid offsets.
7 years, 6 months ago (2013-05-29 17:07:19 UTC) #10
jln (very slow on Chromium)
chrome/common/spellcheck_messages.h lgtm
7 years, 6 months ago (2013-05-29 23:56:26 UTC) #11
jln (very slow on Chromium)
(not mandatory comments) https://chromiumcodereview.appspot.com/15861019/diff/57001/chrome/browser/spellchecker/spellcheck_message_filter.cc File chrome/browser/spellchecker/spellcheck_message_filter.cc (right): https://chromiumcodereview.appspot.com/15861019/diff/57001/chrome/browser/spellchecker/spellcheck_message_filter.cc#newcode120 chrome/browser/spellchecker/spellcheck_message_filter.cc:120: markers.erase( Do you want to add ...
7 years, 6 months ago (2013-05-29 23:56:40 UTC) #12
please use gerrit instead
https://chromiumcodereview.appspot.com/15861019/diff/57001/chrome/browser/spellchecker/spellcheck_message_filter.cc File chrome/browser/spellchecker/spellcheck_message_filter.cc (right): https://chromiumcodereview.appspot.com/15861019/diff/57001/chrome/browser/spellchecker/spellcheck_message_filter.cc#newcode120 chrome/browser/spellchecker/spellcheck_message_filter.cc:120: markers.erase( On 2013/05/29 23:56:40, Julien Tinnes wrote: > Do ...
7 years, 6 months ago (2013-05-30 00:14:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/15861019/84001
7 years, 6 months ago (2013-05-30 00:18:40 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-30 01:05:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/15861019/12003
7 years, 6 months ago (2013-05-30 17:11:31 UTC) #16
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=133164
7 years, 6 months ago (2013-05-30 18:10:33 UTC) #17
please use gerrit instead
On 2013/05/30 18:10:33, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 6 months ago (2013-05-30 19:06:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/15861019/12003
7 years, 6 months ago (2013-05-30 19:06:44 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 21:37:06 UTC) #20
Message was sent while issue was closed.
Change committed as 203227

Powered by Google App Engine
This is Rietveld 408576698