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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 | 748 |
749 // Disable user gesture requirement for media playback. | 749 // Disable user gesture requirement for media playback. |
750 const char kDisableGestureRequirementForMediaPlayback[] = | 750 const char kDisableGestureRequirementForMediaPlayback[] = |
751 "disable-gesture-requirement-for-media-playback"; | 751 "disable-gesture-requirement-for-media-playback"; |
752 | 752 |
753 // The telephony region (ISO country code) to use in phone number detection. | 753 // The telephony region (ISO country code) to use in phone number detection. |
754 const char kNetworkCountryIso[] = "network-country-iso"; | 754 const char kNetworkCountryIso[] = "network-country-iso"; |
755 | 755 |
756 // Set to enable compatibility with legacy WebView synchronous APIs. | 756 // Set to enable compatibility with legacy WebView synchronous APIs. |
757 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 757 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 758 |
| 759 // Disable overscroll edge effects like those found in Android views. |
| 760 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
758 #endif | 761 #endif |
759 | 762 |
760 #if defined(OS_CHROMEOS) | 763 #if defined(OS_CHROMEOS) |
761 // Disables panel fitting (used for mirror mode). | 764 // Disables panel fitting (used for mirror mode). |
762 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 765 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
763 #endif | 766 #endif |
764 | 767 |
765 #if defined(OS_POSIX) | 768 #if defined(OS_POSIX) |
766 // Causes the child processes to cleanly exit via calling exit(). | 769 // Causes the child processes to cleanly exit via calling exit(). |
767 const char kChildCleanExit[] = "child-clean-exit"; | 770 const char kChildCleanExit[] = "child-clean-exit"; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 const char kOverscrollHistoryNavigation[] = | 810 const char kOverscrollHistoryNavigation[] = |
808 "overscroll-history-navigation"; | 811 "overscroll-history-navigation"; |
809 | 812 |
810 // Forward overscroll event data from the renderer to the browser. | 813 // Forward overscroll event data from the renderer to the browser. |
811 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 814 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
812 | 815 |
813 // Enables 'image/webp' accept header for image requests. | 816 // Enables 'image/webp' accept header for image requests. |
814 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 817 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
815 | 818 |
816 } // namespace switches | 819 } // namespace switches |
OLD | NEW |