| 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 <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 // | 423 // |
| 424 // When adding a new choice, add it to the end of the list. | 424 // When adding a new choice, add it to the end of the list. |
| 425 const Experiment kExperiments[] = { | 425 const Experiment kExperiments[] = { |
| 426 { | 426 { |
| 427 "ignore-gpu-blacklist", | 427 "ignore-gpu-blacklist", |
| 428 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, | 428 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, |
| 429 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, | 429 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, |
| 430 kOsAll, | 430 kOsAll, |
| 431 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) | 431 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) |
| 432 }, | 432 }, |
| 433 { | |
| 434 "disable_layer_squashing", | |
| 435 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME, | |
| 436 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION, | |
| 437 kOsAll, | |
| 438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) | |
| 439 }, | |
| 440 #if defined(OS_WIN) | 433 #if defined(OS_WIN) |
| 441 { | 434 { |
| 442 "disable-direct-write", | 435 "disable-direct-write", |
| 443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, | 436 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, |
| 444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, | 437 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, |
| 445 kOsWin, | 438 kOsWin, |
| 446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) | 439 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) |
| 447 }, | 440 }, |
| 448 #endif | 441 #endif |
| 449 { | 442 { |
| (...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2657 } | 2650 } |
| 2658 | 2651 |
| 2659 const Experiment* GetExperiments(size_t* count) { | 2652 const Experiment* GetExperiments(size_t* count) { |
| 2660 *count = num_experiments; | 2653 *count = num_experiments; |
| 2661 return experiments; | 2654 return experiments; |
| 2662 } | 2655 } |
| 2663 | 2656 |
| 2664 } // namespace testing | 2657 } // namespace testing |
| 2665 | 2658 |
| 2666 } // namespace about_flags | 2659 } // namespace about_flags |
| OLD | NEW |