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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 "disable-webrtc", | 394 "disable-webrtc", |
395 IDS_FLAGS_DISABLE_WEBRTC_NAME, | 395 IDS_FLAGS_DISABLE_WEBRTC_NAME, |
396 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 396 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
397 kOsAndroid, | 397 kOsAndroid, |
398 #if defined(OS_ANDROID) | 398 #if defined(OS_ANDROID) |
399 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 399 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
400 #else | 400 #else |
401 SINGLE_VALUE_TYPE("") | 401 SINGLE_VALUE_TYPE("") |
402 #endif | 402 #endif |
403 }, | 403 }, |
| 404 #if defined(OS_ANDROID) |
| 405 { |
| 406 "enable-webaudio", |
| 407 IDS_FLAGS_ENABLE_WEBAUDIO_NAME, |
| 408 IDS_FLAGS_ENABLE_WEBAUDIO_DESCRIPTION, |
| 409 kOsAndroid, |
| 410 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) |
| 411 }, |
| 412 #endif |
404 { | 413 { |
405 "fixed-position-creates-stacking-context", | 414 "fixed-position-creates-stacking-context", |
406 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, | 415 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_NAME, |
407 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, | 416 IDS_FLAGS_FIXED_POSITION_CREATES_STACKING_CONTEXT_DESCRIPTION, |
408 kOsAll, | 417 kOsAll, |
409 ENABLE_DISABLE_VALUE_TYPE( | 418 ENABLE_DISABLE_VALUE_TYPE( |
410 switches::kEnableFixedPositionCreatesStackingContext, | 419 switches::kEnableFixedPositionCreatesStackingContext, |
411 switches::kDisableFixedPositionCreatesStackingContext) | 420 switches::kDisableFixedPositionCreatesStackingContext) |
412 }, | 421 }, |
413 { | 422 { |
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1763 } | 1772 } |
1764 | 1773 |
1765 const Experiment* GetExperiments(size_t* count) { | 1774 const Experiment* GetExperiments(size_t* count) { |
1766 *count = num_experiments; | 1775 *count = num_experiments; |
1767 return experiments; | 1776 return experiments; |
1768 } | 1777 } |
1769 | 1778 |
1770 } // namespace testing | 1779 } // namespace testing |
1771 | 1780 |
1772 } // namespace about_flags | 1781 } // namespace about_flags |
OLD | NEW |