| 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 }, | 510 }, |
| 511 { | 511 { |
| 512 "disable-webrtc-hw-encoding", | 512 "disable-webrtc-hw-encoding", |
| 513 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, | 513 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, |
| 514 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, | 514 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, |
| 515 kOsCrOS, | 515 kOsCrOS, |
| 516 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) | 516 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) |
| 517 }, | 517 }, |
| 518 #endif | 518 #endif |
| 519 #if defined(OS_ANDROID) | 519 #if defined(OS_ANDROID) |
| 520 #if defined(ARCH_CPU_X86) |
| 521 { |
| 522 "enable-webaudio", |
| 523 IDS_FLAGS_ENABLE_WEBAUDIO_NAME, |
| 524 IDS_FLAGS_ENABLE_WEBAUDIO_DESCRIPTION, |
| 525 kOsAndroid, |
| 526 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) |
| 527 }, |
| 528 #else |
| 520 { | 529 { |
| 521 "disable-webaudio", | 530 "disable-webaudio", |
| 522 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, | 531 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, |
| 523 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, | 532 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, |
| 524 kOsAndroid, | 533 kOsAndroid, |
| 525 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) | 534 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) |
| 526 }, | 535 }, |
| 527 #endif | 536 #endif |
| 537 #endif |
| 528 { | 538 { |
| 529 "fixed-position-creates-stacking-context", | 539 "fixed-position-creates-stacking-context", |
| 530 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, | 540 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, |
| 531 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, | 541 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, |
| 532 kOsAll, | 542 kOsAll, |
| 533 ENABLE_DISABLE_VALUE_TYPE( | 543 ENABLE_DISABLE_VALUE_TYPE( |
| 534 switches::kEnableFixedPositionCreatesStackingContext, | 544 switches::kEnableFixedPositionCreatesStackingContext, |
| 535 switches::kDisableFixedPositionCreatesStackingContext) | 545 switches::kDisableFixedPositionCreatesStackingContext) |
| 536 }, | 546 }, |
| 537 { | 547 { |
| (...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2322 } | 2332 } |
| 2323 | 2333 |
| 2324 const Experiment* GetExperiments(size_t* count) { | 2334 const Experiment* GetExperiments(size_t* count) { |
| 2325 *count = num_experiments; | 2335 *count = num_experiments; |
| 2326 return experiments; | 2336 return experiments; |
| 2327 } | 2337 } |
| 2328 | 2338 |
| 2329 } // namespace testing | 2339 } // namespace testing |
| 2330 | 2340 |
| 2331 } // namespace about_flags | 2341 } // namespace about_flags |
| OLD | NEW |