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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 11421169: [Spellcheck] Explose the flag for autocorrect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing copy/paste error Created 8 years 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/app/generated_resources.grd ('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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage) 762 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage)
763 }, 763 },
764 { 764 {
765 "force-sync-spellcheck", 765 "force-sync-spellcheck",
766 IDS_FLAGS_FORCE_SYNC_SPELLCHECK, 766 IDS_FLAGS_FORCE_SYNC_SPELLCHECK,
767 IDS_FLAGS_FORCE_SYNC_SPELLCHECK_DESCRIPTION, 767 IDS_FLAGS_FORCE_SYNC_SPELLCHECK_DESCRIPTION,
768 kOsWin | kOsLinux | kOsCrOS, 768 kOsWin | kOsLinux | kOsCrOS,
769 SINGLE_VALUE_TYPE(switches::kForceSyncSpellCheck) 769 SINGLE_VALUE_TYPE(switches::kForceSyncSpellCheck)
770 }, 770 },
771 { 771 {
772 "spellcheck-autocorrect",
773 IDS_FLAGS_SPELLCHECK_AUTOCORRECT,
774 IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION,
775 kOsWin | kOsLinux | kOsCrOS,
776 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)
777 },
778 {
772 "touch-events", 779 "touch-events",
773 IDS_TOUCH_EVENTS_NAME, 780 IDS_TOUCH_EVENTS_NAME,
774 IDS_TOUCH_EVENTS_DESCRIPTION, 781 IDS_TOUCH_EVENTS_DESCRIPTION,
775 kOsAll, 782 kOsAll,
776 MULTI_VALUE_TYPE(kTouchEventsChoices) 783 MULTI_VALUE_TYPE(kTouchEventsChoices)
777 }, 784 },
778 { 785 {
779 "touch-optimized-ui", 786 "touch-optimized-ui",
780 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, 787 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME,
781 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION, 788 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION,
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 } 1598 }
1592 1599
1593 const Experiment* GetExperiments(size_t* count) { 1600 const Experiment* GetExperiments(size_t* count) {
1594 *count = num_experiments; 1601 *count = num_experiments;
1595 return experiments; 1602 return experiments;
1596 } 1603 }
1597 1604
1598 } // namespace testing 1605 } // namespace testing
1599 1606
1600 } // namespace about_flags 1607 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698