| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 | 688 |
| 689 // Set to enable compatibility with legacy WebView synchronous APIs. | 689 // Set to enable compatibility with legacy WebView synchronous APIs. |
| 690 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; | 690 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; |
| 691 #endif | 691 #endif |
| 692 | 692 |
| 693 #if defined(OS_POSIX) | 693 #if defined(OS_POSIX) |
| 694 // Causes the child processes to cleanly exit via calling exit(). | 694 // Causes the child processes to cleanly exit via calling exit(). |
| 695 const char kChildCleanExit[] = "child-clean-exit"; | 695 const char kChildCleanExit[] = "child-clean-exit"; |
| 696 #endif | 696 #endif |
| 697 | 697 |
| 698 #if defined(OS_POSIX) && !defined(OS_MACOSX) | |
| 699 // Specify the amount the trackpad should scroll by. | |
| 700 const char kScrollPixels[] = "scroll-pixels"; | |
| 701 #endif | |
| 702 | |
| 703 #if defined(OS_MACOSX) || defined(OS_WIN) | 698 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 704 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 699 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
| 705 // instead of NSS for SSL. | 700 // instead of NSS for SSL. |
| 706 const char kUseSystemSSL[] = "use-system-ssl"; | 701 const char kUseSystemSSL[] = "use-system-ssl"; |
| 707 #endif | 702 #endif |
| 708 | 703 |
| 709 #if defined(OS_MACOSX) && !defined(OS_IOS) | 704 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 710 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; | 705 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; |
| 711 #endif | 706 #endif |
| 712 | 707 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 734 | 729 |
| 735 const char kEnableFixedPositionCreatesStackingContext[] | 730 const char kEnableFixedPositionCreatesStackingContext[] |
| 736 = "enable-fixed-position-creates-stacking-context"; | 731 = "enable-fixed-position-creates-stacking-context"; |
| 737 const char kDisableFixedPositionCreatesStackingContext[] | 732 const char kDisableFixedPositionCreatesStackingContext[] |
| 738 = "disable-fixed-position-creates-stacking-context"; | 733 = "disable-fixed-position-creates-stacking-context"; |
| 739 | 734 |
| 740 // Defer image decoding in WebKit until painting. | 735 // Defer image decoding in WebKit until painting. |
| 741 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 736 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 742 | 737 |
| 743 } // namespace switches | 738 } // namespace switches |
| OLD | NEW |