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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 | 866 |
867 // Enable WebRTC DataChannels SCTP wire protocol support. | 867 // Enable WebRTC DataChannels SCTP wire protocol support. |
868 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; | 868 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; |
869 | 869 |
870 // Enables WebRTC AEC recordings. | 870 // Enables WebRTC AEC recordings. |
871 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 871 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
872 | 872 |
873 // Enables HW decode acceleration for WebRTC. | 873 // Enables HW decode acceleration for WebRTC. |
874 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; | 874 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
875 | 875 |
| 876 // Enables HW encode acceleration for WebRTC. |
| 877 const char kEnableWebRtcHWEncoding[] = "enable-webrtc-hw-encoding"; |
| 878 |
876 #endif | 879 #endif |
877 | 880 |
878 #if defined(OS_ANDROID) | 881 #if defined(OS_ANDROID) |
879 // Disables device motion events. | 882 // Disables device motion events. |
880 const char kDisableDeviceMotion[] = "disable-device-motion"; | 883 const char kDisableDeviceMotion[] = "disable-device-motion"; |
881 | 884 |
882 // Disable user gesture requirement for media playback. | 885 // Disable user gesture requirement for media playback. |
883 const char kDisableGestureRequirementForMediaPlayback[] = | 886 const char kDisableGestureRequirementForMediaPlayback[] = |
884 "disable-gesture-requirement-for-media-playback"; | 887 "disable-gesture-requirement-for-media-playback"; |
885 | 888 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 // Forces usage of the test compositor. Needed to run ui tests on bots. | 935 // Forces usage of the test compositor. Needed to run ui tests on bots. |
933 extern const char kTestCompositor[] = "test-compositor"; | 936 extern const char kTestCompositor[] = "test-compositor"; |
934 #endif | 937 #endif |
935 | 938 |
936 // Don't dump stuff here, follow the same order as the header. | 939 // Don't dump stuff here, follow the same order as the header. |
937 | 940 |
938 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 941 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
939 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 942 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
940 | 943 |
941 } // namespace switches | 944 } // namespace switches |
OLD | NEW |