| 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 }, | 563 }, |
| 564 { | 564 { |
| 565 "disable-webrtc-hw-encoding", | 565 "disable-webrtc-hw-encoding", |
| 566 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, | 566 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, |
| 567 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, | 567 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, |
| 568 kOsAndroid | kOsCrOS, | 568 kOsAndroid | kOsCrOS, |
| 569 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) | 569 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) |
| 570 }, | 570 }, |
| 571 #endif | 571 #endif |
| 572 #if defined(OS_ANDROID) | 572 #if defined(OS_ANDROID) |
| 573 #if defined(ARCH_CPU_X86) | |
| 574 { | |
| 575 "enable-webaudio", | |
| 576 IDS_FLAGS_ENABLE_WEBAUDIO_NAME, | |
| 577 IDS_FLAGS_ENABLE_WEBAUDIO_DESCRIPTION, | |
| 578 kOsAndroid, | |
| 579 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) | |
| 580 }, | |
| 581 #else | |
| 582 { | 573 { |
| 583 "disable-webaudio", | 574 "disable-webaudio", |
| 584 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, | 575 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, |
| 585 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, | 576 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, |
| 586 kOsAndroid, | 577 kOsAndroid, |
| 587 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) | 578 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) |
| 588 }, | 579 }, |
| 589 #endif | 580 #endif |
| 590 #endif | |
| 591 { | 581 { |
| 592 "fixed-position-creates-stacking-context", | 582 "fixed-position-creates-stacking-context", |
| 593 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, | 583 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, |
| 594 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, | 584 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, |
| 595 kOsAll, | 585 kOsAll, |
| 596 ENABLE_DISABLE_VALUE_TYPE( | 586 ENABLE_DISABLE_VALUE_TYPE( |
| 597 switches::kEnableFixedPositionCreatesStackingContext, | 587 switches::kEnableFixedPositionCreatesStackingContext, |
| 598 switches::kDisableFixedPositionCreatesStackingContext) | 588 switches::kDisableFixedPositionCreatesStackingContext) |
| 599 }, | 589 }, |
| 600 { | 590 { |
| (...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2371 } | 2361 } |
| 2372 | 2362 |
| 2373 const Experiment* GetExperiments(size_t* count) { | 2363 const Experiment* GetExperiments(size_t* count) { |
| 2374 *count = num_experiments; | 2364 *count = num_experiments; |
| 2375 return experiments; | 2365 return experiments; |
| 2376 } | 2366 } |
| 2377 | 2367 |
| 2378 } // namespace testing | 2368 } // namespace testing |
| 2379 | 2369 |
| 2380 } // namespace about_flags | 2370 } // namespace about_flags |
| OLD | NEW |