| 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 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 #endif | 905 #endif |
| 906 | 906 |
| 907 // Disable web audio API. | 907 // Disable web audio API. |
| 908 const char kDisableWebAudio[] = "disable-webaudio"; | 908 const char kDisableWebAudio[] = "disable-webaudio"; |
| 909 | 909 |
| 910 #if defined(OS_CHROMEOS) | 910 #if defined(OS_CHROMEOS) |
| 911 // Disables panel fitting (used for mirror mode). | 911 // Disables panel fitting (used for mirror mode). |
| 912 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 912 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| 913 | 913 |
| 914 // Enables VA-API accelerated video encode. | 914 // Enables VA-API accelerated video encode. |
| 915 const char kEnableVaapiAcceleratedVideoEncode[] = | 915 const char kDisableVaapiAcceleratedVideoEncode[] = |
| 916 "enable-vaapi-accelerated-video-encode"; | 916 "disable-vaapi-accelerated-video-encode"; |
| 917 #endif | 917 #endif |
| 918 | 918 |
| 919 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 919 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 920 // Allows sending text-to-speech requests to speech-dispatcher, a common | 920 // Allows sending text-to-speech requests to speech-dispatcher, a common |
| 921 // Linux speech service. Because it's buggy, the user must explicitly | 921 // Linux speech service. Because it's buggy, the user must explicitly |
| 922 // enable it so that visiting a random webpage can't cause instability. | 922 // enable it so that visiting a random webpage can't cause instability. |
| 923 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 923 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
| 924 #endif | 924 #endif |
| 925 | 925 |
| 926 #if defined(OS_MACOSX) && !defined(OS_IOS) | 926 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 943 // Enable the Win32K process mitigation policy for renderer processes which | 943 // Enable the Win32K process mitigation policy for renderer processes which |
| 944 // prevents them from invoking user32 and gdi32 system calls which enter | 944 // prevents them from invoking user32 and gdi32 system calls which enter |
| 945 // the kernel. This is only supported on Windows 8 and beyond. | 945 // the kernel. This is only supported on Windows 8 and beyond. |
| 946 const char kEnableWin32kRendererLockDown[] | 946 const char kEnableWin32kRendererLockDown[] |
| 947 = "enable_win32k_renderer_lockdown"; | 947 = "enable_win32k_renderer_lockdown"; |
| 948 #endif | 948 #endif |
| 949 | 949 |
| 950 // Don't dump stuff here, follow the same order as the header. | 950 // Don't dump stuff here, follow the same order as the header. |
| 951 | 951 |
| 952 } // namespace switches | 952 } // namespace switches |
| OLD | NEW |