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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 | 623 |
624 // Disables the sandbox for all process types that are normally sandboxed. | 624 // Disables the sandbox for all process types that are normally sandboxed. |
625 const char kNoSandbox[] = "no-sandbox"; | 625 const char kNoSandbox[] = "no-sandbox"; |
626 | 626 |
627 // Disables appcontainer/lowbox for renderer on Win8+ platforms. | 627 // Disables appcontainer/lowbox for renderer on Win8+ platforms. |
628 const char kDisableAppContainer[] = "disable-appcontainer"; | 628 const char kDisableAppContainer[] = "disable-appcontainer"; |
629 | 629 |
630 // Number of worker threads used to rasterize content. | 630 // Number of worker threads used to rasterize content. |
631 const char kNumRasterThreads[] = "num-raster-threads"; | 631 const char kNumRasterThreads[] = "num-raster-threads"; |
632 | 632 |
| 633 // Override the behavior of plugin throttling for testing. |
| 634 // By default the throttler is only enabled for a hard-coded list of plugins. |
| 635 // Set the value to 'never' to disable throttling. |
| 636 // Set the value to 'ignore-list' to ignore the hard-coded list. |
| 637 // Set the value to 'always' to always throttle every plugin instance. |
| 638 const char kOverridePluginPowerSaverForTesting[] = |
| 639 "override-plugin-power-saver-for-testing"; |
| 640 |
633 // Controls the behavior of history navigation in response to horizontal | 641 // Controls the behavior of history navigation in response to horizontal |
634 // overscroll. | 642 // overscroll. |
635 // Set the value to '0' to disable. | 643 // Set the value to '0' to disable. |
636 // Set the value to '1' to enable the behavior where pages slide in and out in | 644 // Set the value to '1' to enable the behavior where pages slide in and out in |
637 // response to the horizontal overscroll gesture and a screenshot of the target | 645 // response to the horizontal overscroll gesture and a screenshot of the target |
638 // page is shown. | 646 // page is shown. |
639 // Set the value to '2' to enable the simplified overscroll UI where a | 647 // Set the value to '2' to enable the simplified overscroll UI where a |
640 // navigation arrow slides in from the side of the screen in response to the | 648 // navigation arrow slides in from the side of the screen in response to the |
641 // horizontal overscroll gesture. | 649 // horizontal overscroll gesture. |
642 // Defaults to '1'. | 650 // Defaults to '1'. |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 // Windows Vista and later. | 1002 // Windows Vista and later. |
995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1003 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
996 #endif | 1004 #endif |
997 | 1005 |
998 // Enables the use of NPAPI plugins. | 1006 // Enables the use of NPAPI plugins. |
999 const char kEnableNpapi[] = "enable-npapi"; | 1007 const char kEnableNpapi[] = "enable-npapi"; |
1000 | 1008 |
1001 // Don't dump stuff here, follow the same order as the header. | 1009 // Don't dump stuff here, follow the same order as the header. |
1002 | 1010 |
1003 } // namespace switches | 1011 } // namespace switches |
OLD | NEW |