| 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 | 597 |
| 598 // Don't send HTTP-Referer headers. | 598 // Don't send HTTP-Referer headers. |
| 599 const char kNoReferrers[] = "no-referrers"; | 599 const char kNoReferrers[] = "no-referrers"; |
| 600 | 600 |
| 601 // Disables the sandbox for all process types that are normally sandboxed. | 601 // Disables the sandbox for all process types that are normally sandboxed. |
| 602 const char kNoSandbox[] = "no-sandbox"; | 602 const char kNoSandbox[] = "no-sandbox"; |
| 603 | 603 |
| 604 // Disables appcontainer/lowbox for renderer on Win8+ platforms. | 604 // Disables appcontainer/lowbox for renderer on Win8+ platforms. |
| 605 const char kDisableAppContainer[] = "disable-appcontainer"; | 605 const char kDisableAppContainer[] = "disable-appcontainer"; |
| 606 | 606 |
| 607 // Number of worker threads used to rasterize content. | 607 // Number of worker threads used for renderer. |
| 608 const char kNumRasterThreads[] = "num-raster-threads"; | 608 const char kNumWorkerThreads[] = "num-worker-threads"; |
| 609 | 609 |
| 610 // Override the behavior of plugin throttling for testing. | 610 // Override the behavior of plugin throttling for testing. |
| 611 // By default the throttler is only enabled for a hard-coded list of plugins. | 611 // By default the throttler is only enabled for a hard-coded list of plugins. |
| 612 // Set the value to 'never' to disable throttling. | 612 // Set the value to 'never' to disable throttling. |
| 613 // Set the value to 'ignore-list' to ignore the hard-coded list. | 613 // Set the value to 'ignore-list' to ignore the hard-coded list. |
| 614 // Set the value to 'always' to always throttle every plugin instance. | 614 // Set the value to 'always' to always throttle every plugin instance. |
| 615 const char kOverridePluginPowerSaverForTesting[] = | 615 const char kOverridePluginPowerSaverForTesting[] = |
| 616 "override-plugin-power-saver-for-testing"; | 616 "override-plugin-power-saver-for-testing"; |
| 617 | 617 |
| 618 // Controls the behavior of history navigation in response to horizontal | 618 // Controls the behavior of history navigation in response to horizontal |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 // Windows Vista and later. | 994 // Windows Vista and later. |
| 995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 996 #endif | 996 #endif |
| 997 | 997 |
| 998 // Enables the use of NPAPI plugins. | 998 // Enables the use of NPAPI plugins. |
| 999 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 999 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
| 1000 | 1000 |
| 1001 // Don't dump stuff here, follow the same order as the header. | 1001 // Don't dump stuff here, follow the same order as the header. |
| 1002 | 1002 |
| 1003 } // namespace switches | 1003 } // namespace switches |
| OLD | NEW |