| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 | 928 |
| 929 // Like kPluginLauncher for PPAPI plugins. | 929 // Like kPluginLauncher for PPAPI plugins. |
| 930 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; | 930 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; |
| 931 | 931 |
| 932 // Argument to the process type that indicates a PPAPI plugin process type. | 932 // Argument to the process type that indicates a PPAPI plugin process type. |
| 933 const char kPpapiPluginProcess[] = "ppapi"; | 933 const char kPpapiPluginProcess[] = "ppapi"; |
| 934 | 934 |
| 935 // Causes the PPAPI sub process to display a dialog on launch. | 935 // Causes the PPAPI sub process to display a dialog on launch. |
| 936 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; | 936 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; |
| 937 | 937 |
| 938 // Establishes a channel to the GPU process asynchronously and (re)launches it | |
| 939 // if necessary when a renderer process starts. | |
| 940 const char kPrelaunchGpuProcess[] = "prelaunch-gpu-process"; | |
| 941 | |
| 942 // Prints the pages on the screen. | 938 // Prints the pages on the screen. |
| 943 const char kPrint[] = "print"; | 939 const char kPrint[] = "print"; |
| 944 | 940 |
| 945 // Runs a single process for each site (i.e., group of pages from the same | 941 // Runs a single process for each site (i.e., group of pages from the same |
| 946 // registered domain) the user visits. We default to using a renderer process | 942 // registered domain) the user visits. We default to using a renderer process |
| 947 // for each site instance (i.e., group of pages from the same registered | 943 // for each site instance (i.e., group of pages from the same registered |
| 948 // domain with script connections to each other). | 944 // domain with script connections to each other). |
| 949 const char kProcessPerSite[] = "process-per-site"; | 945 const char kProcessPerSite[] = "process-per-site"; |
| 950 | 946 |
| 951 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 947 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 | 1382 |
| 1387 // ----------------------------------------------------------------------------- | 1383 // ----------------------------------------------------------------------------- |
| 1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1384 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1389 // | 1385 // |
| 1390 // You were going to just dump your switches here, weren't you? Instead, | 1386 // You were going to just dump your switches here, weren't you? Instead, |
| 1391 // please put them in alphabetical order above, or in order inside the | 1387 // please put them in alphabetical order above, or in order inside the |
| 1392 // appropriate ifdef at the bottom. The order should match the header. | 1388 // appropriate ifdef at the bottom. The order should match the header. |
| 1393 // ----------------------------------------------------------------------------- | 1389 // ----------------------------------------------------------------------------- |
| 1394 | 1390 |
| 1395 } // namespace switches | 1391 } // namespace switches |
| OLD | NEW |