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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) | 523 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) |
524 }, | 524 }, |
525 { | 525 { |
526 "disable-webgl", | 526 "disable-webgl", |
527 IDS_FLAGS_DISABLE_WEBGL_NAME, | 527 IDS_FLAGS_DISABLE_WEBGL_NAME, |
528 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 528 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
529 kOsAll, | 529 kOsAll, |
530 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 530 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
531 }, | 531 }, |
532 { | 532 { |
533 "enable-d3d11", | |
534 IDS_FLAGS_ENABLE_D3D11_NAME, | |
535 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION, | |
536 kOsWin, | |
537 SINGLE_VALUE_TYPE(switches::kEnableD3D11) | |
538 }, | |
539 { | |
540 "disable-webrtc", | 533 "disable-webrtc", |
541 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 534 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
542 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 535 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
543 kOsAndroid, | 536 kOsAndroid, |
544 #if defined(OS_ANDROID) | 537 #if defined(OS_ANDROID) |
545 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 538 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
546 #else | 539 #else |
547 SINGLE_VALUE_TYPE("") | 540 SINGLE_VALUE_TYPE("") |
548 #endif | 541 #endif |
549 }, | 542 }, |
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2373 } | 2366 } |
2374 | 2367 |
2375 const Experiment* GetExperiments(size_t* count) { | 2368 const Experiment* GetExperiments(size_t* count) { |
2376 *count = num_experiments; | 2369 *count = num_experiments; |
2377 return experiments; | 2370 return experiments; |
2378 } | 2371 } |
2379 | 2372 |
2380 } // namespace testing | 2373 } // namespace testing |
2381 | 2374 |
2382 } // namespace about_flags | 2375 } // namespace about_flags |
OLD | NEW |