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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // Force logging to be disabled. Logging is enabled by default in debug | 187 // Force logging to be disabled. Logging is enabled by default in debug |
188 // builds. | 188 // builds. |
189 const char kDisableLogging[] = "disable-logging"; | 189 const char kDisableLogging[] = "disable-logging"; |
190 | 190 |
191 // Disables Media Source API (i.e., the MediaSource object). | 191 // Disables Media Source API (i.e., the MediaSource object). |
192 const char kDisableMediaSource[] = "disable-media-source"; | 192 const char kDisableMediaSource[] = "disable-media-source"; |
193 | 193 |
194 // Disables usage of the namespace sandbox. | 194 // Disables usage of the namespace sandbox. |
195 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; | 195 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; |
196 | 196 |
| 197 // Disables the Web Notification and the Push APIs. |
| 198 const char kDisableNotifications[] = "disable-notifications"; |
| 199 |
197 // Disable rasterizer that writes directly to GPU memory. | 200 // Disable rasterizer that writes directly to GPU memory. |
198 // Overrides the kEnableOneCopy flag. | 201 // Overrides the kEnableOneCopy flag. |
199 const char kDisableOneCopy[] = "disable-one-copy"; | 202 const char kDisableOneCopy[] = "disable-one-copy"; |
200 | 203 |
201 // Disable Pepper3D. | 204 // Disable Pepper3D. |
202 const char kDisablePepper3d[] = "disable-pepper-3d"; | 205 const char kDisablePepper3d[] = "disable-pepper-3d"; |
203 | 206 |
204 // Disables compositor-accelerated touch-screen pinch gestures. | 207 // Disables compositor-accelerated touch-screen pinch gestures. |
205 const char kDisablePinch[] = "disable-pinch"; | 208 const char kDisablePinch[] = "disable-pinch"; |
206 | 209 |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 const char kEnableNpapi[] = "enable-npapi"; | 978 const char kEnableNpapi[] = "enable-npapi"; |
976 | 979 |
977 #if defined(ENABLE_PLUGINS) | 980 #if defined(ENABLE_PLUGINS) |
978 // Enables the plugin power saver feature. | 981 // Enables the plugin power saver feature. |
979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
980 #endif | 983 #endif |
981 | 984 |
982 // Don't dump stuff here, follow the same order as the header. | 985 // Don't dump stuff here, follow the same order as the header. |
983 | 986 |
984 } // namespace switches | 987 } // namespace switches |
OLD | NEW |