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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, | 463 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, |
464 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, | 464 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, |
465 kOsWin | kOsLinux | kOsCrOS, | 465 kOsWin | kOsLinux | kOsCrOS, |
466 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames) | 466 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames) |
467 }, | 467 }, |
468 #endif // defined(USE_AURA) | 468 #endif // defined(USE_AURA) |
469 { | 469 { |
470 "enable-gamepad", | 470 "enable-gamepad", |
471 IDS_FLAGS_ENABLE_GAMEPAD_NAME, | 471 IDS_FLAGS_ENABLE_GAMEPAD_NAME, |
472 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, | 472 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, |
473 kOsMac | kOsWin, | 473 kOsAll, |
474 SINGLE_VALUE_TYPE(switches::kEnableGamepad) | 474 SINGLE_VALUE_TYPE(switches::kEnableGamepad) |
475 }, | 475 }, |
476 #if defined(USE_AURA) | 476 #if defined(USE_AURA) |
477 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure | 477 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure |
478 // Aura laptop mode performance and feature set match traditional non-Aura | 478 // Aura laptop mode performance and feature set match traditional non-Aura |
479 // builds. | 479 // builds. |
480 { | 480 { |
481 "aura-window-mode", | 481 "aura-window-mode", |
482 IDS_FLAGS_AURA_WINDOW_MODE_NAME, | 482 IDS_FLAGS_AURA_WINDOW_MODE_NAME, |
483 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION, | 483 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION, |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 } | 936 } |
937 | 937 |
938 const Experiment* GetExperiments(size_t* count) { | 938 const Experiment* GetExperiments(size_t* count) { |
939 *count = num_experiments; | 939 *count = num_experiments; |
940 return experiments; | 940 return experiments; |
941 } | 941 } |
942 | 942 |
943 } // namespace testing | 943 } // namespace testing |
944 | 944 |
945 } // namespace about_flags | 945 } // namespace about_flags |
OLD | NEW |