| 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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // Enables remote debug over HTTP on the specified socket name. | 938 // Enables remote debug over HTTP on the specified socket name. |
| 939 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 939 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
| 940 #endif | 940 #endif |
| 941 | 941 |
| 942 // Disable web audio API. | 942 // Disable web audio API. |
| 943 const char kDisableWebAudio[] = "disable-webaudio"; | 943 const char kDisableWebAudio[] = "disable-webaudio"; |
| 944 | 944 |
| 945 #if defined(OS_CHROMEOS) | 945 #if defined(OS_CHROMEOS) |
| 946 // Disables panel fitting (used for mirror mode). | 946 // Disables panel fitting (used for mirror mode). |
| 947 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 947 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 948 |
| 949 // Enables VA-API accelerated video encode. |
| 950 const char kEnableVaapiAcceleratedVideoEncode[] = |
| 951 "enable-vaapi-accelerated-video-encode"; |
| 948 #endif | 952 #endif |
| 949 | 953 |
| 950 #if defined(OS_MACOSX) && !defined(OS_IOS) | 954 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 951 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 955 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
| 952 | 956 |
| 953 // Disables support for Core Animation plugins. This is triggered when | 957 // Disables support for Core Animation plugins. This is triggered when |
| 954 // accelerated compositing is disabled. See http://crbug.com/122430 . | 958 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 955 const char kDisableCoreAnimationPlugins[] = | 959 const char kDisableCoreAnimationPlugins[] = |
| 956 "disable-core-animation-plugins"; | 960 "disable-core-animation-plugins"; |
| 957 #endif | 961 #endif |
| (...skipping 14 matching lines...) Expand all Loading... |
| 972 // Enable the Win32K process mitigation policy for renderer processes which | 976 // Enable the Win32K process mitigation policy for renderer processes which |
| 973 // prevents them from invoking user32 and gdi32 system calls which enter | 977 // prevents them from invoking user32 and gdi32 system calls which enter |
| 974 // the kernel. This is only supported on Windows 8 and beyond. | 978 // the kernel. This is only supported on Windows 8 and beyond. |
| 975 const char kEnableWin32kRendererLockDown[] | 979 const char kEnableWin32kRendererLockDown[] |
| 976 = "enable_win32k_renderer_lockdown"; | 980 = "enable_win32k_renderer_lockdown"; |
| 977 #endif | 981 #endif |
| 978 | 982 |
| 979 // Don't dump stuff here, follow the same order as the header. | 983 // Don't dump stuff here, follow the same order as the header. |
| 980 | 984 |
| 981 } // namespace switches | 985 } // namespace switches |
| OLD | NEW |