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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 // Enables remote debug over HTTP on the specified socket name. | 929 // Enables remote debug over HTTP on the specified socket name. |
930 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 930 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
931 #endif | 931 #endif |
932 | 932 |
933 // Disable web audio API. | 933 // Disable web audio API. |
934 const char kDisableWebAudio[] = "disable-webaudio"; | 934 const char kDisableWebAudio[] = "disable-webaudio"; |
935 | 935 |
936 #if defined(OS_CHROMEOS) | 936 #if defined(OS_CHROMEOS) |
937 // Disables panel fitting (used for mirror mode). | 937 // Disables panel fitting (used for mirror mode). |
938 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 938 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 939 |
| 940 // Enables VA-API accelerated video encode. |
| 941 const char kEnableVaapiAcceleratedVideoEncode[] = |
| 942 "enable-vaapi-accelerated-video-encode"; |
939 #endif | 943 #endif |
940 | 944 |
941 #if defined(OS_MACOSX) && !defined(OS_IOS) | 945 #if defined(OS_MACOSX) && !defined(OS_IOS) |
942 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 946 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
943 | 947 |
944 // Disables support for Core Animation plugins. This is triggered when | 948 // Disables support for Core Animation plugins. This is triggered when |
945 // accelerated compositing is disabled. See http://crbug.com/122430 . | 949 // accelerated compositing is disabled. See http://crbug.com/122430 . |
946 const char kDisableCoreAnimationPlugins[] = | 950 const char kDisableCoreAnimationPlugins[] = |
947 "disable-core-animation-plugins"; | 951 "disable-core-animation-plugins"; |
948 #endif | 952 #endif |
(...skipping 14 matching lines...) Expand all Loading... |
963 // Enable the Win32K process mitigation policy for renderer processes which | 967 // Enable the Win32K process mitigation policy for renderer processes which |
964 // prevents them from invoking user32 and gdi32 system calls which enter | 968 // prevents them from invoking user32 and gdi32 system calls which enter |
965 // the kernel. This is only supported on Windows 8 and beyond. | 969 // the kernel. This is only supported on Windows 8 and beyond. |
966 const char kEnableWin32kRendererLockDown[] | 970 const char kEnableWin32kRendererLockDown[] |
967 = "enable_win32k_renderer_lockdown"; | 971 = "enable_win32k_renderer_lockdown"; |
968 #endif | 972 #endif |
969 | 973 |
970 // Don't dump stuff here, follow the same order as the header. | 974 // Don't dump stuff here, follow the same order as the header. |
971 | 975 |
972 } // namespace switches | 976 } // namespace switches |
OLD | NEW |