| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Disable limits on the number of backing stores. Can prevent blinking for | 69 // Disable limits on the number of backing stores. Can prevent blinking for |
| 70 // users with many windows/tabs and lots of memory. | 70 // users with many windows/tabs and lots of memory. |
| 71 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 71 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
| 72 | 72 |
| 73 // Disables HTML5 DB support. | 73 // Disables HTML5 DB support. |
| 74 const char kDisableDatabases[] = "disable-databases"; | 74 const char kDisableDatabases[] = "disable-databases"; |
| 75 | 75 |
| 76 // Disables data transfer items. | 76 // Disables data transfer items. |
| 77 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; | 77 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; |
| 78 | 78 |
| 79 // Disable deferred 2d canvas rendering. | |
| 80 const char kDisableDeferred2dCanvas[] = "disable-deferred-2d-canvas"; | |
| 81 | |
| 82 // Disables desktop notifications (default enabled on windows). | 79 // Disables desktop notifications (default enabled on windows). |
| 83 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 80 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 84 | 81 |
| 85 // Disables device orientation events. | 82 // Disables device orientation events. |
| 86 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 83 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
| 87 | 84 |
| 88 #if defined(OS_ANDROID) | 85 #if defined(OS_ANDROID) |
| 89 // WebGL is disabled by default on Android. | 86 // WebGL is disabled by default on Android. |
| 90 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 87 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 91 #else | 88 #else |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 = "disable-fixed-position-creates-stacking-context"; | 772 = "disable-fixed-position-creates-stacking-context"; |
| 776 | 773 |
| 777 // Defer image decoding in WebKit until painting. | 774 // Defer image decoding in WebKit until painting. |
| 778 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 775 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 779 | 776 |
| 780 // Disables history navigation in response to horizontal overscroll. | 777 // Disables history navigation in response to horizontal overscroll. |
| 781 const char kDisableOverscrollHistoryNavigation[] = | 778 const char kDisableOverscrollHistoryNavigation[] = |
| 782 "disable-overscroll-history-navigation"; | 779 "disable-overscroll-history-navigation"; |
| 783 | 780 |
| 784 } // namespace switches | 781 } // namespace switches |
| OLD | NEW |