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 <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <iterator> | 10 #include <iterator> |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 "disable-webrtc", | 425 "disable-webrtc", |
426 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 426 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
427 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 427 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
428 kOsAndroid, | 428 kOsAndroid, |
429 #if defined(OS_ANDROID) | 429 #if defined(OS_ANDROID) |
430 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 430 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
431 #else | 431 #else |
432 SINGLE_VALUE_TYPE("") | 432 SINGLE_VALUE_TYPE("") |
433 #endif | 433 #endif |
434 }, | 434 }, |
| 435 #if defined(OS_ANDROID) |
| 436 { |
| 437 "enable-webaudio", |
| 438 IDS_FLAGS_ENABLE_WEBAUDIO_NAME, |
| 439 IDS_FLAGS_ENABLE_WEBAUDIO_DESCRIPTION, |
| 440 kOsAndroid, |
| 441 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) |
| 442 }, |
| 443 #endif |
435 { | 444 { |
436 "fixed-position-creates-stacking-context", | 445 "fixed-position-creates-stacking-context", |
437 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, | 446 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, |
438 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, | 447 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, |
439 kOsAll, | 448 kOsAll, |
440 ENABLE_DISABLE_VALUE_TYPE( | 449 ENABLE_DISABLE_VALUE_TYPE( |
441 switches::kEnableFixedPositionCreatesStackingContext, | 450 switches::kEnableFixedPositionCreatesStackingContext, |
442 switches::kDisableFixedPositionCreatesStackingContext) | 451 switches::kDisableFixedPositionCreatesStackingContext) |
443 }, | 452 }, |
444 { | 453 { |
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1839 } | 1848 } |
1840 | 1849 |
1841 const Experiment* GetExperiments(size_t* count) { | 1850 const Experiment* GetExperiments(size_t* count) { |
1842 *count = num_experiments; | 1851 *count = num_experiments; |
1843 return experiments; | 1852 return experiments; |
1844 } | 1853 } |
1845 | 1854 |
1846 } // namespace testing | 1855 } // namespace testing |
1847 | 1856 |
1848 } // namespace about_flags | 1857 } // namespace about_flags |
OLD | NEW |