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

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

Issue 1854253002: Disable document mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaning Created 4 years, 8 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/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('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 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_DESCRIPTION, 1680 IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_DESCRIPTION,
1681 kOsCrOS | kOsWin | kOsLinux | kOsAndroid, 1681 kOsCrOS | kOsWin | kOsLinux | kOsAndroid,
1682 ENABLE_DISABLE_VALUE_TYPE( 1682 ENABLE_DISABLE_VALUE_TYPE(
1683 autofill::switches::kEnableOfferUploadCreditCards, 1683 autofill::switches::kEnableOfferUploadCreditCards,
1684 autofill::switches::kDisableOfferUploadCreditCards)}, 1684 autofill::switches::kDisableOfferUploadCreditCards)},
1685 #endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) 1685 #endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1686 #if defined(OS_ANDROID) 1686 #if defined(OS_ANDROID)
1687 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME, 1687 {"tab-management-experiment-type", IDS_FLAGS_HERB_PROTOTYPE_CHOICES_NAME,
1688 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid, 1688 IDS_FLAGS_HERB_PROTOTYPE_CHOICES_DESCRIPTION, kOsAndroid,
1689 MULTI_VALUE_TYPE(kHerbPrototypeChoices)}, 1689 MULTI_VALUE_TYPE(kHerbPrototypeChoices)},
1690 {"enable-forced-migration-to-tabbed-mode",
1691 IDS_FLAGS_FORCE_MIGRATION_TO_TABBED_MODE_NAME,
1692 IDS_FLAGS_FORCE_MIGRATION_TO_TABBED_MODE_DESCRIPTION, kOsAndroid,
1693 SINGLE_VALUE_TYPE(switches::kEnableForcedMigrationToTabbedMode)},
1694 {"enable-tab-switcher-in-document-mode", 1690 {"enable-tab-switcher-in-document-mode",
1695 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_NAME, 1691 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_NAME,
1696 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_DESCRIPTION, kOsAndroid, 1692 IDS_FLAGS_TAB_SWITCHER_IN_DOCUMENT_MODE_DESCRIPTION, kOsAndroid,
1697 SINGLE_VALUE_TYPE(switches::kEnableTabSwitcherInDocumentMode)}, 1693 SINGLE_VALUE_TYPE(switches::kEnableTabSwitcherInDocumentMode)},
1698 #endif // OS_ANDROID 1694 #endif // OS_ANDROID
1699 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME, 1695 {"enable-md-history", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME,
1700 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop, 1696 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, kOsDesktop,
1701 FEATURE_VALUE_TYPE(features::kMaterialDesignHistoryFeature)}, 1697 FEATURE_VALUE_TYPE(features::kMaterialDesignHistoryFeature)},
1702 #if defined(OS_WIN) 1698 #if defined(OS_WIN)
1703 {"enable-windows-desktop-search-redirection", 1699 {"enable-windows-desktop-search-redirection",
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2025 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2021 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2026 2022
2027 const FeatureEntry* GetFeatureEntries(size_t* count) { 2023 const FeatureEntry* GetFeatureEntries(size_t* count) {
2028 *count = arraysize(kFeatureEntries); 2024 *count = arraysize(kFeatureEntries);
2029 return kFeatureEntries; 2025 return kFeatureEntries;
2030 } 2026 }
2031 2027
2032 } // namespace testing 2028 } // namespace testing
2033 2029
2034 } // namespace about_flags 2030 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698