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 |
718 // Causes the process to run as a sandbox IPC subprocess. | 721 // Causes the process to run as a sandbox IPC subprocess. |
719 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 722 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
720 | 723 |
721 // Enables or disables scroll end effect in response to vertical overscroll. | 724 // Enables or disables scroll end effect in response to vertical overscroll. |
722 // Set the value to '1' to enable the feature, and set to '0' to disable. | 725 // Set the value to '1' to enable the feature, and set to '0' to disable. |
723 // Defaults to disabled. | 726 // Defaults to disabled. |
724 const char kScrollEndEffect[] = "scroll-end-effect"; | 727 const char kScrollEndEffect[] = "scroll-end-effect"; |
725 | 728 |
726 // Visibly render a border around paint rects in the web page to help debug | 729 // Visibly render a border around paint rects in the web page to help debug |
727 // and study painting behavior. | 730 // and study painting behavior. |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 #endif | 970 #endif |
968 | 971 |
969 #if defined(ENABLE_PLUGINS) | 972 #if defined(ENABLE_PLUGINS) |
970 // Enables the plugin power saver feature. | 973 // Enables the plugin power saver feature. |
971 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 974 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
972 #endif | 975 #endif |
973 | 976 |
974 // Don't dump stuff here, follow the same order as the header. | 977 // Don't dump stuff here, follow the same order as the header. |
975 | 978 |
976 } // namespace switches | 979 } // namespace switches |
OLD | NEW |