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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
581 // Mutes audio sent to the audio device so it is not audible during | 581 // Mutes audio sent to the audio device so it is not audible during |
582 // automated testing. | 582 // automated testing. |
583 const char kMuteAudio[] = "mute-audio"; | 583 const char kMuteAudio[] = "mute-audio"; |
584 | 584 |
585 // Don't send HTTP-Referer headers. | 585 // Don't send HTTP-Referer headers. |
586 const char kNoReferrers[] = "no-referrers"; | 586 const char kNoReferrers[] = "no-referrers"; |
587 | 587 |
588 // Disables the sandbox for all process types that are normally sandboxed. | 588 // Disables the sandbox for all process types that are normally sandboxed. |
589 const char kNoSandbox[] = "no-sandbox"; | 589 const char kNoSandbox[] = "no-sandbox"; |
590 | 590 |
591 // Prefer the namespace sandbox over the setuid sandbox when possible. | |
592 const char kEnableNamespaceSandbox[] = "enable-namespace-sandbox"; | |
jln (very slow on Chromium)
2015/02/05 00:26:56
This should be moved to respect alphabetical order
rickyz (no longer on Chrome)
2015/02/05 01:42:51
Done.
| |
593 | |
591 // Number of worker threads used to rasterize content. | 594 // Number of worker threads used to rasterize content. |
592 const char kNumRasterThreads[] = "num-raster-threads"; | 595 const char kNumRasterThreads[] = "num-raster-threads"; |
593 | 596 |
594 // Controls the behavior of history navigation in response to horizontal | 597 // Controls the behavior of history navigation in response to horizontal |
595 // overscroll. | 598 // overscroll. |
596 // Set the value to '0' to disable. | 599 // Set the value to '0' to disable. |
597 // Set the value to '1' to enable the behavior where pages slide in and out in | 600 // Set the value to '1' to enable the behavior where pages slide in and out in |
598 // response to the horizontal overscroll gesture and a screenshot of the target | 601 // response to the horizontal overscroll gesture and a screenshot of the target |
599 // page is shown. | 602 // page is shown. |
600 // Set the value to '2' to enable the simplified overscroll UI where a | 603 // Set the value to '2' to enable the simplified overscroll UI where a |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
955 const char kEnableNpapi[] = "enable-npapi"; | 958 const char kEnableNpapi[] = "enable-npapi"; |
956 | 959 |
957 #if defined(ENABLE_PLUGINS) | 960 #if defined(ENABLE_PLUGINS) |
958 // Enables the plugin power saver feature. | 961 // Enables the plugin power saver feature. |
959 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 962 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
960 #endif | 963 #endif |
961 | 964 |
962 // Don't dump stuff here, follow the same order as the header. | 965 // Don't dump stuff here, follow the same order as the header. |
963 | 966 |
964 } // namespace switches | 967 } // namespace switches |
OLD | NEW |