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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, | 435 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, |
436 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, | 436 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, |
437 kOsWin | kOsLinux | kOsCrOS, | 437 kOsWin | kOsLinux | kOsCrOS, |
438 SINGLE_VALUE_TYPE(switches::kAuraTranslucentFrames) | 438 SINGLE_VALUE_TYPE(switches::kAuraTranslucentFrames) |
439 }, | 439 }, |
440 #endif // defined(USE_AURA) | 440 #endif // defined(USE_AURA) |
441 { | 441 { |
442 "enable-gamepad", | 442 "enable-gamepad", |
443 IDS_FLAGS_ENABLE_GAMEPAD_NAME, | 443 IDS_FLAGS_ENABLE_GAMEPAD_NAME, |
444 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, | 444 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, |
445 kOsMac | kOsWin, | 445 kOsAll, |
446 SINGLE_VALUE_TYPE(switches::kEnableGamepad) | 446 SINGLE_VALUE_TYPE(switches::kEnableGamepad) |
447 }, | 447 }, |
448 #if defined(USE_AURA) | 448 #if defined(USE_AURA) |
449 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure | 449 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure |
450 // Aura laptop mode performance and feature set match traditional non-Aura | 450 // Aura laptop mode performance and feature set match traditional non-Aura |
451 // builds. | 451 // builds. |
452 { | 452 { |
453 "aura-laptop-mode", | 453 "aura-laptop-mode", |
454 IDS_FLAGS_AURA_LAPTOP_MODE_NAME, | 454 IDS_FLAGS_AURA_LAPTOP_MODE_NAME, |
455 IDS_FLAGS_AURA_LAPTOP_MODE_DESCRIPTION, | 455 IDS_FLAGS_AURA_LAPTOP_MODE_DESCRIPTION, |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 } | 879 } |
880 | 880 |
881 const Experiment* GetExperiments(size_t* count) { | 881 const Experiment* GetExperiments(size_t* count) { |
882 *count = num_experiments; | 882 *count = num_experiments; |
883 return experiments; | 883 return experiments; |
884 } | 884 } |
885 | 885 |
886 } // namespace testing | 886 } // namespace testing |
887 | 887 |
888 } // namespace about_flags | 888 } // namespace about_flags |
OLD | NEW |