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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 const char kDisableLowResTiling[] = "disable-low-res-tiling"; | 169 const char kDisableLowResTiling[] = "disable-low-res-tiling"; |
170 | 170 |
171 // Disable the GPU process sandbox. | 171 // Disable the GPU process sandbox. |
172 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 172 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
173 | 173 |
174 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 174 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
175 // unload handlers on a page to prevent the tab from closing, but the Task | 175 // unload handlers on a page to prevent the tab from closing, but the Task |
176 // Manager can be used to terminate the offending process in this case. | 176 // Manager can be used to terminate the offending process in this case. |
177 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 177 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
178 | 178 |
179 // Disable hiding the close buttons of inactive tabs when the tabstrip is in | |
180 // stacked mode. | |
181 const char kDisableHideInactiveStackedTabCloseButtons[] = | |
182 "disable-hide-inactive-stacked-tab-close-buttons"; | |
183 | |
184 // Disable the RenderThread's HistogramCustomizer. | 179 // Disable the RenderThread's HistogramCustomizer. |
185 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; | 180 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; |
186 | 181 |
187 // Don't kill a child process when it sends a bad IPC message. Apart | 182 // Don't kill a child process when it sends a bad IPC message. Apart |
188 // from testing, it is a bad idea from a security perspective to enable | 183 // from testing, it is a bad idea from a security perspective to enable |
189 // this switch. | 184 // this switch. |
190 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; | 185 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; |
191 | 186 |
192 // Disables LCD text. | 187 // Disables LCD text. |
193 const char kDisableLCDText[] = "disable-lcd-text"; | 188 const char kDisableLCDText[] = "disable-lcd-text"; |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 // The flag tells the sandbox initialization code inside Chrome that the sandbox | 1076 // The flag tells the sandbox initialization code inside Chrome that the sandbox |
1082 // should already be enabled. | 1077 // should already be enabled. |
1083 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as | 1078 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as |
1084 // processes will be assumed to run under the V2 sandbox. | 1079 // processes will be assumed to run under the V2 sandbox. |
1085 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; | 1080 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; |
1086 #endif // defined(OS_MACOSX) | 1081 #endif // defined(OS_MACOSX) |
1087 | 1082 |
1088 // Don't dump stuff here, follow the same order as the header. | 1083 // Don't dump stuff here, follow the same order as the header. |
1089 | 1084 |
1090 } // namespace switches | 1085 } // namespace switches |
OLD | NEW |