| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 SINGLE_VALUE_TYPE(switches::kEnablePhotoEditor) | 425 SINGLE_VALUE_TYPE(switches::kEnablePhotoEditor) |
| 426 }, | 426 }, |
| 427 #endif | 427 #endif |
| 428 { | 428 { |
| 429 "enable-media-source", | 429 "enable-media-source", |
| 430 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME, | 430 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME, |
| 431 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION, | 431 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION, |
| 432 kOsAll, | 432 kOsAll, |
| 433 SINGLE_VALUE_TYPE(switches::kEnableMediaSource) | 433 SINGLE_VALUE_TYPE(switches::kEnableMediaSource) |
| 434 }, | 434 }, |
| 435 { |
| 436 "enable-pointer-lock", |
| 437 IDS_FLAGS_ENABLE_POINTER_LOCK_NAME, |
| 438 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION, |
| 439 kOsAll, |
| 440 SINGLE_VALUE_TYPE(switches::kEnablePointerLock) |
| 441 }, |
| 435 #if defined(USE_AURA) | 442 #if defined(USE_AURA) |
| 436 { | 443 { |
| 437 "aura-windows", | 444 "aura-windows", |
| 438 IDS_FLAGS_AURA_WINDOWS_NAME, | 445 IDS_FLAGS_AURA_WINDOWS_NAME, |
| 439 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION, | 446 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION, |
| 440 kOsWin | kOsLinux | kOsCrOS, | 447 kOsWin | kOsLinux | kOsCrOS, |
| 441 SINGLE_VALUE_TYPE(switches::kAuraWindows) | 448 SINGLE_VALUE_TYPE(switches::kAuraWindows) |
| 442 }, | 449 }, |
| 443 #endif | 450 #endif |
| 444 }; | 451 }; |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 } | 870 } |
| 864 | 871 |
| 865 const Experiment* GetExperiments(size_t* count) { | 872 const Experiment* GetExperiments(size_t* count) { |
| 866 *count = num_experiments; | 873 *count = num_experiments; |
| 867 return experiments; | 874 return experiments; |
| 868 } | 875 } |
| 869 | 876 |
| 870 } // namespace testing | 877 } // namespace testing |
| 871 | 878 |
| 872 } // namespace about_flags | 879 } // namespace about_flags |
| OLD | NEW |