Chromium Code Reviews| 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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 696 // Enables moving cursor by word in visual order. | 696 // Enables moving cursor by word in visual order. |
| 697 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 697 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
| 698 | 698 |
| 699 // Set when Chromium should use a mobile user agent. | 699 // Set when Chromium should use a mobile user agent. |
| 700 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 700 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 701 | 701 |
| 702 #if defined(OS_ANDROID) | 702 #if defined(OS_ANDROID) |
| 703 // Disable history logging for media elements. | 703 // Disable history logging for media elements. |
| 704 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | 704 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
| 705 | 705 |
| 706 // Set to enable compatibility with legacy WebView synchronous APIs. | |
|
ycheo (away)
2012/12/13 05:33:43
Why do you move this here?
wonsik2
2012/12/17 04:36:05
For alphabetization's sake?
| |
| 707 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | |
| 708 | |
| 706 // Whether to run media elements in the renderer process. | 709 // Whether to run media elements in the renderer process. |
| 707 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; | 710 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; |
| 708 | 711 |
| 709 // The telephony region (ISO country code) to use in phone number detection. | 712 // The telephony region (ISO country code) to use in phone number detection. |
| 710 const char kNetworkCountryIso[] = "network-country-iso"; | 713 const char kNetworkCountryIso[] = "network-country-iso"; |
| 711 | 714 |
| 712 // Set to enable compatibility with legacy WebView synchronous APIs. | 715 // Render video on external surface instead of texture stream. |
| 713 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 716 const char kRenderVideoOnExternalSurface[] = "render-video-on-external-surface"; |
| 714 #endif | 717 #endif |
| 715 | 718 |
| 716 #if defined(OS_POSIX) | 719 #if defined(OS_POSIX) |
| 717 // Causes the child processes to cleanly exit via calling exit(). | 720 // Causes the child processes to cleanly exit via calling exit(). |
| 718 const char kChildCleanExit[] = "child-clean-exit"; | 721 const char kChildCleanExit[] = "child-clean-exit"; |
| 719 #endif | 722 #endif |
| 720 | 723 |
| 721 #if defined(OS_MACOSX) || defined(OS_WIN) | 724 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 722 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 725 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
| 723 // instead of NSS for SSL. | 726 // instead of NSS for SSL. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 756 = "disable-fixed-position-creates-stacking-context"; | 759 = "disable-fixed-position-creates-stacking-context"; |
| 757 | 760 |
| 758 // Defer image decoding in WebKit until painting. | 761 // Defer image decoding in WebKit until painting. |
| 759 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 762 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 760 | 763 |
| 761 // Enables history navigation in response to horizontal overscroll. | 764 // Enables history navigation in response to horizontal overscroll. |
| 762 const char kEnableOverscrollHistoryNavigation[] = | 765 const char kEnableOverscrollHistoryNavigation[] = |
| 763 "enable-overscroll-history-navigation"; | 766 "enable-overscroll-history-navigation"; |
| 764 | 767 |
| 765 } // namespace switches | 768 } // namespace switches |
| OLD | NEW |