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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "components/nacl/common/nacl_switches.h" 45 #include "components/nacl/common/nacl_switches.h"
46 #include "components/ntp_snippets/ntp_snippets_constants.h" 46 #include "components/ntp_snippets/ntp_snippets_constants.h"
47 #include "components/ntp_tiles/switches.h" 47 #include "components/ntp_tiles/switches.h"
48 #include "components/offline_pages/offline_page_feature.h" 48 #include "components/offline_pages/offline_page_feature.h"
49 #include "components/omnibox/browser/omnibox_switches.h" 49 #include "components/omnibox/browser/omnibox_switches.h"
50 #include "components/password_manager/core/common/password_manager_features.h" 50 #include "components/password_manager/core/common/password_manager_features.h"
51 #include "components/proximity_auth/switches.h" 51 #include "components/proximity_auth/switches.h"
52 #include "components/search/search_switches.h" 52 #include "components/search/search_switches.h"
53 #include "components/security_state/switches.h" 53 #include "components/security_state/switches.h"
54 #include "components/signin/core/common/signin_switches.h" 54 #include "components/signin/core/common/signin_switches.h"
55 #include "components/spellcheck/common/spellcheck_switches.h"
56 #include "components/ssl_config/ssl_config_switches.h" 55 #include "components/ssl_config/ssl_config_switches.h"
57 #include "components/sync_driver/sync_driver_switches.h" 56 #include "components/sync_driver/sync_driver_switches.h"
58 #include "components/tracing/common/tracing_switches.h" 57 #include "components/tracing/common/tracing_switches.h"
59 #include "components/translate/core/browser/translate_prefs.h" 58 #include "components/translate/core/browser/translate_prefs.h"
60 #include "components/version_info/version_info.h" 59 #include "components/version_info/version_info.h"
61 #include "content/public/browser/user_metrics.h" 60 #include "content/public/browser/user_metrics.h"
62 #include "content/public/common/content_features.h" 61 #include "content/public/common/content_features.h"
63 #include "content/public/common/content_switches.h" 62 #include "content/public/common/content_switches.h"
64 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h" 63 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h"
65 #include "content/public/common/features.h" 64 #include "content/public/common/features.h"
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, 1229 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)},
1231 #endif 1230 #endif
1232 #if defined(TOOLKIT_VIEWS) 1231 #if defined(TOOLKIT_VIEWS)
1233 {"disable-hide-inactive-stacked-tab-close-buttons", 1232 {"disable-hide-inactive-stacked-tab-close-buttons",
1234 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_NAME, 1233 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_NAME,
1235 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_DESCRIPTION, 1234 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_DESCRIPTION,
1236 kOsCrOS | kOsWin | kOsLinux, 1235 kOsCrOS | kOsWin | kOsLinux,
1237 SINGLE_DISABLE_VALUE_TYPE( 1236 SINGLE_DISABLE_VALUE_TYPE(
1238 switches::kDisableHideInactiveStackedTabCloseButtons)}, 1237 switches::kDisableHideInactiveStackedTabCloseButtons)},
1239 #endif 1238 #endif
1240 #if defined(ENABLE_SPELLCHECK)
1241 {"enable-spelling-feedback-field-trial",
1242 IDS_FLAGS_SPELLING_FEEDBACK_FIELD_TRIAL_NAME,
1243 IDS_FLAGS_SPELLING_FEEDBACK_FIELD_TRIAL_DESCRIPTION, kOsAll,
1244 SINGLE_VALUE_TYPE(
1245 spellcheck::switches::kEnableSpellingFeedbackFieldTrial)},
1246 #endif
1247 {"enable-webgl-draft-extensions", IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_NAME, 1239 {"enable-webgl-draft-extensions", IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_NAME,
1248 IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_DESCRIPTION, kOsAll, 1240 IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_DESCRIPTION, kOsAll,
1249 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)}, 1241 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)},
1250 {"enable-new-profile-management", IDS_FLAGS_NEW_PROFILE_MANAGEMENT_NAME, 1242 {"enable-new-profile-management", IDS_FLAGS_NEW_PROFILE_MANAGEMENT_NAME,
1251 IDS_FLAGS_NEW_PROFILE_MANAGEMENT_DESCRIPTION, kOsAll, 1243 IDS_FLAGS_NEW_PROFILE_MANAGEMENT_DESCRIPTION, kOsAll,
1252 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewProfileManagement, 1244 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewProfileManagement,
1253 switches::kDisableNewProfileManagement)}, 1245 switches::kDisableNewProfileManagement)},
1254 {"enable-account-consistency", IDS_FLAGS_ACCOUNT_CONSISTENCY_NAME, 1246 {"enable-account-consistency", IDS_FLAGS_ACCOUNT_CONSISTENCY_NAME,
1255 IDS_FLAGS_ACCOUNT_CONSISTENCY_DESCRIPTION, kOsAll, 1247 IDS_FLAGS_ACCOUNT_CONSISTENCY_DESCRIPTION, kOsAll,
1256 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAccountConsistency, 1248 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAccountConsistency,
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
2226 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2218 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2227 2219
2228 const FeatureEntry* GetFeatureEntries(size_t* count) { 2220 const FeatureEntry* GetFeatureEntries(size_t* count) {
2229 *count = arraysize(kFeatureEntries); 2221 *count = arraysize(kFeatureEntries);
2230 return kFeatureEntries; 2222 return kFeatureEntries;
2231 } 2223 }
2232 2224
2233 } // namespace testing 2225 } // namespace testing
2234 2226
2235 } // namespace about_flags 2227 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698