| 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 #endif | 919 #endif |
| 920 | 920 |
| 921 // Disable web audio API. | 921 // Disable web audio API. |
| 922 const char kDisableWebAudio[] = "disable-webaudio"; | 922 const char kDisableWebAudio[] = "disable-webaudio"; |
| 923 | 923 |
| 924 #if defined(OS_CHROMEOS) | 924 #if defined(OS_CHROMEOS) |
| 925 // Disables panel fitting (used for mirror mode). | 925 // Disables panel fitting (used for mirror mode). |
| 926 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 926 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 927 | 927 |
| 928 // Enables VA-API accelerated video encode. | 928 // Enables VA-API accelerated video encode. |
| 929 const char kEnableVaapiAcceleratedVideoEncode[] = | 929 const char kDisableVaapiAcceleratedVideoEncode[] = |
| 930 "enable-vaapi-accelerated-video-encode"; | 930 "disable-vaapi-accelerated-video-encode"; |
| 931 #endif | 931 #endif |
| 932 | 932 |
| 933 #if defined(OS_MACOSX) && !defined(OS_IOS) | 933 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 934 // Disables support for Core Animation plugins. This is triggered when | 934 // Disables support for Core Animation plugins. This is triggered when |
| 935 // accelerated compositing is disabled. See http://crbug.com/122430 . | 935 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 936 const char kDisableCoreAnimationPlugins[] = | 936 const char kDisableCoreAnimationPlugins[] = |
| 937 "disable-core-animation-plugins"; | 937 "disable-core-animation-plugins"; |
| 938 #endif | 938 #endif |
| 939 | 939 |
| 940 #if defined(OS_WIN) | 940 #if defined(OS_WIN) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 953 // Enable the Win32K process mitigation policy for renderer processes which | 953 // Enable the Win32K process mitigation policy for renderer processes which |
| 954 // prevents them from invoking user32 and gdi32 system calls which enter | 954 // prevents them from invoking user32 and gdi32 system calls which enter |
| 955 // the kernel. This is only supported on Windows 8 and beyond. | 955 // the kernel. This is only supported on Windows 8 and beyond. |
| 956 const char kEnableWin32kRendererLockDown[] | 956 const char kEnableWin32kRendererLockDown[] |
| 957 = "enable_win32k_renderer_lockdown"; | 957 = "enable_win32k_renderer_lockdown"; |
| 958 #endif | 958 #endif |
| 959 | 959 |
| 960 // 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. |
| 961 | 961 |
| 962 } // namespace switches | 962 } // namespace switches |
| OLD | NEW |