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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 const char kDisableGpuAsyncWorkerContext[] = "disable-gpu-async-worker-context"; | 167 const char kDisableGpuAsyncWorkerContext[] = "disable-gpu-async-worker-context"; |
168 | 168 |
169 // When using CPU rasterizing disable low resolution tiling. This uses | 169 // When using CPU rasterizing disable low resolution tiling. This uses |
170 // less power, particularly during animations, but more white may be seen | 170 // less power, particularly during animations, but more white may be seen |
171 // during fast scrolling especially on slower devices. | 171 // during fast scrolling especially on slower devices. |
172 const char kDisableLowResTiling[] = "disable-low-res-tiling"; | 172 const char kDisableLowResTiling[] = "disable-low-res-tiling"; |
173 | 173 |
174 // Disable the GPU process sandbox. | 174 // Disable the GPU process sandbox. |
175 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 175 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
176 | 176 |
177 // Disable GPU service scheduler. | |
178 const char kDisableGpuScheduler[] = "disable-gpu-scheduler"; | |
179 | |
180 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 177 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
181 // unload handlers on a page to prevent the tab from closing, but the Task | 178 // unload handlers on a page to prevent the tab from closing, but the Task |
182 // Manager can be used to terminate the offending process in this case. | 179 // Manager can be used to terminate the offending process in this case. |
183 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 180 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
184 | 181 |
185 // Disable hiding the close buttons of inactive tabs when the tabstrip is in | 182 // Disable hiding the close buttons of inactive tabs when the tabstrip is in |
186 // stacked mode. | 183 // stacked mode. |
187 const char kDisableHideInactiveStackedTabCloseButtons[] = | 184 const char kDisableHideInactiveStackedTabCloseButtons[] = |
188 "disable-hide-inactive-stacked-tab-close-buttons"; | 185 "disable-hide-inactive-stacked-tab-close-buttons"; |
189 | 186 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 // WebFonts intervention v2 flag and values. | 383 // WebFonts intervention v2 flag and values. |
387 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; | 384 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; |
388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = | 385 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = |
389 "enabled-2g"; | 386 "enabled-2g"; |
390 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = | 387 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = |
391 "enabled-3g"; | 388 "enabled-3g"; |
392 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = | 389 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = |
393 "enabled-slow2g"; | 390 "enabled-slow2g"; |
394 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; | 391 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; |
395 | 392 |
396 // Enables GPU channel scheduler. | |
397 const char kEnableGpuScheduler[] = "enable-gpu-scheduler"; | |
398 | |
399 // Makes the GL worker context run asynchronously by using a separate stream. | 393 // Makes the GL worker context run asynchronously by using a separate stream. |
400 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; | 394 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; |
401 | 395 |
402 // Specify that all compositor resources should be backed by GPU memory buffers. | 396 // Specify that all compositor resources should be backed by GPU memory buffers. |
403 const char kEnableGpuMemoryBufferCompositorResources[] = | 397 const char kEnableGpuMemoryBufferCompositorResources[] = |
404 "enable-gpu-memory-buffer-compositor-resources"; | 398 "enable-gpu-memory-buffer-compositor-resources"; |
405 | 399 |
406 // Enable GpuMemoryBuffer backed VideoFrames. | 400 // Enable GpuMemoryBuffer backed VideoFrames. |
407 const char kEnableGpuMemoryBufferVideoFrames[] = | 401 const char kEnableGpuMemoryBufferVideoFrames[] = |
408 "enable-gpu-memory-buffer-video-frames"; | 402 "enable-gpu-memory-buffer-video-frames"; |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1082 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1089 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1090 | 1084 |
1091 // Specifies the testcase used by the IPC fuzzer. | 1085 // Specifies the testcase used by the IPC fuzzer. |
1092 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1093 #endif | 1087 #endif |
1094 | 1088 |
1095 // Don't dump stuff here, follow the same order as the header. | 1089 // Don't dump stuff here, follow the same order as the header. |
1096 | 1090 |
1097 } // namespace switches | 1091 } // namespace switches |
OLD | NEW |