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

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

Issue 2450623002: [MD Bookmarks] Add skeleton for Material Design Bookmarks (Closed)
Patch Set: rebase Created 4 years, 1 month 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/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 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 #endif // TOOLKIT_VIEWS || OS_ANDROID 1721 #endif // TOOLKIT_VIEWS || OS_ANDROID
1722 #if defined(OS_ANDROID) 1722 #if defined(OS_ANDROID)
1723 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME, 1723 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME,
1724 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid, 1724 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid,
1725 MULTI_VALUE_TYPE(kHerbPrototypeChoices)}, 1725 MULTI_VALUE_TYPE(kHerbPrototypeChoices)},
1726 {"app-link", IDS_FLAGS_ENABLE_APP_LINK_NAME, 1726 {"app-link", IDS_FLAGS_ENABLE_APP_LINK_NAME,
1727 IDS_FLAGS_ENABLE_APP_LINK_DESCRIPTION, kOsAndroid, 1727 IDS_FLAGS_ENABLE_APP_LINK_DESCRIPTION, kOsAndroid,
1728 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppLink, 1728 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppLink,
1729 switches::kDisableAppLink)}, 1729 switches::kDisableAppLink)},
1730 #endif // OS_ANDROID 1730 #endif // OS_ANDROID
1731 {"enable-md-bookmarks", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_BOOKMARKS_NAME,
1732 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_BOOKMARKS_DESCRIPTION, kOsDesktop,
1733 FEATURE_VALUE_TYPE(features::kMaterialDesignBookmarks)},
1731 {"enable-md-feedback", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_FEEDBACK_NAME, 1734 {"enable-md-feedback", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_FEEDBACK_NAME,
1732 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_FEEDBACK_DESCRIPTION, kOsDesktop, 1735 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_FEEDBACK_DESCRIPTION, kOsDesktop,
1733 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignFeedback)}, 1736 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignFeedback)},
1734 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME, 1737 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME,
1735 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop, 1738 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop,
1736 FEATURE_VALUE_TYPE(features::kMaterialDesignHistory)}, 1739 FEATURE_VALUE_TYPE(features::kMaterialDesignHistory)},
1737 {"enable-md-settings", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_SETTINGS_NAME, 1740 {"enable-md-settings", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_SETTINGS_NAME,
1738 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_SETTINGS_DESCRIPTION, kOsDesktop, 1741 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_SETTINGS_DESCRIPTION, kOsDesktop,
1739 FEATURE_VALUE_TYPE(features::kMaterialDesignSettings)}, 1742 FEATURE_VALUE_TYPE(features::kMaterialDesignSettings)},
1740 {"safe-search-url-reporting", IDS_FLAGS_SAFE_SEARCH_URL_REPORTING_NAME, 1743 {"safe-search-url-reporting", IDS_FLAGS_SAFE_SEARCH_URL_REPORTING_NAME,
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2270 2273
2271 const FeatureEntry* GetFeatureEntries(size_t* count) { 2274 const FeatureEntry* GetFeatureEntries(size_t* count) {
2272 *count = arraysize(kFeatureEntries); 2275 *count = arraysize(kFeatureEntries);
2273 return kFeatureEntries; 2276 return kFeatureEntries;
2274 } 2277 }
2275 2278
2276 } // namespace testing 2279 } // namespace testing
2277 2280
2278 } // namespace about_flags 2281 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/browser_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698