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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 const char kDisablePrefixedEncryptedMedia[] = | 254 const char kDisablePrefixedEncryptedMedia[] = |
255 "disable-prefixed-encrypted-media"; | 255 "disable-prefixed-encrypted-media"; |
256 | 256 |
257 // Disable LocalStorage. | 257 // Disable LocalStorage. |
258 const char kDisableLocalStorage[] = "disable-local-storage"; | 258 const char kDisableLocalStorage[] = "disable-local-storage"; |
259 | 259 |
260 // Force logging to be disabled. Logging is enabled by default in debug | 260 // Force logging to be disabled. Logging is enabled by default in debug |
261 // builds. | 261 // builds. |
262 const char kDisableLogging[] = "disable-logging"; | 262 const char kDisableLogging[] = "disable-logging"; |
263 | 263 |
264 // Disable NaCl's SFI. | |
265 const char kDisableNaClSfi[] = "disable-nacl-sfi"; | |
Mark Seaborn
2013/12/06 21:42:37
Can we call this something like kEnableNaClNonSfiM
hidehiko
2013/12/09 07:43:39
Done.
| |
266 | |
264 // Disable Pepper3D. | 267 // Disable Pepper3D. |
265 const char kDisablePepper3d[] = "disable-pepper-3d"; | 268 const char kDisablePepper3d[] = "disable-pepper-3d"; |
266 | 269 |
267 // Disables compositor-accelerated touch-screen pinch gestures. | 270 // Disables compositor-accelerated touch-screen pinch gestures. |
268 const char kDisablePinch[] = "disable-pinch"; | 271 const char kDisablePinch[] = "disable-pinch"; |
269 | 272 |
270 // Prevent plugins from running. | 273 // Prevent plugins from running. |
271 const char kDisablePlugins[] = "disable-plugins"; | 274 const char kDisablePlugins[] = "disable-plugins"; |
272 | 275 |
273 // Disable discovering third-party plug-ins. Effectively loading only | 276 // Disable discovering third-party plug-ins. Effectively loading only |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1031 #endif | 1034 #endif |
1032 | 1035 |
1033 #if defined(OS_POSIX) | 1036 #if defined(OS_POSIX) |
1034 // Causes the child processes to cleanly exit via calling exit(). | 1037 // Causes the child processes to cleanly exit via calling exit(). |
1035 const char kChildCleanExit[] = "child-clean-exit"; | 1038 const char kChildCleanExit[] = "child-clean-exit"; |
1036 #endif | 1039 #endif |
1037 | 1040 |
1038 // Don't dump stuff here, follow the same order as the header. | 1041 // Don't dump stuff here, follow the same order as the header. |
1039 | 1042 |
1040 } // namespace switches | 1043 } // namespace switches |
OLD | NEW |