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

Issue 1602303002: [mac] Send the system spellchecker language to the renderer. (Closed)

Created:
4 years, 11 months ago by please use gerrit instead
Modified:
4 years, 10 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mac] Send the system spellchecker language to the renderer. The browser process sends the system spellchecker language to the renderer to initialize its text breaker. The text breaker is used when providing suggestions in the context menu. If the text breaker is not initialized, the menu has no suggestions. The browser saves the system spellchecker language into the unsynced preference prefs::kSpellCheckDictionaries. This preference is also used by the spelling service client. If the preference is empty, then the client is disabled. BUG=577835 Committed: https://crrev.com/ff659a207ba7a0c42825963817cf3d342d00251e Cr-Commit-Position: refs/heads/master@{#371605}

Patch Set 1 #

Total comments: 4

Patch Set 2 #

Total comments: 2

Patch Set 3 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M chrome/browser/spellchecker/spellcheck_platform.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_android.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_mac.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 2 3 chunks +21 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
please use gerrit instead
Rachel, PTAL.
4 years, 11 months ago (2016-01-19 22:33:39 UTC) #8
groby-ooo-7-16
https://codereview.chromium.org/1602303002/diff/1/chrome/browser/spellchecker/spellcheck_platform_mac.mm File chrome/browser/spellchecker/spellcheck_platform_mac.mm (right): https://codereview.chromium.org/1602303002/diff/1/chrome/browser/spellchecker/spellcheck_platform_mac.mm#newcode113 chrome/browser/spellchecker/spellcheck_platform_mac.mm:113: return base::SysNSStringToUTF8([SharedSpellChecker() language]); Don't you want to call ConvertLanguageCodeFromMac? ...
4 years, 11 months ago (2016-01-19 23:54:14 UTC) #9
please use gerrit instead
Rachel, ptal patch 2. https://codereview.chromium.org/1602303002/diff/1/chrome/browser/spellchecker/spellcheck_platform_mac.mm File chrome/browser/spellchecker/spellcheck_platform_mac.mm (right): https://codereview.chromium.org/1602303002/diff/1/chrome/browser/spellchecker/spellcheck_platform_mac.mm#newcode113 chrome/browser/spellchecker/spellcheck_platform_mac.mm:113: return base::SysNSStringToUTF8([SharedSpellChecker() language]); On 2016/01/19 ...
4 years, 11 months ago (2016-01-20 02:26:00 UTC) #10
groby-ooo-7-16
LGTM w/ documentation nit. https://codereview.chromium.org/1602303002/diff/20001/chrome/browser/spellchecker/spellcheck_service.cc File chrome/browser/spellchecker/spellcheck_service.cc (right): https://codereview.chromium.org/1602303002/diff/20001/chrome/browser/spellchecker/spellcheck_service.cc#newcode55 chrome/browser/spellchecker/spellcheck_service.cc:55: first_of_dictionaries = dictionaries_pref.GetValue().front(); Can you ...
4 years, 11 months ago (2016-01-26 01:30:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1602303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1602303002/40001
4 years, 10 months ago (2016-01-26 20:54:24 UTC) #15
please use gerrit instead
Sending to cq. https://codereview.chromium.org/1602303002/diff/20001/chrome/browser/spellchecker/spellcheck_service.cc File chrome/browser/spellchecker/spellcheck_service.cc (right): https://codereview.chromium.org/1602303002/diff/20001/chrome/browser/spellchecker/spellcheck_service.cc#newcode55 chrome/browser/spellchecker/spellcheck_service.cc:55: first_of_dictionaries = dictionaries_pref.GetValue().front(); On 2016/01/26 01:30:10, ...
4 years, 10 months ago (2016-01-26 20:54:34 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-26 21:40:03 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-01-26 21:41:28 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ff659a207ba7a0c42825963817cf3d342d00251e
Cr-Commit-Position: refs/heads/master@{#371605}

Powered by Google App Engine
This is Rietveld 408576698