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