| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 SINGLE_VALUE_TYPE(switches::kEnableVideoTrack) | 448 SINGLE_VALUE_TYPE(switches::kEnableVideoTrack) |
| 449 }, | 449 }, |
| 450 { | 450 { |
| 451 "enable-media-source", | 451 "enable-media-source", |
| 452 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME, | 452 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME, |
| 453 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION, | 453 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION, |
| 454 kOsAll, | 454 kOsAll, |
| 455 SINGLE_VALUE_TYPE(switches::kEnableMediaSource) | 455 SINGLE_VALUE_TYPE(switches::kEnableMediaSource) |
| 456 }, | 456 }, |
| 457 { | 457 { |
| 458 "enable-encrypted-media", |
| 459 IDS_FLAGS_ENABLE_MEDIA_ENCRYPTED_NAME, |
| 460 IDS_FLAGS_ENABLE_MEDIA_ENCRYPTED_DESCRIPTION, |
| 461 kOsAll, |
| 462 SINGLE_VALUE_TYPE(switches::kEnableMediaEncrypted) |
| 463 }, |
| 464 { |
| 458 "enable-pointer-lock", | 465 "enable-pointer-lock", |
| 459 IDS_FLAGS_ENABLE_POINTER_LOCK_NAME, | 466 IDS_FLAGS_ENABLE_POINTER_LOCK_NAME, |
| 460 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION, | 467 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION, |
| 461 kOsAll, | 468 kOsAll, |
| 462 SINGLE_VALUE_TYPE(switches::kEnablePointerLock) | 469 SINGLE_VALUE_TYPE(switches::kEnablePointerLock) |
| 463 }, | 470 }, |
| 464 #if defined(USE_AURA) | 471 #if defined(USE_AURA) |
| 465 { | 472 { |
| 466 "aura-translucent-frames", | 473 "aura-translucent-frames", |
| 467 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, | 474 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 } | 1021 } |
| 1015 | 1022 |
| 1016 const Experiment* GetExperiments(size_t* count) { | 1023 const Experiment* GetExperiments(size_t* count) { |
| 1017 *count = num_experiments; | 1024 *count = num_experiments; |
| 1018 return experiments; | 1025 return experiments; |
| 1019 } | 1026 } |
| 1020 | 1027 |
| 1021 } // namespace testing | 1028 } // namespace testing |
| 1022 | 1029 |
| 1023 } // namespace about_flags | 1030 } // namespace about_flags |
| OLD | NEW |