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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 671 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
672 | 672 |
673 // Causes the process to run as a sandbox IPC subprocess. | 673 // Causes the process to run as a sandbox IPC subprocess. |
674 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 674 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
675 | 675 |
676 // Enables or disables scroll end effect in response to vertical overscroll. | 676 // Enables or disables scroll end effect in response to vertical overscroll. |
677 // Set the value to '1' to enable the feature, and set to '0' to disable. | 677 // Set the value to '1' to enable the feature, and set to '0' to disable. |
678 // Defaults to disabled. | 678 // Defaults to disabled. |
679 const char kScrollEndEffect[] = "scroll-end-effect"; | 679 const char kScrollEndEffect[] = "scroll-end-effect"; |
680 | 680 |
| 681 // Send idle notifications to V8 after commit. |
| 682 const char kSendV8IdleNotificationAfterCommit[] = |
| 683 "send-v8-idle-notification-after-commit"; |
| 684 |
681 // Visibly render a border around paint rects in the web page to help debug | 685 // Visibly render a border around paint rects in the web page to help debug |
682 // and study painting behavior. | 686 // and study painting behavior. |
683 const char kShowPaintRects[] = "show-paint-rects"; | 687 const char kShowPaintRects[] = "show-paint-rects"; |
684 | 688 |
685 // Runs the renderer and plugins in the same process as the browser | 689 // Runs the renderer and plugins in the same process as the browser |
686 const char kSingleProcess[] = "single-process"; | 690 const char kSingleProcess[] = "single-process"; |
687 | 691 |
688 // Experimentally enforces a one-site-per-process security policy. | 692 // Experimentally enforces a one-site-per-process security policy. |
689 // All cross-site navigations force process swaps, and we can restrict a | 693 // All cross-site navigations force process swaps, and we can restrict a |
690 // renderer process's access rights based on its site. For details, see: | 694 // 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... |
908 // Enable the Win32K process mitigation policy for renderer processes which | 912 // Enable the Win32K process mitigation policy for renderer processes which |
909 // prevents them from invoking user32 and gdi32 system calls which enter | 913 // prevents them from invoking user32 and gdi32 system calls which enter |
910 // the kernel. This is only supported on Windows 8 and beyond. | 914 // the kernel. This is only supported on Windows 8 and beyond. |
911 const char kEnableWin32kRendererLockDown[] | 915 const char kEnableWin32kRendererLockDown[] |
912 = "enable_win32k_renderer_lockdown"; | 916 = "enable_win32k_renderer_lockdown"; |
913 #endif | 917 #endif |
914 | 918 |
915 // Don't dump stuff here, follow the same order as the header. | 919 // Don't dump stuff here, follow the same order as the header. |
916 | 920 |
917 } // namespace switches | 921 } // namespace switches |
OLD | NEW |