| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 31 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 32 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 32 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 33 | 33 |
| 34 // The same as kAuditHandles except all handles are enumerated. | 34 // The same as kAuditHandles except all handles are enumerated. |
| 35 const char kAuditAllHandles[] = "enable-handle-auditing-all"; | 35 const char kAuditAllHandles[] = "enable-handle-auditing-all"; |
| 36 | 36 |
| 37 // Enumerates and prints a child process' most dangerous handles when it | 37 // Enumerates and prints a child process' most dangerous handles when it |
| 38 // is terminated. | 38 // is terminated. |
| 39 const char kAuditHandles[] = "enable-handle-auditing"; | 39 const char kAuditHandles[] = "enable-handle-auditing"; |
| 40 | 40 |
| 41 // Blacklist the GPU for accelerated compositing. | 41 // Blacklist the GPU for GPU compositing, to force software compositing. |
| 42 const char kBlacklistAcceleratedCompositing[] = | 42 const char kBlacklistGpuCompositing[] = |
| 43 "blacklist-accelerated-compositing"; | 43 "blacklist-gpu-compositing"; |
| 44 | 44 |
| 45 // Blacklist the GPU for WebGL. | 45 // Blacklist the GPU for WebGL. |
| 46 const char kBlacklistWebGL[] = "blacklist-webgl"; | 46 const char kBlacklistWebGL[] = "blacklist-webgl"; |
| 47 | 47 |
| 48 // Choose which logging channels in blink platform to activate. See | 48 // Choose which logging channels in blink platform to activate. See |
| 49 // Logging.cpp in blink's Source/platform for a list of available channels. | 49 // Logging.cpp in blink's Source/platform for a list of available channels. |
| 50 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; | 50 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; |
| 51 | 51 |
| 52 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in | 52 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in |
| 53 // subresources when a document is not supposed to read them. This will later | 53 // subresources when a document is not supposed to read them. This will later |
| (...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 | 1030 |
| 1031 // Disables support for Core Animation plugins. This is triggered when | 1031 // Disables support for Core Animation plugins. This is triggered when |
| 1032 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1032 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1033 const char kDisableCoreAnimationPlugins[] = | 1033 const char kDisableCoreAnimationPlugins[] = |
| 1034 "disable-core-animation-plugins"; | 1034 "disable-core-animation-plugins"; |
| 1035 #endif | 1035 #endif |
| 1036 | 1036 |
| 1037 // Don't dump stuff here, follow the same order as the header. | 1037 // Don't dump stuff here, follow the same order as the header. |
| 1038 | 1038 |
| 1039 } // namespace switches | 1039 } // namespace switches |
| OLD | NEW |