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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 | 742 |
743 // Disable user gesture requirement for media playback. | 743 // Disable user gesture requirement for media playback. |
744 const char kDisableGestureRequirementForMediaPlayback[] = | 744 const char kDisableGestureRequirementForMediaPlayback[] = |
745 "disable-gesture-requirement-for-media-playback"; | 745 "disable-gesture-requirement-for-media-playback"; |
746 | 746 |
747 // The telephony region (ISO country code) to use in phone number detection. | 747 // The telephony region (ISO country code) to use in phone number detection. |
748 const char kNetworkCountryIso[] = "network-country-iso"; | 748 const char kNetworkCountryIso[] = "network-country-iso"; |
749 | 749 |
750 // Set to enable compatibility with legacy WebView synchronous APIs. | 750 // Set to enable compatibility with legacy WebView synchronous APIs. |
751 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 751 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 752 |
| 753 // Enables overscroll edge effects like those found in Android views. |
| 754 const char kEnableOverscrollEdgeEffect[] = "enable-overscroll-edge-effect"; |
752 #endif | 755 #endif |
753 | 756 |
754 #if defined(OS_CHROMEOS) | 757 #if defined(OS_CHROMEOS) |
755 // Disables panel fitting (used for mirror mode). | 758 // Disables panel fitting (used for mirror mode). |
756 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 759 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
757 #endif | 760 #endif |
758 | 761 |
759 #if defined(OS_POSIX) | 762 #if defined(OS_POSIX) |
760 // Causes the child processes to cleanly exit via calling exit(). | 763 // Causes the child processes to cleanly exit via calling exit(). |
761 const char kChildCleanExit[] = "child-clean-exit"; | 764 const char kChildCleanExit[] = "child-clean-exit"; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 // Enables or disables history navigation in response to horizontal overscroll. | 801 // Enables or disables history navigation in response to horizontal overscroll. |
799 // Set the value to '1' to enable the feature, and set to '0' to disable. | 802 // Set the value to '1' to enable the feature, and set to '0' to disable. |
800 // Defaults to enabled. | 803 // Defaults to enabled. |
801 const char kOverscrollHistoryNavigation[] = | 804 const char kOverscrollHistoryNavigation[] = |
802 "overscroll-history-navigation"; | 805 "overscroll-history-navigation"; |
803 | 806 |
804 // Enables 'image/webp' accept header for image requests. | 807 // Enables 'image/webp' accept header for image requests. |
805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
806 | 809 |
807 } // namespace switches | 810 } // namespace switches |
OLD | NEW |