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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 | 734 |
735 // Set to enable compatibility with legacy WebView synchronous APIs. | 735 // Set to enable compatibility with legacy WebView synchronous APIs. |
736 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 736 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
737 #endif | 737 #endif |
738 | 738 |
739 #if defined(OS_POSIX) | 739 #if defined(OS_POSIX) |
740 // Causes the child processes to cleanly exit via calling exit(). | 740 // Causes the child processes to cleanly exit via calling exit(). |
741 const char kChildCleanExit[] = "child-clean-exit"; | 741 const char kChildCleanExit[] = "child-clean-exit"; |
742 #endif | 742 #endif |
743 | 743 |
744 #if defined(OS_MACOSX) || defined(OS_WIN) | |
745 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | |
746 // instead of NSS for SSL. | |
747 const char kUseSystemSSL[] = "use-system-ssl"; | |
748 #endif | |
749 | |
750 #if defined(OS_MACOSX) && !defined(OS_IOS) | 744 #if defined(OS_MACOSX) && !defined(OS_IOS) |
751 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; | 745 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; |
752 #endif | 746 #endif |
753 | 747 |
754 // Disables the use of a 3D software rasterizer. | 748 // Disables the use of a 3D software rasterizer. |
755 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 749 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
756 | 750 |
757 #if defined(USE_AURA) | 751 #if defined(USE_AURA) |
758 // Forces usage of the test compositor. Needed to run ui tests on bots. | 752 // Forces usage of the test compositor. Needed to run ui tests on bots. |
759 extern const char kTestCompositor[] = "test-compositor"; | 753 extern const char kTestCompositor[] = "test-compositor"; |
(...skipping 13 matching lines...) Expand all Loading... |
773 = "disable-fixed-position-creates-stacking-context"; | 767 = "disable-fixed-position-creates-stacking-context"; |
774 | 768 |
775 // Defer image decoding in WebKit until painting. | 769 // Defer image decoding in WebKit until painting. |
776 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 770 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
777 | 771 |
778 // Enables history navigation in response to horizontal overscroll. | 772 // Enables history navigation in response to horizontal overscroll. |
779 const char kEnableOverscrollHistoryNavigation[] = | 773 const char kEnableOverscrollHistoryNavigation[] = |
780 "enable-overscroll-history-navigation"; | 774 "enable-overscroll-history-navigation"; |
781 | 775 |
782 } // namespace switches | 776 } // namespace switches |
OLD | NEW |