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 |
11 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 11 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
12 // have an effect. 0 disables MSAA. | 12 // have an effect. 0 disables MSAA. |
13 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; | 13 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; |
14 | 14 |
15 // By default, file:// URIs cannot read other file:// URIs. This is an | 15 // By default, file:// URIs cannot read other file:// URIs. This is an |
16 // override for developers who need the old behavior for testing. | 16 // override for developers who need the old behavior for testing. |
17 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; | 17 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
18 | 18 |
| 19 // Allows frames with an https origin to use WebSockets with an insecure URL |
| 20 // (ws://). |
| 21 const char kAllowInsecureWebSocketFromHttpsOrigin[] = |
| 22 "allow-insecure-websocket-from-https-origin"; |
| 23 |
19 // Allows loopback interface to be added in network list for peer connection. | 24 // Allows loopback interface to be added in network list for peer connection. |
20 const char kAllowLoopbackInPeerConnection[] = | 25 const char kAllowLoopbackInPeerConnection[] = |
21 "allow-loopback-in-peer-connection"; | 26 "allow-loopback-in-peer-connection"; |
22 | 27 |
23 // Enables the sandboxed processes to run without a job object assigned to them. | 28 // Enables the sandboxed processes to run without a job object assigned to them. |
24 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 29 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
25 // flag can reduce the security of the sandboxed processes and allow them to do | 30 // flag can reduce the security of the sandboxed processes and allow them to do |
26 // certain API calls like shut down Windows or access the clipboard. Also we | 31 // certain API calls like shut down Windows or access the clipboard. Also we |
27 // lose the chance to kill some processes until the outer job that owns them | 32 // lose the chance to kill some processes until the outer job that owns them |
28 // finishes. | 33 // finishes. |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 | 1025 |
1021 // Disables support for Core Animation plugins. This is triggered when | 1026 // Disables support for Core Animation plugins. This is triggered when |
1022 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1027 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1023 const char kDisableCoreAnimationPlugins[] = | 1028 const char kDisableCoreAnimationPlugins[] = |
1024 "disable-core-animation-plugins"; | 1029 "disable-core-animation-plugins"; |
1025 #endif | 1030 #endif |
1026 | 1031 |
1027 // Don't dump stuff here, follow the same order as the header. | 1032 // Don't dump stuff here, follow the same order as the header. |
1028 | 1033 |
1029 } // namespace switches | 1034 } // namespace switches |
OLD | NEW |