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

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: rebase Created 5 years, 5 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 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 IDS_FLAGS_DELEGATED_RENDERER_NAME, 1148 IDS_FLAGS_DELEGATED_RENDERER_NAME,
1149 IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION, 1149 IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION,
1150 kOsAndroid, // TODO(ccameron) Add mac support soon. 1150 kOsAndroid, // TODO(ccameron) Add mac support soon.
1151 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDelegatedRenderer, 1151 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDelegatedRenderer,
1152 switches::kDisableDelegatedRenderer)}, 1152 switches::kDisableDelegatedRenderer)},
1153 #endif 1153 #endif
1154 {"max-tiles-for-interest-area", 1154 {"max-tiles-for-interest-area",
1155 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME, 1155 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME,
1156 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION, 1156 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION,
1157 kOsAll, 1157 kOsAll,
1158 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices) 1158 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices)},
1159 },
1160 {"enable-offer-store-unmasked-wallet-cards", 1159 {"enable-offer-store-unmasked-wallet-cards",
1161 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS, 1160 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS,
1162 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS_DESCRIPTION, 1161 IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS_DESCRIPTION,
1163 kOsAll, 1162 kOsAll,
1164 ENABLE_DISABLE_VALUE_TYPE( 1163 ENABLE_DISABLE_VALUE_TYPE(
1165 autofill::switches::kEnableOfferStoreUnmaskedWalletCards, 1164 autofill::switches::kEnableOfferStoreUnmaskedWalletCards,
1166 autofill::switches::kDisableOfferStoreUnmaskedWalletCards)}, 1165 autofill::switches::kDisableOfferStoreUnmaskedWalletCards)},
1167 {"enable-offline-auto-reload", 1166 {"enable-offline-auto-reload",
1168 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_NAME, 1167 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_NAME,
1169 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_DESCRIPTION, 1168 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_DESCRIPTION,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 {"enable-iframe-based-signin", 1346 {"enable-iframe-based-signin",
1348 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_NAME, 1347 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_NAME,
1349 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_DESCRIPTION, 1348 IDS_FLAGS_ENABLE_IFRAME_BASED_SIGNIN_DESCRIPTION,
1350 kOsMac | kOsWin | kOsLinux, 1349 kOsMac | kOsWin | kOsLinux,
1351 SINGLE_VALUE_TYPE(switches::kEnableIframeBasedSignin)}, 1350 SINGLE_VALUE_TYPE(switches::kEnableIframeBasedSignin)},
1352 {"enable-google-profile-info", 1351 {"enable-google-profile-info",
1353 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_NAME, 1352 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_NAME,
1354 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_DESCRIPTION, 1353 IDS_FLAGS_ENABLE_GOOGLE_PROFILE_INFO_DESCRIPTION,
1355 kOsMac | kOsWin | kOsLinux, 1354 kOsMac | kOsWin | kOsLinux,
1356 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)}, 1355 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)},
1357 {"reset-app-list-install-state",
1358 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME,
1359 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION,
1360 kOsMac | kOsWin | kOsLinux,
1361 SINGLE_VALUE_TYPE(switches::kResetAppListInstallState)},
1362 #if defined(ENABLE_APP_LIST)
1363 #if defined(OS_LINUX)
1364 {// This is compiled out on non-Linux platforms because otherwise it would
1365 // be
1366 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing.
1367 // TODO(mgiuca): Remove the #if when Aura is the default on Linux.
1368 "enable-app-list",
1369 IDS_FLAGS_ENABLE_APP_LIST_NAME,
1370 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION,
1371 kOsLinux,
1372 SINGLE_VALUE_TYPE(switches::kEnableAppList)},
1373 #endif
1374 #if defined(ENABLE_EXTENSIONS) 1356 #if defined(ENABLE_EXTENSIONS)
1375 {"enable-surface-worker", 1357 {"enable-surface-worker",
1376 IDS_FLAGS_ENABLE_SURFACE_WORKER_NAME, 1358 IDS_FLAGS_ENABLE_SURFACE_WORKER_NAME,
1377 IDS_FLAGS_ENABLE_SURFACE_WORKER_DESCRIPTION, 1359 IDS_FLAGS_ENABLE_SURFACE_WORKER_DESCRIPTION,
1378 kOsDesktop, 1360 kOsDesktop,
1379 SINGLE_VALUE_TYPE(extensions::switches::kEnableSurfaceWorker)}, 1361 SINGLE_VALUE_TYPE(extensions::switches::kEnableSurfaceWorker)},
1380 #endif 1362 #endif
1363 #if defined(ENABLE_APP_LIST)
1364 {"reset-app-list-install-state",
1365 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME,
1366 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION,
1367 kOsMac | kOsWin | kOsLinux,
1368 SINGLE_VALUE_TYPE(app_list::switches::kResetAppListInstallState)},
1381 {"disable-drive-apps-in-app-list", 1369 {"disable-drive-apps-in-app-list",
1382 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_NAME, 1370 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_NAME,
1383 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_DESCRIPTION, 1371 IDS_FLAGS_DISABLE_DRIVE_APPS_IN_APP_LIST_DESCRIPTION,
1384 kOsCrOS, 1372 kOsCrOS,
1385 SINGLE_VALUE_TYPE(app_list::switches::kDisableDriveAppsInAppList)}, 1373 SINGLE_VALUE_TYPE(app_list::switches::kDisableDriveAppsInAppList)},
1386 #endif 1374 #endif
1387 #if defined(OS_ANDROID) 1375 #if defined(OS_ANDROID)
1388 {"enable-accessibility-tab-switcher", 1376 {"enable-accessibility-tab-switcher",
1389 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_NAME, 1377 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_NAME,
1390 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION, 1378 IDS_FLAGS_ENABLE_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION,
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 } 2635 }
2648 2636
2649 const Experiment* GetExperiments(size_t* count) { 2637 const Experiment* GetExperiments(size_t* count) {
2650 *count = num_experiments; 2638 *count = num_experiments;
2651 return experiments; 2639 return experiments;
2652 } 2640 }
2653 2641
2654 } // namespace testing 2642 } // namespace testing
2655 2643
2656 } // namespace about_flags 2644 } // 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