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"; | |
930 #endif | 926 #endif |
931 | 927 |
932 #if defined(OS_MACOSX) && !defined(OS_IOS) | 928 #if defined(OS_MACOSX) && !defined(OS_IOS) |
933 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 929 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
934 | 930 |
935 // Disables support for Core Animation plugins. This is triggered when | 931 // Disables support for Core Animation plugins. This is triggered when |
936 // accelerated compositing is disabled. See http://crbug.com/122430 . | 932 // accelerated compositing is disabled. See http://crbug.com/122430 . |
937 const char kDisableCoreAnimationPlugins[] = | 933 const char kDisableCoreAnimationPlugins[] = |
938 "disable-core-animation-plugins"; | 934 "disable-core-animation-plugins"; |
939 #endif | 935 #endif |
(...skipping 14 matching lines...) Expand all Loading... |
954 // Enable the Win32K process mitigation policy for renderer processes which | 950 // Enable the Win32K process mitigation policy for renderer processes which |
955 // prevents them from invoking user32 and gdi32 system calls which enter | 951 // prevents them from invoking user32 and gdi32 system calls which enter |
956 // the kernel. This is only supported on Windows 8 and beyond. | 952 // the kernel. This is only supported on Windows 8 and beyond. |
957 const char kEnableWin32kRendererLockDown[] | 953 const char kEnableWin32kRendererLockDown[] |
958 = "enable_win32k_renderer_lockdown"; | 954 = "enable_win32k_renderer_lockdown"; |
959 #endif | 955 #endif |
960 | 956 |
961 // Don't dump stuff here, follow the same order as the header. | 957 // Don't dump stuff here, follow the same order as the header. |
962 | 958 |
963 } // namespace switches | 959 } // namespace switches |
OLD | NEW |