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

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

Issue 10933023: Control zero suggest with a pref, not a switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 // experimental feature is auto spell correct, which corrects words which are 663 // experimental feature is auto spell correct, which corrects words which are
664 // misspelled by typing the word with two consecutive letters swapped. The 664 // misspelled by typing the word with two consecutive letters swapped. The
665 // features that will be added next are: 665 // features that will be added next are:
666 // 666 //
667 // 1 - Allow multiple spellcheckers to work simultaneously. 667 // 1 - Allow multiple spellcheckers to work simultaneously.
668 // 2 - Allow automatic detection of spell check language. 668 // 2 - Allow automatic detection of spell check language.
669 // TODO(sidchat): Implement the above features to work under this flag. 669 // TODO(sidchat): Implement the above features to work under this flag.
670 const char kExperimentalSpellcheckerFeatures[] = 670 const char kExperimentalSpellcheckerFeatures[] =
671 "experimental-spellchecker-features"; 671 "experimental-spellchecker-features";
672 672
673 // If nonempty, fetch experimental zero-suggest suggestions by appending to
674 // this prefix of a URL.
675 const char kExperimentalZeroSuggestURLPrefix[] =
676 "experimental-zero-suggest-url-prefix";
677
678 // Explicitly allows additional ports using a comma-separated list of port 673 // Explicitly allows additional ports using a comma-separated list of port
679 // numbers. 674 // numbers.
680 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 675 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
681 676
682 // The time in seconds that an extension event page can be idle before it 677 // The time in seconds that an extension event page can be idle before it
683 // is shut down. 678 // is shut down.
684 const char kEventPageIdleTime[] = "event-page-idle-time"; 679 const char kEventPageIdleTime[] = "event-page-idle-time";
685 680
686 // The time in seconds that an extension event page has between being notified 681 // The time in seconds that an extension event page has between being notified
687 // of its impending unload and that unload happening. 682 // of its impending unload and that unload happening.
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 1570
1576 // ----------------------------------------------------------------------------- 1571 // -----------------------------------------------------------------------------
1577 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1572 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1578 // 1573 //
1579 // You were going to just dump your switches here, weren't you? Instead, please 1574 // You were going to just dump your switches here, weren't you? Instead, please
1580 // put them in alphabetical order above, or in order inside the appropriate 1575 // put them in alphabetical order above, or in order inside the appropriate
1581 // ifdef at the bottom. The order should match the header. 1576 // ifdef at the bottom. The order should match the header.
1582 // ----------------------------------------------------------------------------- 1577 // -----------------------------------------------------------------------------
1583 1578
1584 } // namespace switches 1579 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698