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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 | 863 |
864 // Enable WebRTC DataChannels SCTP wire protocol support. | 864 // Enable WebRTC DataChannels SCTP wire protocol support. |
865 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; | 865 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; |
866 | 866 |
867 // Enables WebRTC AEC recordings. | 867 // Enables WebRTC AEC recordings. |
868 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 868 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
869 | 869 |
870 // Enables HW decode acceleration for WebRTC. | 870 // Enables HW decode acceleration for WebRTC. |
871 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; | 871 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
872 | 872 |
| 873 // Enables HW encode acceleration for WebRTC. |
| 874 const char kEnableWebRtcHWEncoding[] = "enable-webrtc-hw-encoding"; |
| 875 |
873 #endif | 876 #endif |
874 | 877 |
875 #if defined(OS_ANDROID) | 878 #if defined(OS_ANDROID) |
876 // Disables device motion events. | 879 // Disables device motion events. |
877 const char kDisableDeviceMotion[] = "disable-device-motion"; | 880 const char kDisableDeviceMotion[] = "disable-device-motion"; |
878 | 881 |
879 // Disable user gesture requirement for media playback. | 882 // Disable user gesture requirement for media playback. |
880 const char kDisableGestureRequirementForMediaPlayback[] = | 883 const char kDisableGestureRequirementForMediaPlayback[] = |
881 "disable-gesture-requirement-for-media-playback"; | 884 "disable-gesture-requirement-for-media-playback"; |
882 | 885 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 #endif | 929 #endif |
927 | 930 |
928 #if defined(USE_AURA) | 931 #if defined(USE_AURA) |
929 // Forces usage of the test compositor. Needed to run ui tests on bots. | 932 // Forces usage of the test compositor. Needed to run ui tests on bots. |
930 extern const char kTestCompositor[] = "test-compositor"; | 933 extern const char kTestCompositor[] = "test-compositor"; |
931 #endif | 934 #endif |
932 | 935 |
933 // Don't dump stuff here, follow the same order as the header. | 936 // Don't dump stuff here, follow the same order as the header. |
934 | 937 |
935 } // namespace switches | 938 } // namespace switches |
OLD | NEW |