Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 13488014: Translate: Adding a flag to enable "alpha language" translation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 // Enables synced notifications. 644 // Enables synced notifications.
645 const char kEnableSyncSyncedNotifications[] = 645 const char kEnableSyncSyncedNotifications[] =
646 "enable-sync-synced-notifications"; 646 "enable-sync-synced-notifications";
647 647
648 // Enables synced favicons 648 // Enables synced favicons
649 const char kEnableSyncFavicons[] = "enable-sync-favicons"; 649 const char kEnableSyncFavicons[] = "enable-sync-favicons";
650 650
651 // Enables context menu for selecting groups of tabs. 651 // Enables context menu for selecting groups of tabs.
652 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; 652 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu";
653 653
654 // Enables Chrome Translate for "alpha languages", that may have less-reliable
655 // translation quality than supported languages.
656 const char kEnableTranslateAlphaLanguages[] =
657 "enable-translate-alpha-languages";
658
654 // Enables Alternate-Protocol when the port is user controlled (> 1024). 659 // Enables Alternate-Protocol when the port is user controlled (> 1024).
655 const char kEnableUserAlternateProtocolPorts[] = 660 const char kEnableUserAlternateProtocolPorts[] =
656 "enable-user-controlled-alternate-protocol-ports"; 661 "enable-user-controlled-alternate-protocol-ports";
657 662
658 // Spawns threads to watch for excessive delays in specified message loops. 663 // Spawns threads to watch for excessive delays in specified message loops.
659 // User should set breakpoints on Alarm() to examine problematic thread. 664 // User should set breakpoints on Alarm() to examine problematic thread.
660 // 665 //
661 // Usage: -enable-watchdog=[ui][io] 666 // Usage: -enable-watchdog=[ui][io]
662 // 667 //
663 // Order of the listed sub-arguments does not matter. 668 // Order of the listed sub-arguments does not matter.
(...skipping 17 matching lines...) Expand all
681 // Marks a renderer as extension process. 686 // Marks a renderer as extension process.
682 const char kExtensionProcess[] = "extension-process"; 687 const char kExtensionProcess[] = "extension-process";
683 688
684 // Frequency in seconds for Extensions auto-update. 689 // Frequency in seconds for Extensions auto-update.
685 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 690 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
686 691
687 // Fakes the channel of the browser for purposes of Variations filtering. This 692 // Fakes the channel of the browser for purposes of Variations filtering. This
688 // is to be used for testing only. Possible values are "stable", "beta", "dev" 693 // is to be used for testing only. Possible values are "stable", "beta", "dev"
689 // and "canary". Note that this only applies if the browser's reported channel 694 // and "canary". Note that this only applies if the browser's reported channel
690 // is UNKNOWN. 695 // is UNKNOWN.
691 const char kFakeVariationsChannel[] = "fake-variations-channel"; 696 const char kFakeVariationsChannel[] = "fake-variations-channel";
692 697
693 // These two flags are added around the switches about:flags adds to the 698 // These two flags are added around the switches about:flags adds to the
694 // command line. This is useful to see which switches were added by about:flags 699 // command line. This is useful to see which switches were added by about:flags
695 // on about:version. They don't have any effect. 700 // on about:version. They don't have any effect.
696 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 701 const char kFlagSwitchesBegin[] = "flag-switches-begin";
697 const char kFlagSwitchesEnd[] = "flag-switches-end"; 702 const char kFlagSwitchesEnd[] = "flag-switches-end";
698 703
699 // Alternative feedback server to use when submitting user feedback 704 // Alternative feedback server to use when submitting user feedback
700 const char kFeedbackServer[] = "feedback-server"; 705 const char kFeedbackServer[] = "feedback-server";
701 706
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 1686
1682 // ----------------------------------------------------------------------------- 1687 // -----------------------------------------------------------------------------
1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1688 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1684 // 1689 //
1685 // You were going to just dump your switches here, weren't you? Instead, please 1690 // You were going to just dump your switches here, weren't you? Instead, please
1686 // put them in alphabetical order above, or in order inside the appropriate 1691 // put them in alphabetical order above, or in order inside the appropriate
1687 // ifdef at the bottom. The order should match the header. 1692 // ifdef at the bottom. The order should match the header.
1688 // ----------------------------------------------------------------------------- 1693 // -----------------------------------------------------------------------------
1689 1694
1690 } // namespace switches 1695 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698