| 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) | 436 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) |
| 437 }, | 437 }, |
| 438 { | 438 { |
| 439 "accelerated-filters", | 439 "accelerated-filters", |
| 440 IDS_FLAGS_ACCELERATED_FILTERS, | 440 IDS_FLAGS_ACCELERATED_FILTERS, |
| 441 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, | 441 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, |
| 442 kOsAll, | 442 kOsAll, |
| 443 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) | 443 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) |
| 444 }, | 444 }, |
| 445 { | 445 { |
| 446 "disable-gpu-vsync", | |
| 447 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | |
| 448 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | |
| 449 kOsDesktop, | |
| 450 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | |
| 451 }, | |
| 452 { | |
| 453 "disable-webgl", | 446 "disable-webgl", |
| 454 IDS_FLAGS_DISABLE_WEBGL_NAME, | 447 IDS_FLAGS_DISABLE_WEBGL_NAME, |
| 455 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 448 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
| 456 kOsAll, | 449 kOsAll, |
| 457 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 450 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
| 458 }, | 451 }, |
| 459 { | 452 { |
| 460 "enable-d3d11", | 453 "enable-d3d11", |
| 461 IDS_FLAGS_ENABLE_D3D11_NAME, | 454 IDS_FLAGS_ENABLE_D3D11_NAME, |
| 462 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, | 455 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, |
| (...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 } | 2253 } |
| 2261 | 2254 |
| 2262 const Experiment* GetExperiments(size_t* count) { | 2255 const Experiment* GetExperiments(size_t* count) { |
| 2263 *count = num_experiments; | 2256 *count = num_experiments; |
| 2264 return experiments; | 2257 return experiments; |
| 2265 } | 2258 } |
| 2266 | 2259 |
| 2267 } // namespace testing | 2260 } // namespace testing |
| 2268 | 2261 |
| 2269 } // namespace about_flags | 2262 } // namespace about_flags |
| OLD | NEW |