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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 kOsWin | kOsLinux | kOsCrOS, | 473 kOsWin | kOsLinux | kOsCrOS, |
474 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames) | 474 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames) |
475 }, | 475 }, |
476 { | 476 { |
477 "aura-google-dialog-frames", | 477 "aura-google-dialog-frames", |
478 IDS_FLAGS_AURA_GOOGLE_DIALOG_FRAMES_NAME, | 478 IDS_FLAGS_AURA_GOOGLE_DIALOG_FRAMES_NAME, |
479 IDS_FLAGS_AURA_GOOGLE_DIALOG_FRAMES_DESCRIPTION, | 479 IDS_FLAGS_AURA_GOOGLE_DIALOG_FRAMES_DESCRIPTION, |
480 kOsWin | kOsLinux | kOsCrOS, | 480 kOsWin | kOsLinux | kOsCrOS, |
481 SINGLE_VALUE_TYPE(ash::switches::kAuraGoogleDialogFrames) | 481 SINGLE_VALUE_TYPE(ash::switches::kAuraGoogleDialogFrames) |
482 }, | 482 }, |
483 #endif // defined(USE_AURA) | |
484 { | |
485 "enable-gamepad", | |
486 IDS_FLAGS_ENABLE_GAMEPAD_NAME, | |
487 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, | |
488 kOsAll, | |
489 SINGLE_VALUE_TYPE(switches::kEnableGamepad) | |
490 }, | |
491 #if defined(AURA_SHOW_ABOUT_FLAG_WINDOW_MODE) | |
492 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure | 483 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure |
493 // Aura laptop mode performance and feature set match traditional non-Aura | 484 // Aura laptop mode performance and feature set match traditional non-Aura |
494 // builds. | 485 // builds. |
495 { | 486 { |
496 "aura-window-mode", | 487 "aura-window-mode", |
497 IDS_FLAGS_AURA_WINDOW_MODE_NAME, | 488 IDS_FLAGS_AURA_WINDOW_MODE_NAME, |
498 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION, | 489 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION, |
499 kOsWin | kOsLinux | kOsCrOS, | 490 kOsWin | kOsLinux | kOsCrOS, |
500 MULTI_VALUE_TYPE(kAuraWindowModeChoices) | 491 MULTI_VALUE_TYPE(kAuraWindowModeChoices) |
501 }, | 492 }, |
502 #endif | 493 #endif // defined(USE_AURA) |
| 494 { |
| 495 "enable-gamepad", |
| 496 IDS_FLAGS_ENABLE_GAMEPAD_NAME, |
| 497 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, |
| 498 kOsAll, |
| 499 SINGLE_VALUE_TYPE(switches::kEnableGamepad) |
| 500 }, |
503 { | 501 { |
504 "per-tile-painting", | 502 "per-tile-painting", |
505 IDS_FLAGS_PER_TILE_PAINTING_NAME, | 503 IDS_FLAGS_PER_TILE_PAINTING_NAME, |
506 IDS_FLAGS_PER_TILE_PAINTING_DESCRIPTION, | 504 IDS_FLAGS_PER_TILE_PAINTING_DESCRIPTION, |
507 #if defined(USE_SKIA) | 505 #if defined(USE_SKIA) |
508 kOsMac | kOsLinux | kOsCrOS, | 506 kOsMac | kOsLinux | kOsCrOS, |
509 #else | 507 #else |
510 0, | 508 0, |
511 #endif | 509 #endif |
512 SINGLE_VALUE_TYPE(switches::kEnablePerTilePainting) | 510 SINGLE_VALUE_TYPE(switches::kEnablePerTilePainting) |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 } | 967 } |
970 | 968 |
971 const Experiment* GetExperiments(size_t* count) { | 969 const Experiment* GetExperiments(size_t* count) { |
972 *count = num_experiments; | 970 *count = num_experiments; |
973 return experiments; | 971 return experiments; |
974 } | 972 } |
975 | 973 |
976 } // namespace testing | 974 } // namespace testing |
977 | 975 |
978 } // namespace about_flags | 976 } // namespace about_flags |
OLD | NEW |