| 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 678 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
| 679 | 679 |
| 680 // Causes the process to run as a sandbox IPC subprocess. | 680 // Causes the process to run as a sandbox IPC subprocess. |
| 681 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 681 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
| 682 | 682 |
| 683 // Enables or disables scroll end effect in response to vertical overscroll. | 683 // Enables or disables scroll end effect in response to vertical overscroll. |
| 684 // Set the value to '1' to enable the feature, and set to '0' to disable. | 684 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 685 // Defaults to disabled. | 685 // Defaults to disabled. |
| 686 const char kScrollEndEffect[] = "scroll-end-effect"; | 686 const char kScrollEndEffect[] = "scroll-end-effect"; |
| 687 | 687 |
| 688 // Send a notification from RenderWidgetCompositor to V8 to do idle work |
| 689 // (e.g. garbage collection) after the commit until the beginning of the next |
| 690 // frame. This moves the work off the critical path where compositor is waiting |
| 691 // for the main thread. The flag is experimental until the implementation of the |
| 692 // V8 idle handler is completed. |
| 693 const char kSendV8IdleNotificationAfterCommit[] = |
| 694 "send-v8-idle-notification-after-commit"; |
| 695 |
| 688 // Visibly render a border around paint rects in the web page to help debug | 696 // Visibly render a border around paint rects in the web page to help debug |
| 689 // and study painting behavior. | 697 // and study painting behavior. |
| 690 const char kShowPaintRects[] = "show-paint-rects"; | 698 const char kShowPaintRects[] = "show-paint-rects"; |
| 691 | 699 |
| 692 // Runs the renderer and plugins in the same process as the browser | 700 // Runs the renderer and plugins in the same process as the browser |
| 693 const char kSingleProcess[] = "single-process"; | 701 const char kSingleProcess[] = "single-process"; |
| 694 | 702 |
| 695 // Experimentally enforces a one-site-per-process security policy. | 703 // Experimentally enforces a one-site-per-process security policy. |
| 696 // All cross-site navigations force process swaps, and we can restrict a | 704 // All cross-site navigations force process swaps, and we can restrict a |
| 697 // renderer process's access rights based on its site. For details, see: | 705 // renderer process's access rights based on its site. For details, see: |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 // Enable the Win32K process mitigation policy for renderer processes which | 923 // Enable the Win32K process mitigation policy for renderer processes which |
| 916 // prevents them from invoking user32 and gdi32 system calls which enter | 924 // prevents them from invoking user32 and gdi32 system calls which enter |
| 917 // the kernel. This is only supported on Windows 8 and beyond. | 925 // the kernel. This is only supported on Windows 8 and beyond. |
| 918 const char kEnableWin32kRendererLockDown[] | 926 const char kEnableWin32kRendererLockDown[] |
| 919 = "enable_win32k_renderer_lockdown"; | 927 = "enable_win32k_renderer_lockdown"; |
| 920 #endif | 928 #endif |
| 921 | 929 |
| 922 // Don't dump stuff here, follow the same order as the header. | 930 // Don't dump stuff here, follow the same order as the header. |
| 923 | 931 |
| 924 } // namespace switches | 932 } // namespace switches |
| OLD | NEW |