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 |
74 // Causes the process to run as a utility subprocess. | 77 // Causes the process to run as a utility subprocess. |
75 const wchar_t kUtilityProcess[] = L"utility"; | 78 const wchar_t kUtilityProcess[] = L"utility"; |
76 | 79 |
77 // Causes the process to run as a profile import subprocess. | 80 // Causes the process to run as a profile import subprocess. |
78 const wchar_t kProfileImportProcess[] = L"profile-import"; | 81 const wchar_t kProfileImportProcess[] = L"profile-import"; |
79 | 82 |
80 // Runs the renderer and plugins in the same process as the browser | 83 // Runs the renderer and plugins in the same process as the browser |
81 const wchar_t kSingleProcess[] = L"single-process"; | 84 const wchar_t kSingleProcess[] = L"single-process"; |
82 | 85 |
83 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 86 // 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... |
360 // Prevent images from loading. | 363 // Prevent images from loading. |
361 const wchar_t kDisableImages[] = L"disable-images"; | 364 const wchar_t kDisableImages[] = L"disable-images"; |
362 | 365 |
363 // Enable remote web font support. SVG font should always work whether | 366 // Enable remote web font support. SVG font should always work whether |
364 // this option is specified or not. | 367 // this option is specified or not. |
365 const wchar_t kEnableRemoteFonts[] = L"enable-remote-fonts"; | 368 const wchar_t kEnableRemoteFonts[] = L"enable-remote-fonts"; |
366 | 369 |
367 // Use the low fragmentation heap for the CRT. | 370 // Use the low fragmentation heap for the CRT. |
368 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; | 371 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; |
369 | 372 |
| 373 // Runs the Native Client inside the renderer process. |
| 374 const wchar_t kInternalNaCl[] = L"internal-nacl"; |
| 375 |
370 #ifndef NDEBUG | 376 #ifndef NDEBUG |
371 // Debug only switch to specify which gears plugin dll to load. | 377 // Debug only switch to specify which gears plugin dll to load. |
372 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; | 378 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; |
373 #endif | 379 #endif |
374 | 380 |
375 // Enable the fastback page cache. | 381 // Enable the fastback page cache. |
376 const wchar_t kEnableFastback[] = L"enable-fastback"; | 382 const wchar_t kEnableFastback[] = L"enable-fastback"; |
377 | 383 |
378 // Enable syncing bookmarks to a Google Account. | 384 // Enable syncing bookmarks to a Google Account. |
379 const wchar_t kEnableSync[] = L"enable-sync"; | 385 const wchar_t kEnableSync[] = L"enable-sync"; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 | 611 |
606 // Activate (make foreground) myself on launch. Helpful when Chrome | 612 // Activate (make foreground) myself on launch. Helpful when Chrome |
607 // 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. |
608 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; | 614 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; |
609 | 615 |
610 #if defined(OS_LINUX) | 616 #if defined(OS_LINUX) |
611 const wchar_t kEnablePrinting[] = L"enable-printing"; | 617 const wchar_t kEnablePrinting[] = L"enable-printing"; |
612 #endif | 618 #endif |
613 | 619 |
614 } // namespace switches | 620 } // namespace switches |
OLD | NEW |