Chromium Code Reviews| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 184 // Disable LocalStorage. | 184 // Disable LocalStorage. |
| 185 const char kDisableLocalStorage[] = "disable-local-storage"; | 185 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 186 | 186 |
| 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 the Web Notification API. | |
|
Michael van Ouwerkerk
2015/02/13 11:50:47
And the Push API.
Peter Beverloo
2015/02/13 12:22:51
Done.
| |
| 195 const char kDisableNotifications[] = "disable-notifications"; | |
| 196 | |
| 194 // Disable rasterizer that writes directly to GPU memory. | 197 // Disable rasterizer that writes directly to GPU memory. |
| 195 // Overrides the kEnableOneCopy flag. | 198 // Overrides the kEnableOneCopy flag. |
| 196 const char kDisableOneCopy[] = "disable-one-copy"; | 199 const char kDisableOneCopy[] = "disable-one-copy"; |
| 197 | 200 |
| 198 // Disable Pepper3D. | 201 // Disable Pepper3D. |
| 199 const char kDisablePepper3d[] = "disable-pepper-3d"; | 202 const char kDisablePepper3d[] = "disable-pepper-3d"; |
| 200 | 203 |
| 201 // Disables compositor-accelerated touch-screen pinch gestures. | 204 // Disables compositor-accelerated touch-screen pinch gestures. |
| 202 const char kDisablePinch[] = "disable-pinch"; | 205 const char kDisablePinch[] = "disable-pinch"; |
| 203 | 206 |
| (...skipping 771 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 |