| 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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 650 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 651 // Omnibus flag setting an Android graphics mode. May be: | 651 // Omnibus flag setting an Android graphics mode. May be: |
| 652 // "basic" (untiled software path) | 652 // "basic" (untiled software path) |
| 653 // "compositor" (hardware-accelerated compositing), | 653 // "compositor" (hardware-accelerated compositing), |
| 654 const char kGraphicsMode[] = "graphics-mode"; | 654 const char kGraphicsMode[] = "graphics-mode"; |
| 655 const char kGraphicsModeValueBasic[] = "basic"; | 655 const char kGraphicsModeValueBasic[] = "basic"; |
| 656 const char kGraphicsModeValueCompositor[] = "compositor"; | 656 const char kGraphicsModeValueCompositor[] = "compositor"; |
| 657 | 657 |
| 658 // The telephony region (ISO country code) to use in phone number detection. | 658 // The telephony region (ISO country code) to use in phone number detection. |
| 659 const char kNetworkCountryIso[] = "network-country-iso"; | 659 const char kNetworkCountryIso[] = "network-country-iso"; |
| 660 |
| 661 // Set to enable compatibility with legacy WebView synchronous APIs. |
| 662 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 660 #endif | 663 #endif |
| 661 | 664 |
| 662 #if defined(OS_POSIX) | 665 #if defined(OS_POSIX) |
| 663 // Causes the child processes to cleanly exit via calling exit(). | 666 // Causes the child processes to cleanly exit via calling exit(). |
| 664 const char kChildCleanExit[] = "child-clean-exit"; | 667 const char kChildCleanExit[] = "child-clean-exit"; |
| 665 #endif | 668 #endif |
| 666 | 669 |
| 667 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 670 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 668 // Specify the amount the trackpad should scroll by. | 671 // Specify the amount the trackpad should scroll by. |
| 669 const char kScrollPixels[] = "scroll-pixels"; | 672 const char kScrollPixels[] = "scroll-pixels"; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 699 // Sets the width and height above which a composited layer will get tiled. | 702 // Sets the width and height above which a composited layer will get tiled. |
| 700 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 703 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 701 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 704 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 702 | 705 |
| 703 const char kEnableFixedPositionCreatesStackingContext[] | 706 const char kEnableFixedPositionCreatesStackingContext[] |
| 704 = "enable-fixed-position-creates-stacking-context"; | 707 = "enable-fixed-position-creates-stacking-context"; |
| 705 const char kDisableFixedPositionCreatesStackingContext[] | 708 const char kDisableFixedPositionCreatesStackingContext[] |
| 706 = "disable-fixed-position-creates-stacking-context"; | 709 = "disable-fixed-position-creates-stacking-context"; |
| 707 | 710 |
| 708 } // namespace switches | 711 } // namespace switches |
| OLD | NEW |