| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 123 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 124 | 124 |
| 125 // Handles URL requests by NPAPI plugins through the renderer. | 125 // Handles URL requests by NPAPI plugins through the renderer. |
| 126 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 126 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
| 127 | 127 |
| 128 // Disable the per-domain blocking for 3D APIs after GPU reset. | 128 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 129 // This switch is intended only for tests. | 129 // This switch is intended only for tests. |
| 130 extern const char kDisableDomainBlockingFor3DAPIs[] = | 130 extern const char kDisableDomainBlockingFor3DAPIs[] = |
| 131 "disable-domain-blocking-for-3d-apis"; | 131 "disable-domain-blocking-for-3d-apis"; |
| 132 | 132 |
| 133 // Disable running the SharedWorker inside the renderer process. | |
| 134 const char kDisableEmbeddedSharedWorker[] = "disable-embedded-shared-worker"; | |
| 135 | |
| 136 // Disable experimental WebGL support. | 133 // Disable experimental WebGL support. |
| 137 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 134 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 138 | 135 |
| 139 // Disable the fast text autosizing implementation. | 136 // Disable the fast text autosizing implementation. |
| 140 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; | 137 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; |
| 141 | 138 |
| 142 // Disable FileSystem API. | 139 // Disable FileSystem API. |
| 143 const char kDisableFileSystem[] = "disable-file-system"; | 140 const char kDisableFileSystem[] = "disable-file-system"; |
| 144 | 141 |
| 145 // Disable 3D inside of flapper. | 142 // Disable 3D inside of flapper. |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 // Enable the Win32K process mitigation policy for renderer processes which | 944 // Enable the Win32K process mitigation policy for renderer processes which |
| 948 // prevents them from invoking user32 and gdi32 system calls which enter | 945 // prevents them from invoking user32 and gdi32 system calls which enter |
| 949 // the kernel. This is only supported on Windows 8 and beyond. | 946 // the kernel. This is only supported on Windows 8 and beyond. |
| 950 const char kEnableWin32kRendererLockDown[] | 947 const char kEnableWin32kRendererLockDown[] |
| 951 = "enable_win32k_renderer_lockdown"; | 948 = "enable_win32k_renderer_lockdown"; |
| 952 #endif | 949 #endif |
| 953 | 950 |
| 954 // Don't dump stuff here, follow the same order as the header. | 951 // Don't dump stuff here, follow the same order as the header. |
| 955 | 952 |
| 956 } // namespace switches | 953 } // namespace switches |
| OLD | NEW |