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

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

Issue 1766273002: Convert --enable-md-history to a feature flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to the latest update and resolve a merge conflict Created 4 years, 9 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 | « no previous file | chrome/browser/browser_about_handler.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 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME, 1679 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME,
1680 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid, 1680 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid,
1681 MULTI_VALUE_TYPE(kHerbPrototypeChoices)}, 1681 MULTI_VALUE_TYPE(kHerbPrototypeChoices)},
1682 {"enable-tab-switcher-in-document-mode", 1682 {"enable-tab-switcher-in-document-mode",
1683 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_NAME, 1683 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_NAME,
1684 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_DESCRIPTION, kOsAndroid, 1684 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_DESCRIPTION, kOsAndroid,
1685 SINGLE_VALUE_TYPE(switches::kEnableTabSwitcherInDocumentMode)}, 1685 SINGLE_VALUE_TYPE(switches::kEnableTabSwitcherInDocumentMode)},
1686 #endif // OS_ANDROID 1686 #endif // OS_ANDROID
1687 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME, 1687 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME,
1688 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop, 1688 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop,
1689 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignHistory)}, 1689 FEATURE_VALUE_TYPE(features::kMaterialDesignHistoryFeature)},
1690 #if defined(OS_WIN) 1690 #if defined(OS_WIN)
1691 {"enable-windows-desktop-search-redirection", 1691 {"enable-windows-desktop-search-redirection",
1692 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_NAME, 1692 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_NAME,
1693 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_DESCRIPTION, kOsWin, 1693 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_DESCRIPTION, kOsWin,
1694 FEATURE_VALUE_TYPE(kDesktopSearchRedirectionFeature)}, 1694 FEATURE_VALUE_TYPE(kDesktopSearchRedirectionFeature)},
1695 #endif // defined(OS_WIN) 1695 #endif // defined(OS_WIN)
1696 {"force-ui-direction", IDS_FLAGS_FORCE_UI_DIRECTION_NAME, 1696 {"force-ui-direction", IDS_FLAGS_FORCE_UI_DIRECTION_NAME,
1697 IDS_FLAGS_FORCE_UI_DIRECTION_DESCRIPTION, kOsAll, 1697 IDS_FLAGS_FORCE_UI_DIRECTION_DESCRIPTION, kOsAll,
1698 MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, 1698 MULTI_VALUE_TYPE(kForceUIDirectionChoices)},
1699 #if defined(ENABLE_EXTENSIONS) 1699 #if defined(ENABLE_EXTENSIONS)
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2002 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2002 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2003 2003
2004 const FeatureEntry* GetFeatureEntries(size_t* count) { 2004 const FeatureEntry* GetFeatureEntries(size_t* count) {
2005 *count = arraysize(kFeatureEntries); 2005 *count = arraysize(kFeatureEntries);
2006 return kFeatureEntries; 2006 return kFeatureEntries;
2007 } 2007 }
2008 2008
2009 } // namespace testing 2009 } // namespace testing
2010 2010
2011 } // namespace about_flags 2011 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698