| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // Install the extension specified in the argument. This is for MIME type | 369 // Install the extension specified in the argument. This is for MIME type |
| 370 // handling so that users can double-click on an extension. | 370 // handling so that users can double-click on an extension. |
| 371 const wchar_t kInstallExtension[] = L"install-extension"; | 371 const wchar_t kInstallExtension[] = L"install-extension"; |
| 372 | 372 |
| 373 // Load an extension from the specified directory. | 373 // Load an extension from the specified directory. |
| 374 const wchar_t kLoadExtension[] = L"load-extension"; | 374 const wchar_t kLoadExtension[] = L"load-extension"; |
| 375 | 375 |
| 376 // Load an NPAPI plugin from the specified path. | 376 // Load an NPAPI plugin from the specified path. |
| 377 const wchar_t kLoadPlugin[] = L"load-plugin"; | 377 const wchar_t kLoadPlugin[] = L"load-plugin"; |
| 378 | 378 |
| 379 // directory to locate user scripts in as an over-ride of the default |
| 380 const wchar_t kUserScriptsDir[] = L"user-scripts-dir"; |
| 381 |
| 379 // Causes the browser to launch directly in incognito mode. | 382 // Causes the browser to launch directly in incognito mode. |
| 380 const wchar_t kIncognito[] = L"incognito"; | 383 const wchar_t kIncognito[] = L"incognito"; |
| 381 | 384 |
| 382 // Turn on the old implementation of SafeBrowsing which may have performance | 385 // Turn on the old implementation of SafeBrowsing which may have performance |
| 383 // problems on some computers during updates. | 386 // problems on some computers during updates. |
| 384 const wchar_t kUseOldSafeBrowsing[] = L"old-safe-browsing"; | 387 const wchar_t kUseOldSafeBrowsing[] = L"old-safe-browsing"; |
| 385 | 388 |
| 386 // Turns on the accessibility in the renderer. Off by default until | 389 // Turns on the accessibility in the renderer. Off by default until |
| 387 // http://b/issue?id=1432077 is fixed. | 390 // http://b/issue?id=1432077 is fixed. |
| 388 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; | 391 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; |
| 389 | 392 |
| 390 // Enable HTML5 Video/Audio tag support | 393 // Enable HTML5 Video/Audio tag support |
| 391 const wchar_t kEnableVideo[] = L"enable-video"; | 394 const wchar_t kEnableVideo[] = L"enable-video"; |
| 392 | 395 |
| 393 // Pass the name of the current running automated test to Chrome. | 396 // Pass the name of the current running automated test to Chrome. |
| 394 const wchar_t kTestName[] = L"test-name"; | 397 const wchar_t kTestName[] = L"test-name"; |
| 395 | 398 |
| 396 // On POSIX only: the contents of this flag are prepended to the renderer | 399 // On POSIX only: the contents of this flag are prepended to the renderer |
| 397 // command line. (Useful values might be "valgrind" or "gdb --args") | 400 // command line. (Useful values might be "valgrind" or "gdb --args") |
| 398 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; | 401 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; |
| 399 | 402 |
| 400 // On POSIX only: use FIFO for IPC channels so that "unrelated" process | 403 // On POSIX only: use FIFO for IPC channels so that "unrelated" process |
| 401 // can connect to a channel, provided it knows its name. For debugging purposes. | 404 // can connect to a channel, provided it knows its name. For debugging purposes. |
| 402 const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo"; | 405 const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo"; |
| 403 | 406 |
| 404 } // namespace switches | 407 } // namespace switches |
| OLD | NEW |