| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) | 514 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) |
| 515 }, | 515 }, |
| 516 { | 516 { |
| 517 "disable-webgl", | 517 "disable-webgl", |
| 518 IDS_FLAGS_DISABLE_WEBGL_NAME, | 518 IDS_FLAGS_DISABLE_WEBGL_NAME, |
| 519 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 519 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
| 520 kOsAll, | 520 kOsAll, |
| 521 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 521 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
| 522 }, | 522 }, |
| 523 { | 523 { |
| 524 "enable-d3d11", |
| 525 IDS_FLAGS_ENABLE_D3D11_NAME, |
| 526 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, |
| 527 kOsWin, |
| 528 SINGLE_VALUE_TYPE(switches::kEnableD3D11) |
| 529 }, |
| 530 { |
| 524 "disable-webrtc", | 531 "disable-webrtc", |
| 525 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 532 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
| 526 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 533 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
| 527 kOsAndroid, | 534 kOsAndroid, |
| 528 #if defined(OS_ANDROID) | 535 #if defined(OS_ANDROID) |
| 529 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 536 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
| 530 #else | 537 #else |
| 531 SINGLE_VALUE_TYPE("") | 538 SINGLE_VALUE_TYPE("") |
| 532 #endif | 539 #endif |
| 533 }, | 540 }, |
| (...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2414 } | 2421 } |
| 2415 | 2422 |
| 2416 const Experiment* GetExperiments(size_t* count) { | 2423 const Experiment* GetExperiments(size_t* count) { |
| 2417 *count = num_experiments; | 2424 *count = num_experiments; |
| 2418 return experiments; | 2425 return experiments; |
| 2419 } | 2426 } |
| 2420 | 2427 |
| 2421 } // namespace testing | 2428 } // namespace testing |
| 2422 | 2429 |
| 2423 } // namespace about_flags | 2430 } // namespace about_flags |
| OLD | NEW |