OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 "disable-gpu-driver-bug-workarounds"; | 100 "disable-gpu-driver-bug-workarounds"; |
101 | 101 |
102 // Disable the GPU process sandbox. | 102 // Disable the GPU process sandbox. |
103 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 103 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
104 | 104 |
105 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 105 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
106 // unload handlers on a page to prevent the tab from closing, but the Task | 106 // unload handlers on a page to prevent the tab from closing, but the Task |
107 // Manager can be used to terminate the offending process in this case. | 107 // Manager can be used to terminate the offending process in this case. |
108 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 108 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
109 | 109 |
| 110 // Disable the use of an ImageTransportSurface. This means the GPU process |
| 111 // will present the rendered page rather than the browser process. |
| 112 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; |
| 113 |
110 // Disable the thread that crashes the GPU process if it stops responding to | 114 // Disable the thread that crashes the GPU process if it stops responding to |
111 // messages. | 115 // messages. |
112 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 116 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
113 | 117 |
114 // Prevent Java from running. | 118 // Prevent Java from running. |
115 const char kDisableJava[] = "disable-java"; | 119 const char kDisableJava[] = "disable-java"; |
116 | 120 |
117 // Don't execute JavaScript (browser JS like the new tab page still runs). | 121 // Don't execute JavaScript (browser JS like the new tab page still runs). |
118 const char kDisableJavaScript[] = "disable-javascript"; | 122 const char kDisableJavaScript[] = "disable-javascript"; |
119 | 123 |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 // instead of NSS for SSL. | 553 // instead of NSS for SSL. |
550 const char kUseSystemSSL[] = "use-system-ssl"; | 554 const char kUseSystemSSL[] = "use-system-ssl"; |
551 #endif | 555 #endif |
552 | 556 |
553 #if !defined(OFFICIAL_BUILD) | 557 #if !defined(OFFICIAL_BUILD) |
554 // Causes the renderer process to throw an assertion on launch. | 558 // Causes the renderer process to throw an assertion on launch. |
555 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 559 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
556 #endif | 560 #endif |
557 | 561 |
558 } // namespace switches | 562 } // namespace switches |
OLD | NEW |