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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 const char kProcessPerTab[] = "process-per-tab"; | 772 const char kProcessPerTab[] = "process-per-tab"; |
773 | 773 |
774 // The value of this switch determines whether the process is started as a | 774 // The value of this switch determines whether the process is started as a |
775 // renderer or plugin host. If it's empty, it's the browser. | 775 // renderer or plugin host. If it's empty, it's the browser. |
776 const char kProcessType[] = "type"; | 776 const char kProcessType[] = "type"; |
777 | 777 |
778 // Enables more web features over insecure connections. Designed to be used | 778 // Enables more web features over insecure connections. Designed to be used |
779 // for testing purposes only. | 779 // for testing purposes only. |
780 const char kReduceSecurityForTesting[] = "reduce-security-for-testing"; | 780 const char kReduceSecurityForTesting[] = "reduce-security-for-testing"; |
781 | 781 |
| 782 // Registers additional font files on Windows (for fonts outside the usual |
| 783 // %WINDIR%\Fonts location). Multiple files can be used by separating them |
| 784 // with a semicolon (;). |
| 785 const char kRegisterFontFiles[] = "register-font-files"; |
| 786 |
782 // Register Pepper plugins (see pepper_plugin_list.cc for its format). | 787 // Register Pepper plugins (see pepper_plugin_list.cc for its format). |
783 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; | 788 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; |
784 | 789 |
785 // Enables remote debug over HTTP on the specified port. | 790 // Enables remote debug over HTTP on the specified port. |
786 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 791 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
787 | 792 |
788 // Causes the renderer process to throw an assertion on launch. | 793 // Causes the renderer process to throw an assertion on launch. |
789 const char kRendererAssertTest[] = "renderer-assert-test"; | 794 const char kRendererAssertTest[] = "renderer-assert-test"; |
790 | 795 |
791 // On POSIX only: the contents of this flag are prepended to the renderer | 796 // On POSIX only: the contents of this flag are prepended to the renderer |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 | 1045 |
1041 // Disables support for Core Animation plugins. This is triggered when | 1046 // Disables support for Core Animation plugins. This is triggered when |
1042 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1047 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1043 const char kDisableCoreAnimationPlugins[] = | 1048 const char kDisableCoreAnimationPlugins[] = |
1044 "disable-core-animation-plugins"; | 1049 "disable-core-animation-plugins"; |
1045 #endif | 1050 #endif |
1046 | 1051 |
1047 // Don't dump stuff here, follow the same order as the header. | 1052 // Don't dump stuff here, follow the same order as the header. |
1048 | 1053 |
1049 } // namespace switches | 1054 } // namespace switches |
OLD | NEW |