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