| 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 | 469 |
| 470 // Make the values returned to window.performance.memory more granular and more | 470 // Make the values returned to window.performance.memory more granular and more |
| 471 // up to date in shared worker. Without this flag, the memory information is | 471 // up to date in shared worker. Without this flag, the memory information is |
| 472 // still available, but it is bucketized and updated less frequently. This flag | 472 // still available, but it is bucketized and updated less frequently. This flag |
| 473 // also applys to workers. | 473 // also applys to workers. |
| 474 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 474 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
| 475 | 475 |
| 476 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 476 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 477 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 477 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 478 | 478 |
| 479 // Enable privileged WebGL extensions; without this switch such extensions are | |
| 480 // available only to Chrome extensions. | |
| 481 const char kEnablePrivilegedWebGLExtensions[] = | |
| 482 "enable-privileged-webgl-extensions"; | |
| 483 | |
| 484 // Enables the CSS multicol implementation that uses the regions implementation. | 479 // Enables the CSS multicol implementation that uses the regions implementation. |
| 485 const char kEnableRegionBasedColumns[] = | 480 const char kEnableRegionBasedColumns[] = |
| 486 "enable-region-based-columns"; | 481 "enable-region-based-columns"; |
| 487 | 482 |
| 488 // Enables the new layout/paint system which paints after layout is complete. | 483 // Enables the new layout/paint system which paints after layout is complete. |
| 489 const char kEnableRepaintAfterLayout[] = | 484 const char kEnableRepaintAfterLayout[] = |
| 490 "enable-repaint-after-layout"; | 485 "enable-repaint-after-layout"; |
| 491 | 486 |
| 492 // Enables targeted style recalculation optimizations. | 487 // Enables targeted style recalculation optimizations. |
| 493 const char kEnableTargetedStyleRecalc[] = | 488 const char kEnableTargetedStyleRecalc[] = |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 | 997 |
| 1003 // Disables support for Core Animation plugins. This is triggered when | 998 // Disables support for Core Animation plugins. This is triggered when |
| 1004 // accelerated compositing is disabled. See http://crbug.com/122430 . | 999 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1005 const char kDisableCoreAnimationPlugins[] = | 1000 const char kDisableCoreAnimationPlugins[] = |
| 1006 "disable-core-animation-plugins"; | 1001 "disable-core-animation-plugins"; |
| 1007 #endif | 1002 #endif |
| 1008 | 1003 |
| 1009 // Don't dump stuff here, follow the same order as the header. | 1004 // Don't dump stuff here, follow the same order as the header. |
| 1010 | 1005 |
| 1011 } // namespace switches | 1006 } // namespace switches |
| OLD | NEW |