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

Issue 2177343002: Componentize spellcheck [2]: move common/ files to component. (Closed)

Created:
4 years, 5 months ago by timvolodine
Modified:
4 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, michaelpg+watch-options_chromium.org, yusukes+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, please use gerrit instead
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize spellcheck [2]: move common/ files to component. Move chrome/common spellcheck files to component, update spellcheck namespace, update dependencies and build files, reformat. The main motivation behind the componentization of the spellcheck feature is that we want to make it available in Android WebView. Preceding 'componentize' patch: [1] https://codereview.chromium.org/2166683003/ Note: Skipping presubmit due to a warning about IPC_ENUM_TRAITS, which is to be addressed separately. BUG=583616, 629609 NOPRESUBMIT=true Committed: https://crrev.com/51b39214e16874c2220dc5f024503fe7ab651920 Cr-Commit-Position: refs/heads/master@{#408442}

Patch Set 1 #

Patch Set 2 : fix compile on trybots #

Patch Set 3 : fix mac trybots, git cl format #

Patch Set 4 : fix mac bots a bit more #

Total comments: 4

Patch Set 5 : address formatting comments #

Total comments: 4

Patch Set 6 : move message generator to component #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -779 lines) Patch
M chrome/browser/extensions/api/language_settings_private/language_settings_private_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/spelling_menu_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/feedback_sender.cc View 1 2 5 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/spellchecker/feedback_sender_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary.cc View 1 2 5 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc View 1 2 21 chunks +57 lines, -81 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform_android.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform_mac.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform_mac_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_platform_mac_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_mac.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 2 5 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_service_browsertest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker/spellchecker_session_bridge_android.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spelling_service_client.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/spellchecker/spelling_service_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc View 1 2 2 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/language_options_handler_common.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/common/spellcheck_bdict_language.h View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/common/spellcheck_common.h View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/common/spellcheck_common.cc View 1 chunk +0 lines, -198 lines 0 comments Download
D chrome/common/spellcheck_marker.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/common/spellcheck_messages.h View 1 chunk +0 lines, -148 lines 0 comments Download
D chrome/common/spellcheck_result.h View 1 chunk +0 lines, -43 lines 0 comments Download
M chrome/renderer/spellchecker/hunspell_engine.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/spellchecker/hunspell_engine.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/platform_spelling_engine.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_unittest.cc View 1 2 6 chunks +11 lines, -12 lines 0 comments Download
M components/spellcheck.gypi View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M components/spellcheck/common/BUILD.gn View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
A + components/spellcheck/common/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/spellcheck/common/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/spellcheck/common/spellcheck_bdict_language.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/spellcheck/common/spellcheck_common.h View 3 chunks +5 lines, -7 lines 0 comments Download
A + components/spellcheck/common/spellcheck_common.cc View 1 2 3 4 7 chunks +9 lines, -17 lines 0 comments Download
A + components/spellcheck/common/spellcheck_marker.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
A + components/spellcheck/common/spellcheck_message_generator.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A + components/spellcheck/common/spellcheck_message_generator.cc View 1 2 3 4 5 1 chunk +8 lines, -8 lines 0 comments Download
A + components/spellcheck/common/spellcheck_messages.h View 1 2 4 chunks +10 lines, -12 lines 0 comments Download
A + components/spellcheck/common/spellcheck_result.h View 2 chunks +3 lines, -3 lines 0 comments Download
M tools/ipc_fuzzer/message_lib/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/ipc_fuzzer/message_lib/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/ipc_fuzzer/message_lib/all_messages.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 58 (41 generated)
timvolodine
The presubmit bot fails because IPC_ENUM_TRAITS in spellcheck_messages.h has been deprecated. However fixing this is ...
4 years, 4 months ago (2016-07-26 18:44:47 UTC) #19
timvolodine
please take a look
4 years, 4 months ago (2016-07-26 18:46:02 UTC) #21
timvolodine
+tsepez@: for spellcheck_messages.h
4 years, 4 months ago (2016-07-26 18:48:24 UTC) #23
Tom Sepez
messages LGTM
4 years, 4 months ago (2016-07-26 21:07:47 UTC) #25
groby-ooo-7-16
spellcheck RS LGTM % formatting Can you do a follow up CL for IPC_ENUM_TRAITS so ...
4 years, 4 months ago (2016-07-26 21:33:31 UTC) #26
blundell
drive-by nit: Please add the motivation to the CL description ("enable this feature to be ...
4 years, 4 months ago (2016-07-27 08:02:40 UTC) #29
timvolodine
thanks for the reviews! groby@: yes, I'll try to look into IPC_ENUM_TRAITS separately. blundell@: updated ...
4 years, 4 months ago (2016-07-27 14:10:34 UTC) #37
blundell
Thanks!
4 years, 4 months ago (2016-07-27 14:13:21 UTC) #38
timvolodine
+jam@: for RS to cover the remaining few chrome/browser and chrome/common bits
4 years, 4 months ago (2016-07-27 14:15:44 UTC) #40
timvolodine
+dbeam@: as owner for chrome/browser/ui/webui/options/language_options_handler_common.cc
4 years, 4 months ago (2016-07-27 14:24:24 UTC) #42
jam
lgtm with the generator change https://codereview.chromium.org/2177343002/diff/80001/chrome/common/DEPS File chrome/common/DEPS (right): https://codereview.chromium.org/2177343002/diff/80001/chrome/common/DEPS#newcode27 chrome/common/DEPS:27: "+components/spellcheck/common", this shouldn't be ...
4 years, 4 months ago (2016-07-27 17:40:36 UTC) #43
timvolodine
thanks jam@, addressed the generator comments. https://codereview.chromium.org/2177343002/diff/80001/chrome/common/DEPS File chrome/common/DEPS (right): https://codereview.chromium.org/2177343002/diff/80001/chrome/common/DEPS#newcode27 chrome/common/DEPS:27: "+components/spellcheck/common", On 2016/07/27 ...
4 years, 4 months ago (2016-07-28 16:52:49 UTC) #48
timvolodine
stevenjb@ : as owner for chrome/browser/ui/webui/options/language_options_handler_common.cc
4 years, 4 months ago (2016-07-28 18:14:58 UTC) #50
stevenjb
chrome/browser/ui/webui/options lgtm
4 years, 4 months ago (2016-07-28 18:20:00 UTC) #51
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/2177343002/100001
4 years, 4 months ago (2016-07-28 18:45:53 UTC) #54
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-07-28 18:47:33 UTC) #56
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 18:48:58 UTC) #58
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/51b39214e16874c2220dc5f024503fe7ab651920
Cr-Commit-Position: refs/heads/master@{#408442}

Powered by Google App Engine
This is Rietveld 408576698