| 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 23 matching lines...) Expand all Loading... |
| 34 // is terminated. | 34 // is terminated. |
| 35 const char kAuditHandles[] = "enable-handle-auditing"; | 35 const char kAuditHandles[] = "enable-handle-auditing"; |
| 36 | 36 |
| 37 // Blacklist the GPU for accelerated compositing. | 37 // Blacklist the GPU for accelerated compositing. |
| 38 const char kBlacklistAcceleratedCompositing[] = | 38 const char kBlacklistAcceleratedCompositing[] = |
| 39 "blacklist-accelerated-compositing"; | 39 "blacklist-accelerated-compositing"; |
| 40 | 40 |
| 41 // Blacklist the GPU for WebGL. | 41 // Blacklist the GPU for WebGL. |
| 42 const char kBlacklistWebGL[] = "blacklist-webgl"; | 42 const char kBlacklistWebGL[] = "blacklist-webgl"; |
| 43 | 43 |
| 44 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in |
| 45 // subresources when a document is not supposed to read them. This will later |
| 46 // allow us to block them from the entire renderer process when site isolation |
| 47 // is enabled. |
| 48 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents"; |
| 49 |
| 44 // Causes the browser process to throw an assertion on startup. | 50 // Causes the browser process to throw an assertion on startup. |
| 45 const char kBrowserAssertTest[] = "assert-test"; | 51 const char kBrowserAssertTest[] = "assert-test"; |
| 46 | 52 |
| 47 // Causes the browser process to crash on startup. | 53 // Causes the browser process to crash on startup. |
| 48 const char kBrowserCrashTest[] = "crash-test"; | 54 const char kBrowserCrashTest[] = "crash-test"; |
| 49 | 55 |
| 50 // Path to the exe to run for the renderer and plugin subprocesses. | 56 // Path to the exe to run for the renderer and plugin subprocesses. |
| 51 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; | 57 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; |
| 52 | 58 |
| 53 // Dumps extra logging about plugin loading to the log file. | 59 // Dumps extra logging about plugin loading to the log file. |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 #endif | 940 #endif |
| 935 | 941 |
| 936 #if defined(USE_AURA) | 942 #if defined(USE_AURA) |
| 937 // Forces usage of the test compositor. Needed to run ui tests on bots. | 943 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 938 extern const char kTestCompositor[] = "test-compositor"; | 944 extern const char kTestCompositor[] = "test-compositor"; |
| 939 #endif | 945 #endif |
| 940 | 946 |
| 941 // Don't dump stuff here, follow the same order as the header. | 947 // Don't dump stuff here, follow the same order as the header. |
| 942 | 948 |
| 943 } // namespace switches | 949 } // namespace switches |
| OLD | NEW |