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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 const char kRendererProcess[] = "renderer"; | 708 const char kRendererProcess[] = "renderer"; |
709 | 709 |
710 // Overrides the default/calculated limit to the number of renderer processes. | 710 // Overrides the default/calculated limit to the number of renderer processes. |
711 // Very high values for this setting can lead to high memory/resource usage | 711 // Very high values for this setting can lead to high memory/resource usage |
712 // or instability. | 712 // or instability. |
713 const char kRendererProcessLimit[] = "renderer-process-limit"; | 713 const char kRendererProcessLimit[] = "renderer-process-limit"; |
714 | 714 |
715 // Causes the renderer process to display a dialog on launch. | 715 // Causes the renderer process to display a dialog on launch. |
716 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 716 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
717 | 717 |
718 // Handles frame scrolls via the root RenderLayer instead of the FrameView. | |
719 const char kRootLayerScrolls[] = "root-layer-scrolls"; | |
720 | |
721 // Causes the process to run as a sandbox IPC subprocess. | 718 // Causes the process to run as a sandbox IPC subprocess. |
722 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 719 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
723 | 720 |
724 // Enables or disables scroll end effect in response to vertical overscroll. | 721 // Enables or disables scroll end effect in response to vertical overscroll. |
725 // Set the value to '1' to enable the feature, and set to '0' to disable. | 722 // Set the value to '1' to enable the feature, and set to '0' to disable. |
726 // Defaults to disabled. | 723 // Defaults to disabled. |
727 const char kScrollEndEffect[] = "scroll-end-effect"; | 724 const char kScrollEndEffect[] = "scroll-end-effect"; |
728 | 725 |
729 // Visibly render a border around paint rects in the web page to help debug | 726 // Visibly render a border around paint rects in the web page to help debug |
730 // and study painting behavior. | 727 // and study painting behavior. |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 #endif | 967 #endif |
971 | 968 |
972 #if defined(ENABLE_PLUGINS) | 969 #if defined(ENABLE_PLUGINS) |
973 // Enables the plugin power saver feature. | 970 // Enables the plugin power saver feature. |
974 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 971 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
975 #endif | 972 #endif |
976 | 973 |
977 // Don't dump stuff here, follow the same order as the header. | 974 // Don't dump stuff here, follow the same order as the header. |
978 | 975 |
979 } // namespace switches | 976 } // namespace switches |
OLD | NEW |