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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 // Disables the Web Notification and the Push APIs. | 198 // Disables the Web Notification and the Push APIs. |
199 const char kDisableNotifications[] = "disable-notifications"; | 199 const char kDisableNotifications[] = "disable-notifications"; |
200 | 200 |
201 // Disable Pepper3D. | 201 // Disable Pepper3D. |
202 const char kDisablePepper3d[] = "disable-pepper-3d"; | 202 const char kDisablePepper3d[] = "disable-pepper-3d"; |
203 | 203 |
204 // Disables the Permissions API. | 204 // Disables the Permissions API. |
205 const char kDisablePermissionsAPI[] = "disable-permissions-api"; | 205 const char kDisablePermissionsAPI[] = "disable-permissions-api"; |
206 | 206 |
207 // Disables the use of persistent GPU memory buffers for partial raster. | |
208 const char kDisablePersistentGpuMemoryBuffer[] = | |
209 "disable-persistent-gpu-memory-buffer"; | |
210 | |
211 // Disables compositor-accelerated touch-screen pinch gestures. | 207 // Disables compositor-accelerated touch-screen pinch gestures. |
212 const char kDisablePinch[] = "disable-pinch"; | 208 const char kDisablePinch[] = "disable-pinch"; |
213 | 209 |
214 // Disable discovering third-party plugins. Effectively loading only | 210 // Disable discovering third-party plugins. Effectively loading only |
215 // ones shipped with the browser plus third-party ones as specified by | 211 // ones shipped with the browser plus third-party ones as specified by |
216 // --extra-plugin-dir and --load-plugin switches. | 212 // --extra-plugin-dir and --load-plugin switches. |
217 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; | 213 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; |
218 | 214 |
219 // Disables the Presentation API. | 215 // Disables the Presentation API. |
220 const char kDisablePresentationAPI[] = "disable-presentation-api"; | 216 const char kDisablePresentationAPI[] = "disable-presentation-api"; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // Force logging to be enabled. Logging is disabled by default in release | 362 // Force logging to be enabled. Logging is disabled by default in release |
367 // builds. | 363 // builds. |
368 const char kEnableLogging[] = "enable-logging"; | 364 const char kEnableLogging[] = "enable-logging"; |
369 | 365 |
370 // Enables the memory benchmarking extension | 366 // Enables the memory benchmarking extension |
371 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 367 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
372 | 368 |
373 // Enables the network information API. | 369 // Enables the network information API. |
374 const char kEnableNetworkInformation[] = "enable-network-information"; | 370 const char kEnableNetworkInformation[] = "enable-network-information"; |
375 | 371 |
376 // Enables the use of persistent GPU memory buffers for partial raster. | 372 // Enables partial raster. Enabling this switch also enables the use of |
377 const char kEnablePersistentGpuMemoryBuffer[] = | 373 // persistent gpu memory buffers. |
378 "enable-persistent-gpu-memory-buffer"; | 374 const char kEnablePartialRaster[] = "enable-partial-raster"; |
379 | 375 |
380 // Enables compositor-accelerated touch-screen pinch gestures. | 376 // Enables compositor-accelerated touch-screen pinch gestures. |
381 const char kEnablePinch[] = "enable-pinch"; | 377 const char kEnablePinch[] = "enable-pinch"; |
382 | 378 |
383 // Enables testing features of the Plugin Placeholder. For internal use only. | 379 // Enables testing features of the Plugin Placeholder. For internal use only. |
384 const char kEnablePluginPlaceholderTesting[] = | 380 const char kEnablePluginPlaceholderTesting[] = |
385 "enable-plugin-placeholder-testing"; | 381 "enable-plugin-placeholder-testing"; |
386 | 382 |
387 // Make the values returned to window.performance.memory more granular and more | 383 // Make the values returned to window.performance.memory more granular and more |
388 // up to date in shared worker. Without this flag, the memory information is | 384 // up to date in shared worker. Without this flag, the memory information is |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 967 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
972 | 968 |
973 // Enables the exporting of the tracing events to ETW. This is only supported on | 969 // Enables the exporting of the tracing events to ETW. This is only supported on |
974 // Windows Vista and later. | 970 // Windows Vista and later. |
975 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 971 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
976 #endif | 972 #endif |
977 | 973 |
978 // Don't dump stuff here, follow the same order as the header. | 974 // Don't dump stuff here, follow the same order as the header. |
979 | 975 |
980 } // namespace switches | 976 } // namespace switches |
OLD | NEW |