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 idle notifications to V8 after commit. | |
brettw
2014/08/26 17:48:46
This comment literally duplicates the name of the
ernstm
2014/08/26 18:44:08
Done.
| |
689 const char kSendV8IdleNotificationAfterCommit[] = | |
690 "send-v8-idle-notification-after-commit"; | |
691 | |
688 // Visibly render a border around paint rects in the web page to help debug | 692 // Visibly render a border around paint rects in the web page to help debug |
689 // and study painting behavior. | 693 // and study painting behavior. |
690 const char kShowPaintRects[] = "show-paint-rects"; | 694 const char kShowPaintRects[] = "show-paint-rects"; |
691 | 695 |
692 // Runs the renderer and plugins in the same process as the browser | 696 // Runs the renderer and plugins in the same process as the browser |
693 const char kSingleProcess[] = "single-process"; | 697 const char kSingleProcess[] = "single-process"; |
694 | 698 |
695 // Experimentally enforces a one-site-per-process security policy. | 699 // Experimentally enforces a one-site-per-process security policy. |
696 // All cross-site navigations force process swaps, and we can restrict a | 700 // 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: | 701 // 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 | 919 // Enable the Win32K process mitigation policy for renderer processes which |
916 // prevents them from invoking user32 and gdi32 system calls which enter | 920 // prevents them from invoking user32 and gdi32 system calls which enter |
917 // the kernel. This is only supported on Windows 8 and beyond. | 921 // the kernel. This is only supported on Windows 8 and beyond. |
918 const char kEnableWin32kRendererLockDown[] | 922 const char kEnableWin32kRendererLockDown[] |
919 = "enable_win32k_renderer_lockdown"; | 923 = "enable_win32k_renderer_lockdown"; |
920 #endif | 924 #endif |
921 | 925 |
922 // Don't dump stuff here, follow the same order as the header. | 926 // Don't dump stuff here, follow the same order as the header. |
923 | 927 |
924 } // namespace switches | 928 } // namespace switches |
OLD | NEW |