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

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

Issue 1710083005: Remove old downloads UI; Material Design version is now the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove testing/ Created 4 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/browser_resources.grd » ('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 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 #endif 1598 #endif
1599 #if defined(OS_CHROMEOS) 1599 #if defined(OS_CHROMEOS)
1600 {"disable-accelerated-mjpeg-decode", 1600 {"disable-accelerated-mjpeg-decode",
1601 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME, 1601 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME,
1602 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS, 1602 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS,
1603 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, 1603 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
1604 #endif // OS_CHROMEOS 1604 #endif // OS_CHROMEOS
1605 {"v8-cache-options", IDS_FLAGS_V8_CACHE_OPTIONS_NAME, 1605 {"v8-cache-options", IDS_FLAGS_V8_CACHE_OPTIONS_NAME,
1606 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, kOsAll, 1606 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, kOsAll,
1607 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, 1607 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
1608 #if !defined(OS_ANDROID) && !defined(OS_IOS)
1609 {"enable-md-downloads", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_NAME,
1610 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_DESCRIPTION, kOsDesktop,
1611 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMaterialDesignDownloads,
1612 switches::kDisableMaterialDesignDownloads)},
1613 #endif
1614 {"enable-clear-browsing-data-counters", 1608 {"enable-clear-browsing-data-counters",
1615 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, 1609 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME,
1616 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, kOsAll, 1610 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, kOsAll,
1617 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, 1611 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters,
1618 switches::kDisableClearBrowsingDataCounters)}, 1612 switches::kDisableClearBrowsingDataCounters)},
1619 #if defined(ENABLE_TASK_MANAGER) 1613 #if defined(ENABLE_TASK_MANAGER)
1620 {"disable-new-task-manager", IDS_FLAGS_NEW_TASK_MANAGER_NAME, 1614 {"disable-new-task-manager", IDS_FLAGS_NEW_TASK_MANAGER_NAME,
1621 IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop, 1615 IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop,
1622 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)}, 1616 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)},
1623 #endif // defined(ENABLE_TASK_MANAGER) 1617 #endif // defined(ENABLE_TASK_MANAGER)
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2025 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2032 2026
2033 const FeatureEntry* GetFeatureEntries(size_t* count) { 2027 const FeatureEntry* GetFeatureEntries(size_t* count) {
2034 *count = arraysize(kFeatureEntries); 2028 *count = arraysize(kFeatureEntries);
2035 return kFeatureEntries; 2029 return kFeatureEntries;
2036 } 2030 }
2037 2031
2038 } // namespace testing 2032 } // namespace testing
2039 2033
2040 } // namespace about_flags 2034 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/browser_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698