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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | 433 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) |
434 }, | 434 }, |
435 { | 435 { |
436 "disable-webgl", | 436 "disable-webgl", |
437 IDS_FLAGS_DISABLE_WEBGL_NAME, | 437 IDS_FLAGS_DISABLE_WEBGL_NAME, |
438 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 438 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
439 kOsAll, | 439 kOsAll, |
440 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 440 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
441 }, | 441 }, |
442 { | 442 { |
| 443 "enable-d3d11", |
| 444 IDS_FLAGS_ENABLE_D3D11_NAME, |
| 445 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, |
| 446 kOsWin, |
| 447 SINGLE_VALUE_TYPE(switches::kEnableD3D11) |
| 448 }, |
| 449 { |
443 "disable-webrtc", | 450 "disable-webrtc", |
444 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 451 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
445 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 452 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
446 kOsAndroid, | 453 kOsAndroid, |
447 #if defined(OS_ANDROID) | 454 #if defined(OS_ANDROID) |
448 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 455 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
449 #else | 456 #else |
450 SINGLE_VALUE_TYPE("") | 457 SINGLE_VALUE_TYPE("") |
451 #endif | 458 #endif |
452 }, | 459 }, |
(...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 } | 2199 } |
2193 | 2200 |
2194 const Experiment* GetExperiments(size_t* count) { | 2201 const Experiment* GetExperiments(size_t* count) { |
2195 *count = num_experiments; | 2202 *count = num_experiments; |
2196 return experiments; | 2203 return experiments; |
2197 } | 2204 } |
2198 | 2205 |
2199 } // namespace testing | 2206 } // namespace testing |
2200 | 2207 |
2201 } // namespace about_flags | 2208 } // namespace about_flags |
OLD | NEW |