| 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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 746 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 747 | 747 |
| 748 #if defined(OS_ANDROID) | 748 #if defined(OS_ANDROID) |
| 749 // Disable history logging for media elements. | 749 // Disable history logging for media elements. |
| 750 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | 750 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
| 751 | 751 |
| 752 // Disable user gesture requirement for media playback. | 752 // Disable user gesture requirement for media playback. |
| 753 const char kDisableGestureRequirementForMediaPlayback[] = | 753 const char kDisableGestureRequirementForMediaPlayback[] = |
| 754 "disable-gesture-requirement-for-media-playback"; | 754 "disable-gesture-requirement-for-media-playback"; |
| 755 | 755 |
| 756 // Whether to run media elements in the renderer process. | |
| 757 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; | |
| 758 | |
| 759 // The telephony region (ISO country code) to use in phone number detection. | 756 // The telephony region (ISO country code) to use in phone number detection. |
| 760 const char kNetworkCountryIso[] = "network-country-iso"; | 757 const char kNetworkCountryIso[] = "network-country-iso"; |
| 761 | 758 |
| 762 // Set to enable compatibility with legacy WebView synchronous APIs. | 759 // Set to enable compatibility with legacy WebView synchronous APIs. |
| 763 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 760 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 764 #endif | 761 #endif |
| 765 | 762 |
| 766 #if defined(OS_CHROMEOS) | 763 #if defined(OS_CHROMEOS) |
| 767 // Disables panel fitting (used for mirror mode). | 764 // Disables panel fitting (used for mirror mode). |
| 768 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 765 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 = "disable-fixed-position-creates-stacking-context"; | 799 = "disable-fixed-position-creates-stacking-context"; |
| 803 | 800 |
| 804 // Defer image decoding in WebKit until painting. | 801 // Defer image decoding in WebKit until painting. |
| 805 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 802 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 806 | 803 |
| 807 // Disables history navigation in response to horizontal overscroll. | 804 // Disables history navigation in response to horizontal overscroll. |
| 808 const char kDisableOverscrollHistoryNavigation[] = | 805 const char kDisableOverscrollHistoryNavigation[] = |
| 809 "disable-overscroll-history-navigation"; | 806 "disable-overscroll-history-navigation"; |
| 810 | 807 |
| 811 } // namespace switches | 808 } // namespace switches |
| OLD | NEW |