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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 // Blacklist the GPU for WebGL. | 101 // Blacklist the GPU for WebGL. |
102 const char kBlacklistWebGL[] = "blacklist-webgl"; | 102 const char kBlacklistWebGL[] = "blacklist-webgl"; |
103 | 103 |
104 // Disable FileSystem API. | 104 // Disable FileSystem API. |
105 const char kDisableFileSystem[] = "disable-file-system"; | 105 const char kDisableFileSystem[] = "disable-file-system"; |
106 | 106 |
107 // Disable 3D inside of flapper. | 107 // Disable 3D inside of flapper. |
108 const char kDisableFlash3d[] = "disable-flash-3d"; | 108 const char kDisableFlash3d[] = "disable-flash-3d"; |
109 | 109 |
| 110 // Disable using 3D to present fullscreen flash |
| 111 const char kDisableFlashFullscreen3d[] = "disable-flash-fullscreen-3d"; |
| 112 |
110 // Disable Stage3D inside of flapper. | 113 // Disable Stage3D inside of flapper. |
111 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 114 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
112 | 115 |
113 // Suppresses support for the Geolocation javascript API. | 116 // Suppresses support for the Geolocation javascript API. |
114 const char kDisableGeolocation[] = "disable-geolocation"; | 117 const char kDisableGeolocation[] = "disable-geolocation"; |
115 | 118 |
116 // Disable GL multisampling. | 119 // Disable GL multisampling. |
117 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | 120 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; |
118 | 121 |
119 // Do not launch the GPU process shortly after browser process launch. Instead | 122 // Do not launch the GPU process shortly after browser process launch. Instead |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 // Sets the width and height above which a composited layer will get tiled. | 710 // Sets the width and height above which a composited layer will get tiled. |
708 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 711 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
709 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 712 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
710 | 713 |
711 const char kEnableFixedPositionCreatesStackingContext[] | 714 const char kEnableFixedPositionCreatesStackingContext[] |
712 = "enable-fixed-position-creates-stacking-context"; | 715 = "enable-fixed-position-creates-stacking-context"; |
713 const char kDisableFixedPositionCreatesStackingContext[] | 716 const char kDisableFixedPositionCreatesStackingContext[] |
714 = "disable-fixed-position-creates-stacking-context"; | 717 = "disable-fixed-position-creates-stacking-context"; |
715 | 718 |
716 } // namespace switches | 719 } // namespace switches |
OLD | NEW |