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

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: Fix for clang compile error. 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 // experimental feature is auto spell correct, which corrects words which are 667 // experimental feature is auto spell correct, which corrects words which are
668 // misspelled by typing the word with two consecutive letters swapped. The 668 // misspelled by typing the word with two consecutive letters swapped. The
669 // features that will be added next are: 669 // features that will be added next are:
670 // 670 //
671 // 1 - Allow multiple spellcheckers to work simultaneously. 671 // 1 - Allow multiple spellcheckers to work simultaneously.
672 // 2 - Allow automatic detection of spell check language. 672 // 2 - Allow automatic detection of spell check language.
673 // TODO(sidchat): Implement the above features to work under this flag. 673 // TODO(sidchat): Implement the above features to work under this flag.
674 const char kExperimentalSpellcheckerFeatures[] = 674 const char kExperimentalSpellcheckerFeatures[] =
675 "experimental-spellchecker-features"; 675 "experimental-spellchecker-features";
676 676
677 // If nonempty, fetch experimental zero-suggest suggestions by appending to
678 // this prefix of a URL.
679 const char kExperimentalZeroSuggestURLPrefix[] =
680 "experimental-zero-suggest-url-prefix";
681
682 // Explicitly allows additional ports using a comma-separated list of port 677 // Explicitly allows additional ports using a comma-separated list of port
683 // numbers. 678 // numbers.
684 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 679 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
685 680
686 // The time in seconds that an extension event page can be idle before it 681 // The time in seconds that an extension event page can be idle before it
687 // is shut down. 682 // is shut down.
688 const char kEventPageIdleTime[] = "event-page-idle-time"; 683 const char kEventPageIdleTime[] = "event-page-idle-time";
689 684
690 // The time in seconds that an extension event page has between being notified 685 // The time in seconds that an extension event page has between being notified
691 // of its impending unload and that unload happening. 686 // of its impending unload and that unload happening.
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1577 1572
1578 // ----------------------------------------------------------------------------- 1573 // -----------------------------------------------------------------------------
1579 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1574 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1580 // 1575 //
1581 // You were going to just dump your switches here, weren't you? Instead, please 1576 // You were going to just dump your switches here, weren't you? Instead, please
1582 // put them in alphabetical order above, or in order inside the appropriate 1577 // put them in alphabetical order above, or in order inside the appropriate
1583 // ifdef at the bottom. The order should match the header. 1578 // ifdef at the bottom. The order should match the header.
1584 // ----------------------------------------------------------------------------- 1579 // -----------------------------------------------------------------------------
1585 1580
1586 } // namespace switches 1581 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698