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

Issue 11362063: Editing the custom spelling dictionary (Closed)

Created:
8 years, 1 month ago by please use gerrit instead
Modified:
8 years, 1 month ago
CC:
chromium-reviews, arv (Not doing code reviews), groby-ooo-7-16
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Enable users to alter their custom dictionary from an overlay on chrome://settings/editDictionary. This overlay can also be accessed through: Settings |_Show advanced settings... ..|_Language and spell-checker settings... ....|_Custom spelling dictionary When a user types an unknown word into a textarea, the browser underlines this word as a misspelling. The user can right-click on this word and select "Add to Dictionary". If the user made a mistake, the user needs a way to remove a word from their custom dictionary. This CL provides this functionality. Automated tests are in https://codereview.chromium.org/11280013/ and https://codereview.chromium.org/11308076/. BUG=18238 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168760

Patch Set 1 : #

Total comments: 20

Patch Set 2 : Address comments #

Patch Set 3 : Duplicate handling #

Patch Set 4 : Update DEPS #

Patch Set 5 : Merge master #

Patch Set 6 : Fix interactive_ui_tests #

Total comments: 2

Patch Set 7 : Exclude custom dictionary WebUI from mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+684 lines, -113 lines) Patch
M DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/language_dictionary_overlay.css View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/language_dictionary_overlay.html View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/language_dictionary_overlay.js View 1 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/language_dictionary_overlay_word_list.js View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/language_options.css View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/language_options.html View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/language_options.js View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 4 5 6 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary.h View 1 2 1 chunk +46 lines, -12 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary.cc View 1 2 4 chunks +135 lines, -36 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.h View 1 2 3 4 4 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 2 3 4 5 chunks +39 lines, -37 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc View 1 2 3 4 5 1 chunk +138 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/spellcheck_messages.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/hunspell_engine.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/hunspell_engine.cc View 3 chunks +18 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck.cc View 1 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spelling_engine.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
please use gerrit instead
Will need the following patch to src/third_party/hunspell to enable removing words from the dictionary: diff ...
8 years, 1 month ago (2012-11-10 01:59:54 UTC) #1
please use gerrit instead
cpu - chrome/app/generated_resources.grd csilv - chrome/browser/resources/options chrome/browser/ui/webui/options rlp - chrome/browser/spellchecker chrome/renderer/spellchecker jhawkins - chrome/chrome_browser_ui.gypi cdn ...
8 years, 1 month ago (2012-11-14 18:03:41 UTC) #2
James Hawkins
gypi lgtm
8 years, 1 month ago (2012-11-14 18:31:25 UTC) #3
rpetterson
http://codereview.chromium.org/11362063/diff/8081/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc File chrome/browser/spellchecker/spellcheck_custom_dictionary.cc (right): http://codereview.chromium.org/11362063/diff/8081/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc#newcode56 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc:56: void SpellcheckCustomDictionary::LoadDictionaryIntoCustomWordList( Why doesn't this function notify observers of ...
8 years, 1 month ago (2012-11-14 19:47:09 UTC) #4
csilv
https://chromiumcodereview.appspot.com/11362063/diff/8081/chrome/browser/resources/options/language_dictionary_overlay.js File chrome/browser/resources/options/language_dictionary_overlay.js (right): https://chromiumcodereview.appspot.com/11362063/diff/8081/chrome/browser/resources/options/language_dictionary_overlay.js#newcode11 chrome/browser/resources/options/language_dictionary_overlay.js:11: OptionsPage.call(this, 'dictionary', nit: I think 'editDictionary' might be a ...
8 years, 1 month ago (2012-11-14 20:01:52 UTC) #5
cpu_(ooo_6.6-7.5)
grd lgtm. http://codereview.chromium.org/11362063/diff/8081/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/11362063/diff/8081/chrome/app/generated_resources.grd#newcode6882 chrome/app/generated_resources.grd:6882: + Custom spelling dictionary The word 'overlay' ...
8 years, 1 month ago (2012-11-14 20:25:00 UTC) #6
Cris Neckar
IPC changes lgtm
8 years, 1 month ago (2012-11-14 20:33:03 UTC) #7
csilv
Rouslan, I'd like to see a more verbose changelist description that would give someone a ...
8 years, 1 month ago (2012-11-14 20:54:19 UTC) #8
please use gerrit instead
On 2012/11/14 20:54:19, csilv wrote: > Rouslan, I'd like to see a more verbose changelist ...
8 years, 1 month ago (2012-11-14 21:27:30 UTC) #9
please use gerrit instead
csilv, rpetterson: PTAL. https://codereview.chromium.org/11362063/diff/8081/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11362063/diff/8081/chrome/app/generated_resources.grd#newcode6882 chrome/app/generated_resources.grd:6882: + Custom spelling dictionary On 2012/11/14 ...
8 years, 1 month ago (2012-11-14 22:54:45 UTC) #10
csilv
lgtm
8 years, 1 month ago (2012-11-15 01:12:38 UTC) #11
please use gerrit instead
rpetterson: PTAL. - Duplicates are no longer added to the dictionary file. - No longer ...
8 years, 1 month ago (2012-11-15 21:36:07 UTC) #12
rpetterson
LGTM
8 years, 1 month ago (2012-11-15 23:01:05 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/11362063/30006
8 years, 1 month ago (2012-11-15 23:08:47 UTC) #14
commit-bot: I haz the power
Retried try job too often for step(s) content_unittests
8 years, 1 month ago (2012-11-15 23:55:11 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/11362063/30006
8 years, 1 month ago (2012-11-16 16:48:57 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/browser/spellchecker/spellcheck_service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-16 16:49:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/11362063/38007
8 years, 1 month ago (2012-11-16 17:57:24 UTC) #18
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 1 month ago (2012-11-16 19:00:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/11362063/26039
8 years, 1 month ago (2012-11-16 19:33:53 UTC) #20
Dan Beam
https://codereview.chromium.org/11362063/diff/26039/chrome/browser/resources/options/language_dictionary_overlay.js File chrome/browser/resources/options/language_dictionary_overlay.js (right): https://codereview.chromium.org/11362063/diff/26039/chrome/browser/resources/options/language_dictionary_overlay.js#newcode9 chrome/browser/resources/options/language_dictionary_overlay.js:9: FYI: you might want to add JSDoc here in ...
8 years, 1 month ago (2012-11-16 20:02:27 UTC) #21
please use gerrit instead
https://codereview.chromium.org/11362063/diff/26039/chrome/browser/resources/options/language_dictionary_overlay.js File chrome/browser/resources/options/language_dictionary_overlay.js (right): https://codereview.chromium.org/11362063/diff/26039/chrome/browser/resources/options/language_dictionary_overlay.js#newcode9 chrome/browser/resources/options/language_dictionary_overlay.js:9: On 2012/11/16 20:02:27, Dan Beam wrote: > FYI: you ...
8 years, 1 month ago (2012-11-16 20:09:58 UTC) #22
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 1 month ago (2012-11-17 08:29:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/11362063/26039
8 years, 1 month ago (2012-11-17 16:44:57 UTC) #24
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 1 month ago (2012-11-17 20:06:17 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/11362063/27018
8 years, 1 month ago (2012-11-20 06:36:38 UTC) #26
commit-bot: I haz the power
8 years, 1 month ago (2012-11-20 08:26:48 UTC) #27
Change committed as 168760

Powered by Google App Engine
This is Rietveld 408576698