| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 // Disables HTML5 DB support. | 116 // Disables HTML5 DB support. |
| 117 const char kDisableDatabases[] = "disable-databases"; | 117 const char kDisableDatabases[] = "disable-databases"; |
| 118 | 118 |
| 119 // Disables delegated renderer. | 119 // Disables delegated renderer. |
| 120 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; | 120 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; |
| 121 | 121 |
| 122 // Disables desktop notifications (default enabled on windows). | 122 // Disables desktop notifications (default enabled on windows). |
| 123 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 123 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 124 | 124 |
| 125 // Disables experimental navigator content utils implementation. | |
| 126 const char kDisableNavigatorContentUtils[] = | |
| 127 "disable-navigator-content-utils"; | |
| 128 | |
| 129 // Handles URL requests by NPAPI plugins through the renderer. | 125 // Handles URL requests by NPAPI plugins through the renderer. |
| 130 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 126 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
| 131 | 127 |
| 132 // Disable the per-domain blocking for 3D APIs after GPU reset. | 128 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 133 // This switch is intended only for tests. | 129 // This switch is intended only for tests. |
| 134 extern const char kDisableDomainBlockingFor3DAPIs[] = | 130 extern const char kDisableDomainBlockingFor3DAPIs[] = |
| 135 "disable-domain-blocking-for-3d-apis"; | 131 "disable-domain-blocking-for-3d-apis"; |
| 136 | 132 |
| 137 // Disable running the SharedWorker inside the renderer process. | 133 // Disable running the SharedWorker inside the renderer process. |
| 138 const char kDisableEmbeddedSharedWorker[] = "disable-embedded-shared-worker"; | 134 const char kDisableEmbeddedSharedWorker[] = "disable-embedded-shared-worker"; |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 // Enable the Win32K process mitigation policy for renderer processes which | 944 // Enable the Win32K process mitigation policy for renderer processes which |
| 949 // prevents them from invoking user32 and gdi32 system calls which enter | 945 // prevents them from invoking user32 and gdi32 system calls which enter |
| 950 // the kernel. This is only supported on Windows 8 and beyond. | 946 // the kernel. This is only supported on Windows 8 and beyond. |
| 951 const char kEnableWin32kRendererLockDown[] | 947 const char kEnableWin32kRendererLockDown[] |
| 952 = "enable_win32k_renderer_lockdown"; | 948 = "enable_win32k_renderer_lockdown"; |
| 953 #endif | 949 #endif |
| 954 | 950 |
| 955 // 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. |
| 956 | 952 |
| 957 } // namespace switches | 953 } // namespace switches |
| OLD | NEW |