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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) | 568 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) |
569 }, | 569 }, |
570 { | 570 { |
571 "disable-accelerated-2d-canvas", | 571 "disable-accelerated-2d-canvas", |
572 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, | 572 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, |
573 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, | 573 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, |
574 kOsAll, | 574 kOsAll, |
575 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) | 575 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) |
576 }, | 576 }, |
577 { | 577 { |
| 578 "enable-display-list-2d-canvas", |
| 579 IDS_FLAGS_ENABLE_DISPLAY_LIST_2D_CANVAS_NAME, |
| 580 IDS_FLAGS_ENABLE_DISPLAY_LIST_2D_CANVAS_DESCRIPTION, |
| 581 kOsAll, |
| 582 SINGLE_VALUE_TYPE(switches::kEnableDisplayList2dCanvas) |
| 583 }, |
| 584 { |
578 "composited-layer-borders", | 585 "composited-layer-borders", |
579 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 586 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
580 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 587 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
581 kOsAll, | 588 kOsAll, |
582 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders) | 589 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders) |
583 }, | 590 }, |
584 { | 591 { |
585 "show-fps-counter", | 592 "show-fps-counter", |
586 IDS_FLAGS_SHOW_FPS_COUNTER, | 593 IDS_FLAGS_SHOW_FPS_COUNTER, |
587 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 594 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
(...skipping 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2461 } | 2468 } |
2462 | 2469 |
2463 const Experiment* GetExperiments(size_t* count) { | 2470 const Experiment* GetExperiments(size_t* count) { |
2464 *count = num_experiments; | 2471 *count = num_experiments; |
2465 return experiments; | 2472 return experiments; |
2466 } | 2473 } |
2467 | 2474 |
2468 } // namespace testing | 2475 } // namespace testing |
2469 | 2476 |
2470 } // namespace about_flags | 2477 } // namespace about_flags |
OLD | NEW |