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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures) | 863 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures) |
864 }, | 864 }, |
865 { | 865 { |
866 "disable-ntp-other-sessions-menu", | 866 "disable-ntp-other-sessions-menu", |
867 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_NAME, | 867 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_NAME, |
868 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_DESCRIPTION, | 868 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_DESCRIPTION, |
869 kOsDesktop, | 869 kOsDesktop, |
870 SINGLE_VALUE_TYPE(switches::kDisableNTPOtherSessionsMenu) | 870 SINGLE_VALUE_TYPE(switches::kDisableNTPOtherSessionsMenu) |
871 }, | 871 }, |
872 { | 872 { |
| 873 "enable-material-design-ntp", |
| 874 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_NTP_NAME, |
| 875 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_NTP_DESCRIPTION, |
| 876 kOsDesktop, |
| 877 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMaterialDesignNTP, |
| 878 switches::kDisableMaterialDesignNTP) |
| 879 }, |
| 880 { |
873 "enable-devtools-experiments", | 881 "enable-devtools-experiments", |
874 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, | 882 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, |
875 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, | 883 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, |
876 kOsDesktop, | 884 kOsDesktop, |
877 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) | 885 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) |
878 }, | 886 }, |
879 { | 887 { |
880 "silent-debugger-extension-api", | 888 "silent-debugger-extension-api", |
881 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, | 889 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, |
882 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, | 890 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, |
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2432 } | 2440 } |
2433 | 2441 |
2434 const Experiment* GetExperiments(size_t* count) { | 2442 const Experiment* GetExperiments(size_t* count) { |
2435 *count = num_experiments; | 2443 *count = num_experiments; |
2436 return experiments; | 2444 return experiments; |
2437 } | 2445 } |
2438 | 2446 |
2439 } // namespace testing | 2447 } // namespace testing |
2440 | 2448 |
2441 } // namespace about_flags | 2449 } // namespace about_flags |
OLD | NEW |