| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // Path to the exe to run for the renderer and plugin subprocesses. | 65 // Path to the exe to run for the renderer and plugin subprocesses. |
| 66 const wchar_t kBrowserSubprocessPath[] = L"browser-subprocess-path"; | 66 const wchar_t kBrowserSubprocessPath[] = L"browser-subprocess-path"; |
| 67 | 67 |
| 68 // Causes the process to run as a plugin subprocess. | 68 // Causes the process to run as a plugin subprocess. |
| 69 const wchar_t kPluginProcess[] = L"plugin"; | 69 const wchar_t kPluginProcess[] = L"plugin"; |
| 70 | 70 |
| 71 // Causes the process to run as a worker subprocess. | 71 // Causes the process to run as a worker subprocess. |
| 72 const wchar_t kWorkerProcess[] = L"worker"; | 72 const wchar_t kWorkerProcess[] = L"worker"; |
| 73 | 73 |
| 74 // Causes the process to run as a NativeClient's sel_ldr subprocess. | |
| 75 const wchar_t kNaClProcess[] = L"nacl"; | |
| 76 | |
| 77 // Causes the process to run as a utility subprocess. | 74 // Causes the process to run as a utility subprocess. |
| 78 const wchar_t kUtilityProcess[] = L"utility"; | 75 const wchar_t kUtilityProcess[] = L"utility"; |
| 79 | 76 |
| 80 // Causes the process to run as a profile import subprocess. | 77 // Causes the process to run as a profile import subprocess. |
| 81 const wchar_t kProfileImportProcess[] = L"profile-import"; | 78 const wchar_t kProfileImportProcess[] = L"profile-import"; |
| 82 | 79 |
| 83 // Runs the renderer and plugins in the same process as the browser | 80 // Runs the renderer and plugins in the same process as the browser |
| 84 const wchar_t kSingleProcess[] = L"single-process"; | 81 const wchar_t kSingleProcess[] = L"single-process"; |
| 85 | 82 |
| 86 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 83 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 // Prevent images from loading. | 360 // Prevent images from loading. |
| 364 const wchar_t kDisableImages[] = L"disable-images"; | 361 const wchar_t kDisableImages[] = L"disable-images"; |
| 365 | 362 |
| 366 // Enable remote web font support. SVG font should always work whether | 363 // Enable remote web font support. SVG font should always work whether |
| 367 // this option is specified or not. | 364 // this option is specified or not. |
| 368 const wchar_t kEnableRemoteFonts[] = L"enable-remote-fonts"; | 365 const wchar_t kEnableRemoteFonts[] = L"enable-remote-fonts"; |
| 369 | 366 |
| 370 // Use the low fragmentation heap for the CRT. | 367 // Use the low fragmentation heap for the CRT. |
| 371 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; | 368 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; |
| 372 | 369 |
| 373 // Runs the Native Client inside the renderer process. | |
| 374 const wchar_t kInternalNaCl[] = L"internal-nacl"; | |
| 375 | |
| 376 #ifndef NDEBUG | 370 #ifndef NDEBUG |
| 377 // Debug only switch to specify which gears plugin dll to load. | 371 // Debug only switch to specify which gears plugin dll to load. |
| 378 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; | 372 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; |
| 379 #endif | 373 #endif |
| 380 | 374 |
| 381 // Enable the fastback page cache. | 375 // Enable the fastback page cache. |
| 382 const wchar_t kEnableFastback[] = L"enable-fastback"; | 376 const wchar_t kEnableFastback[] = L"enable-fastback"; |
| 383 | 377 |
| 384 // Enable syncing bookmarks to a Google Account. | 378 // Enable syncing bookmarks to a Google Account. |
| 385 const wchar_t kEnableSync[] = L"enable-sync"; | 379 const wchar_t kEnableSync[] = L"enable-sync"; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 | 607 |
| 614 // Explicitly allow additional ports using a comma separated list of port | 608 // Explicitly allow additional ports using a comma separated list of port |
| 615 // numbers. | 609 // numbers. |
| 616 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; | 610 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; |
| 617 | 611 |
| 618 // Activate (make foreground) myself on launch. Helpful when Chrome | 612 // Activate (make foreground) myself on launch. Helpful when Chrome |
| 619 // is launched on the command line (e.g. by Selenium). Only needed on Mac. | 613 // is launched on the command line (e.g. by Selenium). Only needed on Mac. |
| 620 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; | 614 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; |
| 621 | 615 |
| 622 } // namespace switches | 616 } // namespace switches |
| OLD | NEW |