| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 // Disables desktop notifications (default enabled on windows). | 90 // Disables desktop notifications (default enabled on windows). |
| 91 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 91 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 92 | 92 |
| 93 // Disables device orientation events. | 93 // Disables device orientation events. |
| 94 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 94 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
| 95 | 95 |
| 96 #if defined(OS_ANDROID) | 96 #if defined(OS_ANDROID) |
| 97 // WebGL is disabled by default on Android. | 97 // WebGL is disabled by default on Android. |
| 98 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 98 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 99 |
| 100 // WebRTC is disabled by default on Android. |
| 101 const char kEnableWebRTC[] = "enable-webrtc"; |
| 99 #else | 102 #else |
| 100 // Disable experimental WebGL support. | 103 // Disable experimental WebGL support. |
| 101 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 104 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 102 #endif | 105 #endif |
| 103 | 106 |
| 104 // Blacklist the GPU for accelerated compositing. | 107 // Blacklist the GPU for accelerated compositing. |
| 105 const char kBlacklistAcceleratedCompositing[] = | 108 const char kBlacklistAcceleratedCompositing[] = |
| 106 "blacklist-accelerated-compositing"; | 109 "blacklist-accelerated-compositing"; |
| 107 | 110 |
| 108 // Blacklist the GPU for WebGL. | 111 // Blacklist the GPU for WebGL. |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 = "disable-fixed-position-creates-stacking-context"; | 762 = "disable-fixed-position-creates-stacking-context"; |
| 760 | 763 |
| 761 // Defer image decoding in WebKit until painting. | 764 // Defer image decoding in WebKit until painting. |
| 762 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 763 | 766 |
| 764 // Disables history navigation in response to horizontal overscroll. | 767 // Disables history navigation in response to horizontal overscroll. |
| 765 const char kDisableOverscrollHistoryNavigation[] = | 768 const char kDisableOverscrollHistoryNavigation[] = |
| 766 "disable-overscroll-history-navigation"; | 769 "disable-overscroll-history-navigation"; |
| 767 | 770 |
| 768 } // namespace switches | 771 } // namespace switches |
| OLD | NEW |