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

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)

Created:
4 years, 1 month ago by brettw
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, timvolodine, rlp+watch_chromium.org, rouslan+spell_chromium.org, asvitkine+watch_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert spellcheck to a buildflag header. Move the build variables from build/config/features.gni to a new header in components/spellcheck Removes the global defines for ENABLE_SPELLCHECK and USE_BROWSER_SPELLCHECKER and move them to a generated header. R=rouslan TBR=mkwst@chromium.org (_messages.h file) Committed: https://crrev.com/41446f6842fd10bb4671afb4ecd700ab6db20158 Cr-Commit-Position: refs/heads/master@{#431962}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : Fixes #

Total comments: 4

Patch Set 4 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -97 lines) Patch
M android_webview/BUILD.gn View 2 chunks +4 lines, -2 lines 0 comments Download
M android_webview/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M android_webview/native/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/native/android_webview_jni_registrar.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.h View 2 chunks +3 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M build/config/BUILD.gn View 1 chunk +0 lines, -6 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/browser_context_keyed_service_factories.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/spelling_menu_observer.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/chrome_sync_client.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/DEPS View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/base/chrome_render_view_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
A components/spellcheck/BUILD.gn View 1 chunk +17 lines, -0 lines 0 comments Download
M components/spellcheck/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/spellcheck/common/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M components/spellcheck/common/spellcheck_features.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/spellcheck/common/spellcheck_features.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/spellcheck/common/spellcheck_message_generator.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/spellcheck/common/spellcheck_messages.h View 1 5 chunks +6 lines, -5 lines 0 comments Download
M components/spellcheck/common/spellcheck_switches.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/spellcheck/common/spellcheck_switches.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/spellcheck/renderer/BUILD.gn View 2 chunks +4 lines, -1 line 0 comments Download
M components/spellcheck/renderer/hunspell_engine.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M components/spellcheck/renderer/spellcheck.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/spellcheck/renderer/spellcheck.cc View 1 6 chunks +6 lines, -5 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider.cc View 1 7 chunks +9 lines, -8 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider_test.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
A components/spellcheck/spellcheck_build_features.gni View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
brettw
4 years, 1 month ago (2016-11-14 19:12:50 UTC) #2
brettw
Fixes
4 years, 1 month ago (2016-11-14 19:13:35 UTC) #3
please use gerrit instead
lgtm % a couple of fixes https://codereview.chromium.org/2495193003/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/2495193003/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1: BUILDFLAG Copyright 2014 ...
4 years, 1 month ago (2016-11-14 19:19:08 UTC) #6
brettw
Both done, thanks.
4 years, 1 month ago (2016-11-14 19:29:11 UTC) #9
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/2495193003/40001
4 years, 1 month ago (2016-11-14 19:29:56 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/303568)
4 years, 1 month ago (2016-11-14 19:46:19 UTC) #12
groby-ooo-7-16
Thank you for the cleanup! A few nits and questions, but please consider these orthogonal ...
4 years, 1 month ago (2016-11-14 20:05:28 UTC) #14
brettw
Comment
4 years, 1 month ago (2016-11-14 20:41:57 UTC) #15
brettw
https://codereview.chromium.org/2495193003/diff/40001/components/spellcheck/spellcheck_build_features.gni File components/spellcheck/spellcheck_build_features.gni (right): https://codereview.chromium.org/2495193003/diff/40001/components/spellcheck/spellcheck_build_features.gni#newcode6 components/spellcheck/spellcheck_build_features.gni:6: enable_spellcheck = !is_ios On 2016/11/14 20:05:28, groby wrote: > ...
4 years, 1 month ago (2016-11-14 20:42:53 UTC) #18
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/2495193003/60001
4 years, 1 month ago (2016-11-14 20:43:56 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/303649)
4 years, 1 month ago (2016-11-14 20:56:03 UTC) #21
brettw
+TBR mkwst for messages.h file.
4 years, 1 month ago (2016-11-14 21:09:04 UTC) #24
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/2495193003/60001
4 years, 1 month ago (2016-11-14 21:12:40 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-14 23:23:55 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 23:33:43 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/41446f6842fd10bb4671afb4ecd700ab6db20158
Cr-Commit-Position: refs/heads/master@{#431962}

Powered by Google App Engine
This is Rietveld 408576698