| 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 20 matching lines...) Expand all Loading... |
| 31 // is terminated. | 31 // is terminated. |
| 32 const char kAuditHandles[] = "enable-handle-auditing"; | 32 const char kAuditHandles[] = "enable-handle-auditing"; |
| 33 | 33 |
| 34 // Blacklist the GPU for accelerated compositing. | 34 // Blacklist the GPU for accelerated compositing. |
| 35 const char kBlacklistAcceleratedCompositing[] = | 35 const char kBlacklistAcceleratedCompositing[] = |
| 36 "blacklist-accelerated-compositing"; | 36 "blacklist-accelerated-compositing"; |
| 37 | 37 |
| 38 // Blacklist the GPU for WebGL. | 38 // Blacklist the GPU for WebGL. |
| 39 const char kBlacklistWebGL[] = "blacklist-webgl"; | 39 const char kBlacklistWebGL[] = "blacklist-webgl"; |
| 40 | 40 |
| 41 // Block cross-site document(HTML/XML/JSON) from a renderer process. |
| 42 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents"; |
| 43 |
| 41 // Causes the browser process to throw an assertion on startup. | 44 // Causes the browser process to throw an assertion on startup. |
| 42 const char kBrowserAssertTest[] = "assert-test"; | 45 const char kBrowserAssertTest[] = "assert-test"; |
| 43 | 46 |
| 44 // Causes the browser process to crash on startup. | 47 // Causes the browser process to crash on startup. |
| 45 const char kBrowserCrashTest[] = "crash-test"; | 48 const char kBrowserCrashTest[] = "crash-test"; |
| 46 | 49 |
| 47 // Path to the exe to run for the renderer and plugin subprocesses. | 50 // Path to the exe to run for the renderer and plugin subprocesses. |
| 48 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; | 51 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; |
| 49 | 52 |
| 50 // Dumps extra logging about plugin loading to the log file. | 53 // Dumps extra logging about plugin loading to the log file. |
| (...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 // Forces usage of the test compositor. Needed to run ui tests on bots. | 937 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 935 extern const char kTestCompositor[] = "test-compositor"; | 938 extern const char kTestCompositor[] = "test-compositor"; |
| 936 #endif | 939 #endif |
| 937 | 940 |
| 938 // Don't dump stuff here, follow the same order as the header. | 941 // Don't dump stuff here, follow the same order as the header. |
| 939 | 942 |
| 940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 943 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
| 941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 944 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
| 942 | 945 |
| 943 } // namespace switches | 946 } // namespace switches |
| OLD | NEW |