| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // See comment for kEnableCompositingForTransition. | 107 // See comment for kEnableCompositingForTransition. |
| 108 const char kDisableCompositingForTransition[] = | 108 const char kDisableCompositingForTransition[] = |
| 109 "disable-transition-compositing"; | 109 "disable-transition-compositing"; |
| 110 | 110 |
| 111 // Disables HTML5 DB support. | 111 // Disables HTML5 DB support. |
| 112 const char kDisableDatabases[] = "disable-databases"; | 112 const char kDisableDatabases[] = "disable-databases"; |
| 113 | 113 |
| 114 // Disables delegated renderer. | 114 // Disables delegated renderer. |
| 115 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; | 115 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; |
| 116 | 116 |
| 117 // Disables desktop notifications (default enabled on windows). | |
| 118 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | |
| 119 | |
| 120 // Handles URL requests by NPAPI plugins through the renderer. | 117 // Handles URL requests by NPAPI plugins through the renderer. |
| 121 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 118 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
| 122 | 119 |
| 123 // Disable the per-domain blocking for 3D APIs after GPU reset. | 120 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 124 // This switch is intended only for tests. | 121 // This switch is intended only for tests. |
| 125 extern const char kDisableDomainBlockingFor3DAPIs[] = | 122 extern const char kDisableDomainBlockingFor3DAPIs[] = |
| 126 "disable-domain-blocking-for-3d-apis"; | 123 "disable-domain-blocking-for-3d-apis"; |
| 127 | 124 |
| 128 // Disable experimental WebGL support. | 125 // Disable experimental WebGL support. |
| 129 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 126 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 // Enable the Win32K process mitigation policy for renderer processes which | 958 // Enable the Win32K process mitigation policy for renderer processes which |
| 962 // prevents them from invoking user32 and gdi32 system calls which enter | 959 // prevents them from invoking user32 and gdi32 system calls which enter |
| 963 // the kernel. This is only supported on Windows 8 and beyond. | 960 // the kernel. This is only supported on Windows 8 and beyond. |
| 964 const char kEnableWin32kRendererLockDown[] | 961 const char kEnableWin32kRendererLockDown[] |
| 965 = "enable_win32k_renderer_lockdown"; | 962 = "enable_win32k_renderer_lockdown"; |
| 966 #endif | 963 #endif |
| 967 | 964 |
| 968 // Don't dump stuff here, follow the same order as the header. | 965 // Don't dump stuff here, follow the same order as the header. |
| 969 | 966 |
| 970 } // namespace switches | 967 } // namespace switches |
| OLD | NEW |