| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 kOsWin, | 523 kOsWin, |
| 524 SINGLE_VALUE_TYPE(switches::kTabBrowserDragging) | 524 SINGLE_VALUE_TYPE(switches::kTabBrowserDragging) |
| 525 }, | 525 }, |
| 526 { | 526 { |
| 527 "enable-restore-session-state", | 527 "enable-restore-session-state", |
| 528 IDS_FLAGS_ENABLE_RESTORE_SESSION_STATE_NAME, | 528 IDS_FLAGS_ENABLE_RESTORE_SESSION_STATE_NAME, |
| 529 IDS_FLAGS_ENABLE_RESTORE_SESSION_STATE_DESCRIPTION, | 529 IDS_FLAGS_ENABLE_RESTORE_SESSION_STATE_DESCRIPTION, |
| 530 kOsAll, | 530 kOsAll, |
| 531 SINGLE_VALUE_TYPE(switches::kEnableRestoreSessionState) | 531 SINGLE_VALUE_TYPE(switches::kEnableRestoreSessionState) |
| 532 }, | 532 }, |
| 533 #if defined(OS_CHROMEOS) |
| 534 { |
| 535 "enable-retail-mode", |
| 536 IDS_FLAGS_ENABLE_RETAIL_MODE_NAME, |
| 537 IDS_FLAGS_ENABLE_RETAIL_MODE_DESCRIPTION, |
| 538 kOsCrOS, |
| 539 SINGLE_VALUE_TYPE(switches::kEnableRetailMode) |
| 540 }, |
| 541 #endif |
| 533 { | 542 { |
| 534 "disable-software-rasterizer", | 543 "disable-software-rasterizer", |
| 535 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, | 544 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, |
| 536 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, | 545 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, |
| 537 #if defined(ENABLE_SWIFTSHADER) | 546 #if defined(ENABLE_SWIFTSHADER) |
| 538 kOsAll, | 547 kOsAll, |
| 539 #else | 548 #else |
| 540 0, | 549 0, |
| 541 #endif | 550 #endif |
| 542 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) | 551 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 } | 1023 } |
| 1015 | 1024 |
| 1016 const Experiment* GetExperiments(size_t* count) { | 1025 const Experiment* GetExperiments(size_t* count) { |
| 1017 *count = num_experiments; | 1026 *count = num_experiments; |
| 1018 return experiments; | 1027 return experiments; |
| 1019 } | 1028 } |
| 1020 | 1029 |
| 1021 } // namespace testing | 1030 } // namespace testing |
| 1022 | 1031 |
| 1023 } // namespace about_flags | 1032 } // namespace about_flags |
| OLD | NEW |