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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders) | 513 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders) |
514 }, | 514 }, |
515 { | 515 { |
516 "show-fps-counter", | 516 "show-fps-counter", |
517 IDS_FLAGS_SHOW_FPS_COUNTER, | 517 IDS_FLAGS_SHOW_FPS_COUNTER, |
518 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 518 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
519 kOsAll, | 519 kOsAll, |
520 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) | 520 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) |
521 }, | 521 }, |
522 { | 522 { |
523 "accelerated-filters", | |
524 IDS_FLAGS_ACCELERATED_FILTERS, | |
525 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, | |
526 kOsAll, | |
527 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) | |
528 }, | |
529 { | |
530 "disable-webgl", | 523 "disable-webgl", |
531 IDS_FLAGS_DISABLE_WEBGL_NAME, | 524 IDS_FLAGS_DISABLE_WEBGL_NAME, |
532 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 525 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
533 kOsAll, | 526 kOsAll, |
534 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 527 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
535 }, | 528 }, |
536 { | 529 { |
537 "enable-d3d11", | 530 "enable-d3d11", |
538 IDS_FLAGS_ENABLE_D3D11_NAME, | 531 IDS_FLAGS_ENABLE_D3D11_NAME, |
539 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, | 532 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, |
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 } | 2370 } |
2378 | 2371 |
2379 const Experiment* GetExperiments(size_t* count) { | 2372 const Experiment* GetExperiments(size_t* count) { |
2380 *count = num_experiments; | 2373 *count = num_experiments; |
2381 return experiments; | 2374 return experiments; |
2382 } | 2375 } |
2383 | 2376 |
2384 } // namespace testing | 2377 } // namespace testing |
2385 | 2378 |
2386 } // namespace about_flags | 2379 } // namespace about_flags |
OLD | NEW |