| 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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 // Enables moving cursor by word in visual order. | 741 // Enables moving cursor by word in visual order. |
| 742 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 742 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
| 743 | 743 |
| 744 // Set when Chromium should use a mobile user agent. | 744 // Set when Chromium should use a mobile user agent. |
| 745 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 745 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 746 | 746 |
| 747 #if defined(OS_ANDROID) | 747 #if defined(OS_ANDROID) |
| 748 // Disable history logging for media elements. | 748 // Disable history logging for media elements. |
| 749 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | 749 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
| 750 | 750 |
| 751 // Whether to run media elements in the renderer process. | |
| 752 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; | |
| 753 | |
| 754 // The telephony region (ISO country code) to use in phone number detection. | 751 // The telephony region (ISO country code) to use in phone number detection. |
| 755 const char kNetworkCountryIso[] = "network-country-iso"; | 752 const char kNetworkCountryIso[] = "network-country-iso"; |
| 756 | 753 |
| 757 // Set to enable compatibility with legacy WebView synchronous APIs. | 754 // Set to enable compatibility with legacy WebView synchronous APIs. |
| 758 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 755 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 759 #endif | 756 #endif |
| 760 | 757 |
| 761 #if defined(OS_CHROMEOS) | 758 #if defined(OS_CHROMEOS) |
| 762 // Disables panel fitting (used for mirror mode). | 759 // Disables panel fitting (used for mirror mode). |
| 763 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 760 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 = "disable-fixed-position-creates-stacking-context"; | 794 = "disable-fixed-position-creates-stacking-context"; |
| 798 | 795 |
| 799 // Defer image decoding in WebKit until painting. | 796 // Defer image decoding in WebKit until painting. |
| 800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 797 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 801 | 798 |
| 802 // Enables history navigation in response to horizontal overscroll. | 799 // Enables history navigation in response to horizontal overscroll. |
| 803 const char kEnableOverscrollHistoryNavigation[] = | 800 const char kEnableOverscrollHistoryNavigation[] = |
| 804 "enable-overscroll-history-navigation"; | 801 "enable-overscroll-history-navigation"; |
| 805 | 802 |
| 806 } // namespace switches | 803 } // namespace switches |
| OLD | NEW |