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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 IDS_FLAGS_MEDIADRM_ENABLE_NON_COMPOSITING_DESCRIPTION, | 799 IDS_FLAGS_MEDIADRM_ENABLE_NON_COMPOSITING_DESCRIPTION, |
800 kOsAndroid, | 800 kOsAndroid, |
801 SINGLE_VALUE_TYPE(switches::kMediaDrmEnableNonCompositing) | 801 SINGLE_VALUE_TYPE(switches::kMediaDrmEnableNonCompositing) |
802 }, | 802 }, |
803 #endif // defined(OS_ANDROID) | 803 #endif // defined(OS_ANDROID) |
804 { | 804 { |
805 "enable-javascript-harmony", | 805 "enable-javascript-harmony", |
806 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME, | 806 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME, |
807 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION, | 807 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION, |
808 kOsAll, | 808 kOsAll, |
809 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony") | 809 SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony) |
810 }, | 810 }, |
811 { | 811 { |
812 "disable-software-rasterizer", | 812 "disable-software-rasterizer", |
813 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, | 813 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, |
814 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, | 814 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, |
815 #if defined(ENABLE_SWIFTSHADER) | 815 #if defined(ENABLE_SWIFTSHADER) |
816 kOsAll, | 816 kOsAll, |
817 #else | 817 #else |
818 0, | 818 0, |
819 #endif | 819 #endif |
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2508 } | 2508 } |
2509 | 2509 |
2510 const Experiment* GetExperiments(size_t* count) { | 2510 const Experiment* GetExperiments(size_t* count) { |
2511 *count = num_experiments; | 2511 *count = num_experiments; |
2512 return experiments; | 2512 return experiments; |
2513 } | 2513 } |
2514 | 2514 |
2515 } // namespace testing | 2515 } // namespace testing |
2516 | 2516 |
2517 } // namespace about_flags | 2517 } // namespace about_flags |
OLD | NEW |