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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 #if defined(OS_ANDROID) | 653 #if defined(OS_ANDROID) |
654 // Disable history logging for media elements. | 654 // Disable history logging for media elements. |
655 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | 655 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
656 | 656 |
657 // Whether to run media elements in the renderer process. | 657 // Whether to run media elements in the renderer process. |
658 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; | 658 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; |
659 | 659 |
660 // Set when Chromium should use a mobile user agent. | 660 // Set when Chromium should use a mobile user agent. |
661 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 661 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
662 | 662 |
663 // Omnibus flag setting an Android graphics mode. May be: | |
664 // "basic" (untiled software path) | |
665 // "compositor" (hardware-accelerated compositing), | |
666 const char kGraphicsMode[] = "graphics-mode"; | |
667 const char kGraphicsModeValueBasic[] = "basic"; | |
668 const char kGraphicsModeValueCompositor[] = "compositor"; | |
669 | |
670 // The telephony region (ISO country code) to use in phone number detection. | 663 // The telephony region (ISO country code) to use in phone number detection. |
671 const char kNetworkCountryIso[] = "network-country-iso"; | 664 const char kNetworkCountryIso[] = "network-country-iso"; |
672 | 665 |
673 // Set to enable compatibility with legacy WebView synchronous APIs. | 666 // Set to enable compatibility with legacy WebView synchronous APIs. |
674 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 667 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
675 #endif | 668 #endif |
676 | 669 |
677 #if defined(OS_POSIX) | 670 #if defined(OS_POSIX) |
678 // Causes the child processes to cleanly exit via calling exit(). | 671 // Causes the child processes to cleanly exit via calling exit(). |
679 const char kChildCleanExit[] = "child-clean-exit"; | 672 const char kChildCleanExit[] = "child-clean-exit"; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // Sets the width and height above which a composited layer will get tiled. | 707 // Sets the width and height above which a composited layer will get tiled. |
715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 708 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 709 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
717 | 710 |
718 const char kEnableFixedPositionCreatesStackingContext[] | 711 const char kEnableFixedPositionCreatesStackingContext[] |
719 = "enable-fixed-position-creates-stacking-context"; | 712 = "enable-fixed-position-creates-stacking-context"; |
720 const char kDisableFixedPositionCreatesStackingContext[] | 713 const char kDisableFixedPositionCreatesStackingContext[] |
721 = "disable-fixed-position-creates-stacking-context"; | 714 = "disable-fixed-position-creates-stacking-context"; |
722 | 715 |
723 } // namespace switches | 716 } // namespace switches |
OLD | NEW |