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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 SINGLE_VALUE_TYPE(switches::kDisableVp8AlphaPlayback) | 853 SINGLE_VALUE_TYPE(switches::kDisableVp8AlphaPlayback) |
854 }, | 854 }, |
855 { | 855 { |
856 "enable-javascript-harmony", | 856 "enable-javascript-harmony", |
857 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME, | 857 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME, |
858 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION, | 858 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION, |
859 kOsAll, | 859 kOsAll, |
860 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony") | 860 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony") |
861 }, | 861 }, |
862 { | 862 { |
863 "disable-restore-session-state", | |
864 IDS_FLAGS_DISABLE_RESTORE_SESSION_STATE_NAME, | |
865 IDS_FLAGS_DISABLE_RESTORE_SESSION_STATE_DESCRIPTION, | |
866 kOsAll, | |
867 SINGLE_VALUE_TYPE(switches::kDisableRestoreSessionState) | |
868 }, | |
869 { | |
870 "disable-software-rasterizer", | 863 "disable-software-rasterizer", |
871 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, | 864 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, |
872 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, | 865 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, |
873 #if defined(ENABLE_SWIFTSHADER) | 866 #if defined(ENABLE_SWIFTSHADER) |
874 kOsAll, | 867 kOsAll, |
875 #else | 868 #else |
876 0, | 869 0, |
877 #endif | 870 #endif |
878 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) | 871 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) |
879 }, | 872 }, |
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2422 } | 2415 } |
2423 | 2416 |
2424 const Experiment* GetExperiments(size_t* count) { | 2417 const Experiment* GetExperiments(size_t* count) { |
2425 *count = num_experiments; | 2418 *count = num_experiments; |
2426 return experiments; | 2419 return experiments; |
2427 } | 2420 } |
2428 | 2421 |
2429 } // namespace testing | 2422 } // namespace testing |
2430 | 2423 |
2431 } // namespace about_flags | 2424 } // namespace about_flags |
OLD | NEW |