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

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

Issue 2662623003: Enable download home by default (Closed)
Patch Set: Created 3 years, 10 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 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 IDS_FLAGS_GOOGLE_PROFILE_INFO_DESCRIPTION, kOsMac | kOsWin | kOsLinux, 1303 IDS_FLAGS_GOOGLE_PROFILE_INFO_DESCRIPTION, kOsMac | kOsWin | kOsLinux,
1304 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)}, 1304 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)},
1305 #if BUILDFLAG(ENABLE_APP_LIST) 1305 #if BUILDFLAG(ENABLE_APP_LIST)
1306 {"reset-app-list-install-state", 1306 {"reset-app-list-install-state",
1307 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME, 1307 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_NAME,
1308 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION, 1308 IDS_FLAGS_RESET_APP_LIST_INSTALL_STATE_DESCRIPTION,
1309 kOsMac | kOsWin | kOsLinux, 1309 kOsMac | kOsWin | kOsLinux,
1310 SINGLE_VALUE_TYPE(app_list::switches::kResetAppListInstallState)}, 1310 SINGLE_VALUE_TYPE(app_list::switches::kResetAppListInstallState)},
1311 #endif // BUILDFLAG(ENABLE_APP_LIST) 1311 #endif // BUILDFLAG(ENABLE_APP_LIST)
1312 #if defined(OS_ANDROID) 1312 #if defined(OS_ANDROID)
1313 {"enable-downloads-ui", IDS_FLAGS_ENABLE_DOWNLOADS_UI_NAME,
1314 IDS_FLAGS_ENABLE_DOWNLOADS_UI_DESCRIPTION, kOsAndroid,
1315 FEATURE_VALUE_TYPE(chrome::android::kDownloadsUiFeature)},
1316 {"enable-special-locale", IDS_FLAGS_ENABLE_SPECIAL_LOCALE_NAME, 1313 {"enable-special-locale", IDS_FLAGS_ENABLE_SPECIAL_LOCALE_NAME,
1317 IDS_FLAGS_ENABLE_SPECIAL_LOCALE_DESCRIPTION, kOsAndroid, 1314 IDS_FLAGS_ENABLE_SPECIAL_LOCALE_DESCRIPTION, kOsAndroid,
1318 FEATURE_VALUE_TYPE(chrome::android::kSpecialLocaleFeature)}, 1315 FEATURE_VALUE_TYPE(chrome::android::kSpecialLocaleFeature)},
1319 {"enable-accessibility-tab-switcher", 1316 {"enable-accessibility-tab-switcher",
1320 IDS_FLAGS_ACCESSIBILITY_TAB_SWITCHER_NAME, 1317 IDS_FLAGS_ACCESSIBILITY_TAB_SWITCHER_NAME,
1321 IDS_FLAGS_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION, kOsAndroid, 1318 IDS_FLAGS_ACCESSIBILITY_TAB_SWITCHER_DESCRIPTION, kOsAndroid,
1322 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)}, 1319 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)},
1323 {"enable-physical-web", IDS_FLAGS_ENABLE_PHYSICAL_WEB_NAME, 1320 {"enable-physical-web", IDS_FLAGS_ENABLE_PHYSICAL_WEB_NAME,
1324 IDS_FLAGS_ENABLE_PHYSICAL_WEB_DESCRIPTION, kOsAndroid, 1321 IDS_FLAGS_ENABLE_PHYSICAL_WEB_DESCRIPTION, kOsAndroid,
1325 FEATURE_VALUE_TYPE(chrome::android::kPhysicalWebFeature)}, 1322 FEATURE_VALUE_TYPE(chrome::android::kPhysicalWebFeature)},
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2412 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2409 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2413 2410
2414 const FeatureEntry* GetFeatureEntries(size_t* count) { 2411 const FeatureEntry* GetFeatureEntries(size_t* count) {
2415 *count = arraysize(kFeatureEntries); 2412 *count = arraysize(kFeatureEntries);
2416 return kFeatureEntries; 2413 return kFeatureEntries;
2417 } 2414 }
2418 2415
2419 } // namespace testing 2416 } // namespace testing
2420 2417
2421 } // namespace about_flags 2418 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698