| 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 const char kRendererProcess[] = "renderer"; | 711 const char kRendererProcess[] = "renderer"; |
| 712 | 712 |
| 713 // Overrides the default/calculated limit to the number of renderer processes. | 713 // Overrides the default/calculated limit to the number of renderer processes. |
| 714 // Very high values for this setting can lead to high memory/resource usage | 714 // Very high values for this setting can lead to high memory/resource usage |
| 715 // or instability. | 715 // or instability. |
| 716 const char kRendererProcessLimit[] = "renderer-process-limit"; | 716 const char kRendererProcessLimit[] = "renderer-process-limit"; |
| 717 | 717 |
| 718 // Causes the renderer process to display a dialog on launch. | 718 // Causes the renderer process to display a dialog on launch. |
| 719 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 719 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
| 720 | 720 |
| 721 // Reduce the default `referer` header's granularity. |
| 722 const char kReducedReferrerGranularity[] = |
| 723 "reduced-referrer-granularity"; |
| 724 |
| 721 // Handles frame scrolls via the root RenderLayer instead of the FrameView. | 725 // Handles frame scrolls via the root RenderLayer instead of the FrameView. |
| 722 const char kRootLayerScrolls[] = "root-layer-scrolls"; | 726 const char kRootLayerScrolls[] = "root-layer-scrolls"; |
| 723 | 727 |
| 724 // Causes the process to run as a sandbox IPC subprocess. | 728 // Causes the process to run as a sandbox IPC subprocess. |
| 725 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 729 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
| 726 | 730 |
| 727 // Enables or disables scroll end effect in response to vertical overscroll. | 731 // Enables or disables scroll end effect in response to vertical overscroll. |
| 728 // Set the value to '1' to enable the feature, and set to '0' to disable. | 732 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 729 // Defaults to disabled. | 733 // Defaults to disabled. |
| 730 const char kScrollEndEffect[] = "scroll-end-effect"; | 734 const char kScrollEndEffect[] = "scroll-end-effect"; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 #endif | 982 #endif |
| 979 | 983 |
| 980 #if defined(ENABLE_PLUGINS) | 984 #if defined(ENABLE_PLUGINS) |
| 981 // Enables the plugin power saver feature. | 985 // Enables the plugin power saver feature. |
| 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 983 #endif | 987 #endif |
| 984 | 988 |
| 985 // Don't dump stuff here, follow the same order as the header. | 989 // Don't dump stuff here, follow the same order as the header. |
| 986 | 990 |
| 987 } // namespace switches | 991 } // namespace switches |
| OLD | NEW |