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

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

Issue 1206163002: Remove chrome://flags/#enable-app-list, move kEnableAppList to app_list:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix include Created 5 years, 6 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 IDS_FLAGS_DELEGATED_RENDERER_NAME, 1138 IDS_FLAGS_DELEGATED_RENDERER_NAME,
1139 IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION, 1139 IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION,
1140 kOsAndroid, // TODO(ccameron) Add mac support soon. 1140 kOsAndroid, // TODO(ccameron) Add mac support soon.
1141 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDelegatedRenderer, 1141 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDelegatedRenderer,
1142 switches::kDisableDelegatedRenderer)}, 1142 switches::kDisableDelegatedRenderer)},
1143 #endif 1143 #endif
1144 {"max-tiles-for-interest-area", 1144 {"max-tiles-for-interest-area",
1145 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME, 1145 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME,
1146 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION, 1146 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION,
1147 kOsAll, 1147 kOsAll,
1148 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices) 1148 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices)},
1149 },
1150 {"enable-offer-store-unmasked-wallet-cards", 1149 {"enable-offer-store-unmasked-wallet-cards",
1151 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS, 1150 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS,
1152 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS_DESCRIPTION, 1151 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS_DESCRIPTION,
1153 kOsAll, 1152 kOsAll,
1154 ENABLE_DISABLE_VALUE_TYPE( 1153 ENABLE_DISABLE_VALUE_TYPE(
1155 autofill::switches::kEnableOfferStoreUnmaskedWalletCards, 1154 autofill::switches::kEnableOfferStoreUnmaskedWalletCards,
1156 autofill::switches::kDisableOfferStoreUnmaskedWalletCards)}, 1155 autofill::switches::kDisableOfferStoreUnmaskedWalletCards)},
1157 {"enable-offline-auto-reload", 1156 {"enable-offline-auto-reload",
1158 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_NAME, 1157 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_NAME,
1159 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_DESCRIPTION, 1158 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_DESCRIPTION,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 {"enable-iframe-based-signin", 1336 {"enable-iframe-based-signin",
1338 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_NAME, 1337 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_NAME,
1339 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_DESCRIPTION, 1338 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_DESCRIPTION,
1340 kOsMac | kOsWin | kOsLinux, 1339 kOsMac | kOsWin | kOsLinux,
1341 SINGLE_VALUE_TYPE(switches::kEnableIframeBasedSignin)}, 1340 SINGLE_VALUE_TYPE(switches::kEnableIframeBasedSignin)},
1342 {"enable-google-profile-info", 1341 {"enable-google-profile-info",
1343 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_NAME, 1342 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_NAME,
1344 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_DESCRIPTION, 1343 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_DESCRIPTION,
1345 kOsMac | kOsWin | kOsLinux, 1344 kOsMac | kOsWin | kOsLinux,
1346 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)}, 1345 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)},
1347 {"reset-app-list-install-state",
1348 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME,
1349 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION,
1350 kOsMac | kOsWin | kOsLinux,
1351 SINGLE_VALUE_TYPE(switches::kResetAppListInstallState)},
1352 #if defined(ENABLE_APP_LIST)
1353 #if defined(OS_LINUX)
1354 {// This is compiled out on non-Linux platforms because otherwise it would
1355 // be
1356 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing.
1357 // TODO(mgiuca): Remove the #if when Aura is the default on Linux.
1358 "enable-app-list",
1359 IDS_FLAGS_ENABLE_APP_LIST_NAME,
1360 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION,
1361 kOsLinux,
1362 SINGLE_VALUE_TYPE(switches::kEnableAppList)},
1363 #endif
1364 #if defined(ENABLE_EXTENSIONS) 1346 #if defined(ENABLE_EXTENSIONS)
1365 {"enable-surface-worker", 1347 {"enable-surface-worker",
tapted 2015/06/25 06:07:38 note this was also under #ifdef ENABLE_APP_LIST, w
Matt Giuca 2015/06/26 08:15:16 Acknowledged.
1366 IDS_FLAGS_ENABLE_SURFACE_WORKER_NAME, 1348 IDS_FLAGS_ENABLE_SURFACE_WORKER_NAME,
1367 IDS_FLAGS_ENABLE_SURFACE_WORKER_DESCRIPTION, 1349 IDS_FLAGS_ENABLE_SURFACE_WORKER_DESCRIPTION,
1368 kOsDesktop, 1350 kOsDesktop,
1369 SINGLE_VALUE_TYPE(extensions::switches::kEnableSurfaceWorker)}, 1351 SINGLE_VALUE_TYPE(extensions::switches::kEnableSurfaceWorker)},
1370 #endif 1352 #endif
1353 #if defined(ENABLE_APP_LIST)
1354 {"reset-app-list-install-state",
1355 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME,
1356 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION,
1357 kOsMac | kOsWin | kOsLinux,
1358 SINGLE_VALUE_TYPE(app_list::switches::kResetAppListInstallState)},
1371 {"disable-drive-apps-in-app-list", 1359 {"disable-drive-apps-in-app-list",
1372 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_NAME, 1360 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_NAME,
1373 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_DESCRIPTION, 1361 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_DESCRIPTION,
1374 kOsCrOS, 1362 kOsCrOS,
1375 SINGLE_VALUE_TYPE(app_list::switches::kDisableDriveAppsInAppList)}, 1363 SINGLE_VALUE_TYPE(app_list::switches::kDisableDriveAppsInAppList)},
1376 #endif 1364 #endif
1377 #if defined(OS_ANDROID) 1365 #if defined(OS_ANDROID)
1378 {"enable-accessibility-tab-switcher", 1366 {"enable-accessibility-tab-switcher",
1379 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_NAME, 1367 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_NAME,
1380 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION, 1368 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION,
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2641 } 2629 }
2642 2630
2643 const Experiment* GetExperiments(size_t* count) { 2631 const Experiment* GetExperiments(size_t* count) {
2644 *count = num_experiments; 2632 *count = num_experiments;
2645 return experiments; 2633 return experiments;
2646 } 2634 }
2647 2635
2648 } // namespace testing 2636 } // namespace testing
2649 2637
2650 } // namespace about_flags 2638 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698