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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 }, | 512 }, |
513 { | 513 { |
514 "disable_layer_squashing", | 514 "disable_layer_squashing", |
515 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME, | 515 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME, |
516 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION, | 516 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION, |
517 kOsAll, | 517 kOsAll, |
518 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) | 518 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) |
519 }, | 519 }, |
520 #if defined(OS_WIN) | 520 #if defined(OS_WIN) |
521 { | 521 { |
522 "enable-direct-write", | 522 "disable-direct-write", |
523 IDS_FLAGS_ENABLE_DIRECT_WRITE_NAME, | 523 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, |
524 IDS_FLAGS_ENABLE_DIRECT_WRITE_DESCRIPTION, | 524 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, |
525 kOsWin, | 525 kOsWin, |
526 SINGLE_VALUE_TYPE(switches::kEnableDirectWrite) | 526 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) |
527 }, | 527 }, |
528 #endif | 528 #endif |
529 { | 529 { |
530 "enable-experimental-canvas-features", | 530 "enable-experimental-canvas-features", |
531 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 531 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
532 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 532 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
533 kOsAll, | 533 kOsAll, |
534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) | 534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) |
535 }, | 535 }, |
536 { | 536 { |
(...skipping 1875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2412 } | 2412 } |
2413 | 2413 |
2414 const Experiment* GetExperiments(size_t* count) { | 2414 const Experiment* GetExperiments(size_t* count) { |
2415 *count = num_experiments; | 2415 *count = num_experiments; |
2416 return experiments; | 2416 return experiments; |
2417 } | 2417 } |
2418 | 2418 |
2419 } // namespace testing | 2419 } // namespace testing |
2420 | 2420 |
2421 } // namespace about_flags | 2421 } // namespace about_flags |
OLD | NEW |