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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) | 853 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) |
854 }, | 854 }, |
855 { | 855 { |
856 "enable-experimental-web-platform-features", | 856 "enable-experimental-web-platform-features", |
857 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, | 857 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, |
858 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, | 858 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, |
859 kOsAll, | 859 kOsAll, |
860 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures) | 860 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures) |
861 }, | 861 }, |
862 { | 862 { |
863 "disable-ntp-other-sessions-menu", | |
864 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_NAME, | |
865 IDS_FLAGS_NTP_OTHER_SESSIONS_MENU_DESCRIPTION, | |
866 kOsDesktop, | |
867 SINGLE_VALUE_TYPE(switches::kDisableNTPOtherSessionsMenu) | |
868 }, | |
869 { | |
870 "enable-devtools-experiments", | 863 "enable-devtools-experiments", |
871 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, | 864 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, |
872 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, | 865 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, |
873 kOsDesktop, | 866 kOsDesktop, |
874 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) | 867 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) |
875 }, | 868 }, |
876 { | 869 { |
877 "silent-debugger-extension-api", | 870 "silent-debugger-extension-api", |
878 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, | 871 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, |
879 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, | 872 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, |
(...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3015 } | 3008 } |
3016 | 3009 |
3017 const Experiment* GetExperiments(size_t* count) { | 3010 const Experiment* GetExperiments(size_t* count) { |
3018 *count = num_experiments; | 3011 *count = num_experiments; |
3019 return experiments; | 3012 return experiments; |
3020 } | 3013 } |
3021 | 3014 |
3022 } // namespace testing | 3015 } // namespace testing |
3023 | 3016 |
3024 } // namespace about_flags | 3017 } // namespace about_flags |
OLD | NEW |