OLD | NEW |
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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 // Uses the system preference on Mac (a different implementation). | 658 // Uses the system preference on Mac (a different implementation). |
659 // On Android, this is always enabled. | 659 // On Android, this is always enabled. |
660 kOsLinux | kOsCrOS | kOsWin, | 660 kOsLinux | kOsCrOS | kOsWin, |
661 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOverlayScrollbar, | 661 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOverlayScrollbar, |
662 switches::kDisableOverlayScrollbar)}, | 662 switches::kDisableOverlayScrollbar)}, |
663 #endif | 663 #endif |
664 {"enable-panels", | 664 {"enable-panels", |
665 IDS_FLAGS_PANELS_NAME, | 665 IDS_FLAGS_PANELS_NAME, |
666 IDS_FLAGS_PANELS_DESCRIPTION, | 666 IDS_FLAGS_PANELS_DESCRIPTION, |
667 kOsDesktop, | 667 kOsDesktop, |
668 SINGLE_VALUE_TYPE(switches::kEnablePanels)}, | 668 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePanels, |
| 669 switches::kDisablePanels)}, |
669 {// See http://crbug.com/120416 for how to remove this flag. | 670 {// See http://crbug.com/120416 for how to remove this flag. |
670 "save-page-as-mhtml", // FLAGS:RECORD_UMA | 671 "save-page-as-mhtml", // FLAGS:RECORD_UMA |
671 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME, | 672 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME, |
672 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, | 673 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, |
673 kOsMac | kOsWin | kOsLinux, | 674 kOsMac | kOsWin | kOsLinux, |
674 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)}, | 675 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)}, |
675 {"enable-quic", | 676 {"enable-quic", |
676 IDS_FLAGS_QUIC_NAME, | 677 IDS_FLAGS_QUIC_NAME, |
677 IDS_FLAGS_QUIC_DESCRIPTION, | 678 IDS_FLAGS_QUIC_DESCRIPTION, |
678 kOsAll, | 679 kOsAll, |
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2292 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2293 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2293 | 2294 |
2294 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2295 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2295 *count = arraysize(kFeatureEntries); | 2296 *count = arraysize(kFeatureEntries); |
2296 return kFeatureEntries; | 2297 return kFeatureEntries; |
2297 } | 2298 } |
2298 | 2299 |
2299 } // namespace testing | 2300 } // namespace testing |
2300 | 2301 |
2301 } // namespace about_flags | 2302 } // namespace about_flags |
OLD | NEW |