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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 // Enables support for inband text tracks in media content. | 440 // Enables support for inband text tracks in media content. |
441 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 441 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
442 | 442 |
443 // Force logging to be enabled. Logging is disabled by default in release | 443 // Force logging to be enabled. Logging is disabled by default in release |
444 // builds. | 444 // builds. |
445 const char kEnableLogging[] = "enable-logging"; | 445 const char kEnableLogging[] = "enable-logging"; |
446 | 446 |
447 // Enables the memory benchmarking extension | 447 // Enables the memory benchmarking extension |
448 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 448 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
449 | 449 |
450 // Make the values returned to window.performance.memory more granular and more | |
451 // up to date in shared worker. Without this flag, the memory information is | |
452 // still available, but it is bucketized and updated less frequently. | |
453 const char kEnableSharedWorkerMemoryInfo[] = | |
454 "enable-shared-worker-memory-info"; | |
455 | |
456 // On Windows, converts the page to the currently-installed monitor profile. | 450 // On Windows, converts the page to the currently-installed monitor profile. |
457 // This does NOT enable color management for images. The source is still | 451 // This does NOT enable color management for images. The source is still |
458 // assumed to be sRGB. | 452 // assumed to be sRGB. |
459 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 453 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
460 | 454 |
461 // Enables use of cache if offline, even if it's stale | 455 // Enables use of cache if offline, even if it's stale |
462 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 456 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
463 | 457 |
464 // Enable rasterizer that writes directly to GPU memory. | 458 // Enable rasterizer that writes directly to GPU memory. |
465 const char kEnableOneCopy[] = "enable-one-copy"; | 459 const char kEnableOneCopy[] = "enable-one-copy"; |
466 | 460 |
467 // Enables use of hardware overlay for fullscreen video playback. Android only. | 461 // Enables use of hardware overlay for fullscreen video playback. Android only. |
468 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 462 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
469 | 463 |
470 // Disables blink subtitle and media control on top of overlay fullscreen video. | 464 // Disables blink subtitle and media control on top of overlay fullscreen video. |
471 const char kDisableOverlayFullscreenVideoSubtitle[] = | 465 const char kDisableOverlayFullscreenVideoSubtitle[] = |
472 "disable-overlay-fullscreen-video-subtitle"; | 466 "disable-overlay-fullscreen-video-subtitle"; |
473 | 467 |
474 // Forward overscroll event data from the renderer to the browser. | 468 // Forward overscroll event data from the renderer to the browser. |
475 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 469 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
476 | 470 |
477 // Enables compositor-accelerated touch-screen pinch gestures. | 471 // Enables compositor-accelerated touch-screen pinch gestures. |
478 const char kEnablePinch[] = "enable-pinch"; | 472 const char kEnablePinch[] = "enable-pinch"; |
479 | 473 |
| 474 // Make the values returned to window.performance.memory more granular and more |
| 475 // up to date in shared worker. Without this flag, the memory information is |
| 476 // still available, but it is bucketized and updated less frequently. This flag |
| 477 // also applys to workers. |
| 478 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
| 479 |
480 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 480 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
481 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 481 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
482 | 482 |
483 // Enable privileged WebGL extensions; without this switch such extensions are | 483 // Enable privileged WebGL extensions; without this switch such extensions are |
484 // available only to Chrome extensions. | 484 // available only to Chrome extensions. |
485 const char kEnablePrivilegedWebGLExtensions[] = | 485 const char kEnablePrivilegedWebGLExtensions[] = |
486 "enable-privileged-webgl-extensions"; | 486 "enable-privileged-webgl-extensions"; |
487 | 487 |
488 // Enables the CSS multicol implementation that uses the regions implementation. | 488 // Enables the CSS multicol implementation that uses the regions implementation. |
489 const char kEnableRegionBasedColumns[] = | 489 const char kEnableRegionBasedColumns[] = |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 | 1013 |
1014 // Disables support for Core Animation plugins. This is triggered when | 1014 // Disables support for Core Animation plugins. This is triggered when |
1015 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1016 const char kDisableCoreAnimationPlugins[] = | 1016 const char kDisableCoreAnimationPlugins[] = |
1017 "disable-core-animation-plugins"; | 1017 "disable-core-animation-plugins"; |
1018 #endif | 1018 #endif |
1019 | 1019 |
1020 // Don't dump stuff here, follow the same order as the header. | 1020 // Don't dump stuff here, follow the same order as the header. |
1021 | 1021 |
1022 } // namespace switches | 1022 } // namespace switches |
OLD | NEW |