| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 // Causes the worker process allocation to use as many processes as cores. | 458 // Causes the worker process allocation to use as many processes as cores. |
| 459 const wchar_t kWebWorkerProcessPerCore[] = L"web-worker-process-per-core"; | 459 const wchar_t kWebWorkerProcessPerCore[] = L"web-worker-process-per-core"; |
| 460 | 460 |
| 461 // Causes workers to run together in one process, depending on their domains. | 461 // Causes workers to run together in one process, depending on their domains. |
| 462 // Note this is duplicated in webworkerclient_impl.cc | 462 // Note this is duplicated in webworkerclient_impl.cc |
| 463 const wchar_t kWebWorkerShareProcesses[] = L"web-worker-share-processes"; | 463 const wchar_t kWebWorkerShareProcesses[] = L"web-worker-share-processes"; |
| 464 | 464 |
| 465 // Enables the bookmark menu. | 465 // Enables the bookmark menu. |
| 466 const wchar_t kBookmarkMenu[] = L"bookmark-menu"; | 466 const wchar_t kBookmarkMenu[] = L"bookmark-menu"; |
| 467 | 467 |
| 468 // Enables auto spell correction. | 468 // Enables experimental features for Spellchecker. Right now, the first |
| 469 const wchar_t kAutoSpellCorrect[] = L"auto-spell-correct"; | 469 // experimental feature is auto spell correct, which corrects words which are |
| 470 // misppelled by typing the word with two consecutive letters swapped. The |
| 471 // features that will be added next are: |
| 472 // 1 - Allow multiple spellcheckers to work simultaneously. |
| 473 // 2 - Allow automatic detection of spell check language. |
| 474 // TODO(sidchat): Implement the above fetaures to work under this flag. |
| 475 const wchar_t kExperimentalSpellcheckerFeatures[] = |
| 476 L"experimental-spellchecker-features"; |
| 470 | 477 |
| 471 // Enables StatsTable, logging statistics to a global named shared memory table. | 478 // Enables StatsTable, logging statistics to a global named shared memory table. |
| 472 const wchar_t kEnableStatsTable[] = L"enable-stats-table"; | 479 const wchar_t kEnableStatsTable[] = L"enable-stats-table"; |
| 473 | 480 |
| 474 // Replaces the audio IPC layer for <audio> and <video> with a mock audio | 481 // Replaces the audio IPC layer for <audio> and <video> with a mock audio |
| 475 // device, useful when using remote desktop or machines without sound cards. | 482 // device, useful when using remote desktop or machines without sound cards. |
| 476 // This is temporary until we fix the underlying problem. | 483 // This is temporary until we fix the underlying problem. |
| 477 // | 484 // |
| 478 // TODO(scherkus): remove --disable-audio when we have a proper fallback | 485 // TODO(scherkus): remove --disable-audio when we have a proper fallback |
| 479 // mechanism. | 486 // mechanism. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; | 621 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; |
| 615 | 622 |
| 616 // Activate (make foreground) myself on launch. Helpful when Chrome | 623 // Activate (make foreground) myself on launch. Helpful when Chrome |
| 617 // is launched on the command line (e.g. by Selenium). Only needed on Mac. | 624 // is launched on the command line (e.g. by Selenium). Only needed on Mac. |
| 618 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; | 625 const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; |
| 619 | 626 |
| 620 // Enable experimental WebGL support. | 627 // Enable experimental WebGL support. |
| 621 const wchar_t kEnableExperimentalWebGL[] = L"enable-webgl"; | 628 const wchar_t kEnableExperimentalWebGL[] = L"enable-webgl"; |
| 622 | 629 |
| 623 } // namespace switches | 630 } // namespace switches |
| OLD | NEW |