| 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 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 // Mutes audio sent to the audio device so it is not audible during | 643 // Mutes audio sent to the audio device so it is not audible during |
| 644 // automated testing. | 644 // automated testing. |
| 645 const char kMuteAudio[] = "mute-audio"; | 645 const char kMuteAudio[] = "mute-audio"; |
| 646 | 646 |
| 647 // Don't send HTTP-Referer headers. | 647 // Don't send HTTP-Referer headers. |
| 648 const char kNoReferrers[] = "no-referrers"; | 648 const char kNoReferrers[] = "no-referrers"; |
| 649 | 649 |
| 650 // Disables the sandbox for all process types that are normally sandboxed. | 650 // Disables the sandbox for all process types that are normally sandboxed. |
| 651 const char kNoSandbox[] = "no-sandbox"; | 651 const char kNoSandbox[] = "no-sandbox"; |
| 652 | 652 |
| 653 // Enables not sending touch events to renderer while scrolling. | |
| 654 const char kNoTouchToRendererWhileScrolling[] = | |
| 655 "no-touch-to-renderer-while-scrolling"; | |
| 656 | |
| 657 // Enables or disables history navigation in response to horizontal overscroll. | 653 // Enables or disables history navigation in response to horizontal overscroll. |
| 658 // Set the value to '1' to enable the feature, and set to '0' to disable. | 654 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 659 // Defaults to enabled. | 655 // Defaults to enabled. |
| 660 const char kOverscrollHistoryNavigation[] = | 656 const char kOverscrollHistoryNavigation[] = |
| 661 "overscroll-history-navigation"; | 657 "overscroll-history-navigation"; |
| 662 | 658 |
| 663 // Specifies a command that should be used to launch the plugin process. Useful | 659 // Specifies a command that should be used to launch the plugin process. Useful |
| 664 // for running the plugin process through purify or quantify. Ex: | 660 // for running the plugin process through purify or quantify. Ex: |
| 665 // --plugin-launcher="path\to\purify /Run=yes" | 661 // --plugin-launcher="path\to\purify /Run=yes" |
| 666 const char kPluginLauncher[] = "plugin-launcher"; | 662 const char kPluginLauncher[] = "plugin-launcher"; |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 #endif | 971 #endif |
| 976 | 972 |
| 977 #if defined(USE_AURA) | 973 #if defined(USE_AURA) |
| 978 // Forces usage of the test compositor. Needed to run ui tests on bots. | 974 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 979 extern const char kTestCompositor[] = "test-compositor"; | 975 extern const char kTestCompositor[] = "test-compositor"; |
| 980 #endif | 976 #endif |
| 981 | 977 |
| 982 // Don't dump stuff here, follow the same order as the header. | 978 // Don't dump stuff here, follow the same order as the header. |
| 983 | 979 |
| 984 } // namespace switches | 980 } // namespace switches |
| OLD | NEW |