| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // Disable limits on the number of backing stores. Can prevent blinking for | 73 // Disable limits on the number of backing stores. Can prevent blinking for |
| 74 // users with many windows/tabs and lots of memory. | 74 // users with many windows/tabs and lots of memory. |
| 75 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 75 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
| 76 | 76 |
| 77 // Disables HTML5 DB support. | 77 // Disables HTML5 DB support. |
| 78 const char kDisableDatabases[] = "disable-databases"; | 78 const char kDisableDatabases[] = "disable-databases"; |
| 79 | 79 |
| 80 // Disables data transfer items. | 80 // Disables data transfer items. |
| 81 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; | 81 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; |
| 82 | 82 |
| 83 // Disable deferred 2d canvas rendering. | |
| 84 const char kDisableDeferred2dCanvas[] = "disable-deferred-2d-canvas"; | |
| 85 | |
| 86 // Disables desktop notifications (default enabled on windows). | 83 // Disables desktop notifications (default enabled on windows). |
| 87 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 84 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 88 | 85 |
| 89 // Disables device orientation events. | 86 // Disables device orientation events. |
| 90 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 87 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
| 91 | 88 |
| 92 #if defined(OS_ANDROID) | 89 #if defined(OS_ANDROID) |
| 93 // WebGL is disabled by default on Android. | 90 // WebGL is disabled by default on Android. |
| 94 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 91 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 95 #else | 92 #else |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 = "disable-fixed-position-creates-stacking-context"; | 790 = "disable-fixed-position-creates-stacking-context"; |
| 794 | 791 |
| 795 // Defer image decoding in WebKit until painting. | 792 // Defer image decoding in WebKit until painting. |
| 796 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 793 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 797 | 794 |
| 798 // Disables history navigation in response to horizontal overscroll. | 795 // Disables history navigation in response to horizontal overscroll. |
| 799 const char kDisableOverscrollHistoryNavigation[] = | 796 const char kDisableOverscrollHistoryNavigation[] = |
| 800 "disable-overscroll-history-navigation"; | 797 "disable-overscroll-history-navigation"; |
| 801 | 798 |
| 802 } // namespace switches | 799 } // namespace switches |
| OLD | NEW |