| 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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 // Enables remote debug over HTTP on the specified socket name. | 919 // Enables remote debug over HTTP on the specified socket name. |
| 920 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 920 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
| 921 #endif | 921 #endif |
| 922 | 922 |
| 923 // Disable web audio API. | 923 // Disable web audio API. |
| 924 const char kDisableWebAudio[] = "disable-webaudio"; | 924 const char kDisableWebAudio[] = "disable-webaudio"; |
| 925 | 925 |
| 926 #if defined(OS_CHROMEOS) | 926 #if defined(OS_CHROMEOS) |
| 927 // Disables panel fitting (used for mirror mode). | 927 // Disables panel fitting (used for mirror mode). |
| 928 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 928 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 929 | |
| 930 // Enables VA-API accelerated video encode. | |
| 931 const char kEnableVaapiAcceleratedVideoEncode[] = | |
| 932 "enable-vaapi-accelerated-video-encode"; | |
| 933 #endif | 929 #endif |
| 934 | 930 |
| 935 #if defined(OS_MACOSX) && !defined(OS_IOS) | 931 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 936 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 932 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
| 937 | 933 |
| 938 // Disables support for Core Animation plugins. This is triggered when | 934 // Disables support for Core Animation plugins. This is triggered when |
| 939 // accelerated compositing is disabled. See http://crbug.com/122430 . | 935 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 940 const char kDisableCoreAnimationPlugins[] = | 936 const char kDisableCoreAnimationPlugins[] = |
| 941 "disable-core-animation-plugins"; | 937 "disable-core-animation-plugins"; |
| 942 #endif | 938 #endif |
| (...skipping 14 matching lines...) Expand all Loading... |
| 957 // Enable the Win32K process mitigation policy for renderer processes which | 953 // Enable the Win32K process mitigation policy for renderer processes which |
| 958 // prevents them from invoking user32 and gdi32 system calls which enter | 954 // prevents them from invoking user32 and gdi32 system calls which enter |
| 959 // the kernel. This is only supported on Windows 8 and beyond. | 955 // the kernel. This is only supported on Windows 8 and beyond. |
| 960 const char kEnableWin32kRendererLockDown[] | 956 const char kEnableWin32kRendererLockDown[] |
| 961 = "enable_win32k_renderer_lockdown"; | 957 = "enable_win32k_renderer_lockdown"; |
| 962 #endif | 958 #endif |
| 963 | 959 |
| 964 // Don't dump stuff here, follow the same order as the header. | 960 // Don't dump stuff here, follow the same order as the header. |
| 965 | 961 |
| 966 } // namespace switches | 962 } // namespace switches |
| OLD | NEW |