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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 | 587 |
588 // Don't send HTTP-Referer headers. | 588 // Don't send HTTP-Referer headers. |
589 const char kNoReferrers[] = "no-referrers"; | 589 const char kNoReferrers[] = "no-referrers"; |
590 | 590 |
591 // Disables the sandbox for all process types that are normally sandboxed. | 591 // Disables the sandbox for all process types that are normally sandboxed. |
592 const char kNoSandbox[] = "no-sandbox"; | 592 const char kNoSandbox[] = "no-sandbox"; |
593 | 593 |
594 // Number of worker threads used to rasterize content. | 594 // Number of worker threads used to rasterize content. |
595 const char kNumRasterThreads[] = "num-raster-threads"; | 595 const char kNumRasterThreads[] = "num-raster-threads"; |
596 | 596 |
597 // Enables or disables history navigation in response to horizontal overscroll. | 597 // Controls the behavior of history navigation in response to horizontal |
598 // Set the value to '1' to enable the feature, and set to '0' to disable. | 598 // overscroll. |
599 // Defaults to enabled. | 599 // Set the value to '0' to disable. |
| 600 // Set the value to '1' to enable the behavior where pages slide in and out in |
| 601 // response to the horizontal overscroll gesture and a screenshot of the target |
| 602 // page is shown. |
| 603 // Set the value to '2' to enable the simplified overscroll UI where a |
| 604 // navigation arrow slides in from the side of the screen in response to the |
| 605 // horizontal overscroll gesture. |
| 606 // Defaults to '1'. |
600 const char kOverscrollHistoryNavigation[] = | 607 const char kOverscrollHistoryNavigation[] = |
601 "overscroll-history-navigation"; | 608 "overscroll-history-navigation"; |
602 | 609 |
603 // Specifies a command that should be used to launch the plugin process. Useful | 610 // Specifies a command that should be used to launch the plugin process. Useful |
604 // for running the plugin process through purify or quantify. Ex: | 611 // for running the plugin process through purify or quantify. Ex: |
605 // --plugin-launcher="path\to\purify /Run=yes" | 612 // --plugin-launcher="path\to\purify /Run=yes" |
606 const char kPluginLauncher[] = "plugin-launcher"; | 613 const char kPluginLauncher[] = "plugin-launcher"; |
607 | 614 |
608 // Tells the plugin process the path of the plugin to load | 615 // Tells the plugin process the path of the plugin to load |
609 const char kPluginPath[] = "plugin-path"; | 616 const char kPluginPath[] = "plugin-path"; |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 // Enable the Win32K process mitigation policy for renderer processes which | 922 // Enable the Win32K process mitigation policy for renderer processes which |
916 // prevents them from invoking user32 and gdi32 system calls which enter | 923 // prevents them from invoking user32 and gdi32 system calls which enter |
917 // the kernel. This is only supported on Windows 8 and beyond. | 924 // the kernel. This is only supported on Windows 8 and beyond. |
918 const char kEnableWin32kRendererLockDown[] | 925 const char kEnableWin32kRendererLockDown[] |
919 = "enable_win32k_renderer_lockdown"; | 926 = "enable_win32k_renderer_lockdown"; |
920 #endif | 927 #endif |
921 | 928 |
922 // Don't dump stuff here, follow the same order as the header. | 929 // Don't dump stuff here, follow the same order as the header. |
923 | 930 |
924 } // namespace switches | 931 } // namespace switches |
OLD | NEW |