| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 | 372 |
| 373 // Enable rasterizer that writes directly to GPU memory. | 373 // Enable rasterizer that writes directly to GPU memory. |
| 374 const char kEnableOneCopy[] = "enable-one-copy"; | 374 const char kEnableOneCopy[] = "enable-one-copy"; |
| 375 | 375 |
| 376 // Enables use of hardware overlay for fullscreen video playback. Android only. | 376 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 377 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 377 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| 378 | 378 |
| 379 // Enables compositor-accelerated touch-screen pinch gestures. | 379 // Enables compositor-accelerated touch-screen pinch gestures. |
| 380 const char kEnablePinch[] = "enable-pinch"; | 380 const char kEnablePinch[] = "enable-pinch"; |
| 381 | 381 |
| 382 // Enables testing features of the Plugin Placeholder. For internal use only. |
| 383 const char kEnablePluginPlaceholderTesting[] = |
| 384 "enable-plugin-placeholder-testing"; |
| 385 |
| 382 // Make the values returned to window.performance.memory more granular and more | 386 // Make the values returned to window.performance.memory more granular and more |
| 383 // up to date in shared worker. Without this flag, the memory information is | 387 // up to date in shared worker. Without this flag, the memory information is |
| 384 // still available, but it is bucketized and updated less frequently. This flag | 388 // still available, but it is bucketized and updated less frequently. This flag |
| 385 // also applys to workers. | 389 // also applys to workers. |
| 386 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 390 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
| 387 | 391 |
| 388 // Enables payloads for received push messages when using the W3C Push API. | 392 // Enables payloads for received push messages when using the W3C Push API. |
| 389 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; | 393 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; |
| 390 | 394 |
| 391 // Enable hasPermission() method of the W3C Push API. | 395 // Enable hasPermission() method of the W3C Push API. |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 // Windows Vista and later. | 1003 // Windows Vista and later. |
| 1000 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1004 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1001 #endif | 1005 #endif |
| 1002 | 1006 |
| 1003 // Enables the use of NPAPI plugins. | 1007 // Enables the use of NPAPI plugins. |
| 1004 const char kEnableNpapi[] = "enable-npapi"; | 1008 const char kEnableNpapi[] = "enable-npapi"; |
| 1005 | 1009 |
| 1006 // Don't dump stuff here, follow the same order as the header. | 1010 // Don't dump stuff here, follow the same order as the header. |
| 1007 | 1011 |
| 1008 } // namespace switches | 1012 } // namespace switches |
| OLD | NEW |