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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) | 404 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) |
405 }, | 405 }, |
406 { | 406 { |
407 "accelerated-filters", | 407 "accelerated-filters", |
408 IDS_FLAGS_ACCELERATED_FILTERS, | 408 IDS_FLAGS_ACCELERATED_FILTERS, |
409 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, | 409 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, |
410 kOsAll, | 410 kOsAll, |
411 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) | 411 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) |
412 }, | 412 }, |
413 { | 413 { |
414 "disable-gpu-vsync", | |
415 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | |
416 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | |
417 kOsDesktop, | |
418 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | |
419 }, | |
420 { | |
421 "disable-webgl", | 414 "disable-webgl", |
422 IDS_FLAGS_DISABLE_WEBGL_NAME, | 415 IDS_FLAGS_DISABLE_WEBGL_NAME, |
423 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 416 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
424 kOsAll, | 417 kOsAll, |
425 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 418 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
426 }, | 419 }, |
427 { | 420 { |
428 "disable-webrtc", | 421 "disable-webrtc", |
429 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 422 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
430 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 423 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2091 } | 2084 } |
2092 | 2085 |
2093 const Experiment* GetExperiments(size_t* count) { | 2086 const Experiment* GetExperiments(size_t* count) { |
2094 *count = num_experiments; | 2087 *count = num_experiments; |
2095 return experiments; | 2088 return experiments; |
2096 } | 2089 } |
2097 | 2090 |
2098 } // namespace testing | 2091 } // namespace testing |
2099 | 2092 |
2100 } // namespace about_flags | 2093 } // namespace about_flags |
OLD | NEW |