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

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

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

Powered by Google App Engine
This is Rietveld 408576698