| 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 740 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 741 | 741 |
| 742 #if defined(OS_ANDROID) | 742 #if defined(OS_ANDROID) |
| 743 // Disable history logging for media elements. | 743 // Disable history logging for media elements. |
| 744 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | 744 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
| 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 // Whether to run media elements in the renderer process. | |
| 751 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; | |
| 752 | |
| 753 // 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. |
| 754 const char kNetworkCountryIso[] = "network-country-iso"; | 751 const char kNetworkCountryIso[] = "network-country-iso"; |
| 755 | 752 |
| 756 // Set to enable compatibility with legacy WebView synchronous APIs. | 753 // Set to enable compatibility with legacy WebView synchronous APIs. |
| 757 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 754 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 758 #endif | 755 #endif |
| 759 | 756 |
| 760 #if defined(OS_CHROMEOS) | 757 #if defined(OS_CHROMEOS) |
| 761 // Disables panel fitting (used for mirror mode). | 758 // Disables panel fitting (used for mirror mode). |
| 762 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 759 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 = "disable-fixed-position-creates-stacking-context"; | 793 = "disable-fixed-position-creates-stacking-context"; |
| 797 | 794 |
| 798 // Defer image decoding in WebKit until painting. | 795 // Defer image decoding in WebKit until painting. |
| 799 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 796 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 800 | 797 |
| 801 // Disables history navigation in response to horizontal overscroll. | 798 // Disables history navigation in response to horizontal overscroll. |
| 802 const char kDisableOverscrollHistoryNavigation[] = | 799 const char kDisableOverscrollHistoryNavigation[] = |
| 803 "disable-overscroll-history-navigation"; | 800 "disable-overscroll-history-navigation"; |
| 804 | 801 |
| 805 } // namespace switches | 802 } // namespace switches |
| OLD | NEW |