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

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

Issue 304253005: Make the contextual search flag tri-state. This allows users to opt-out even if they're in the Fin… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/common/chrome_switches.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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 IDS_FLAGS_ENABLE_NEW_NTP_DESCRIPTION, 667 IDS_FLAGS_ENABLE_NEW_NTP_DESCRIPTION,
668 kOsAndroid, 668 kOsAndroid,
669 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewNTP, 669 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewNTP,
670 switches::kDisableNewNTP) 670 switches::kDisableNewNTP)
671 }, 671 },
672 { 672 {
673 "contextual-search", 673 "contextual-search",
674 IDS_FLAGS_ENABLE_CONTEXTUAL_SEARCH, 674 IDS_FLAGS_ENABLE_CONTEXTUAL_SEARCH,
675 IDS_FLAGS_ENABLE_CONTEXTUAL_SEARCH_DESCRIPTION, 675 IDS_FLAGS_ENABLE_CONTEXTUAL_SEARCH_DESCRIPTION,
676 kOsAndroid, 676 kOsAndroid,
677 SINGLE_VALUE_TYPE(switches::kEnableContextualSearch) 677 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableContextualSearch,
678 switches::kDisableContextualSearch)
678 }, 679 },
679 #endif 680 #endif
680 { 681 {
681 "show-autofill-type-predictions", 682 "show-autofill-type-predictions",
682 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, 683 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME,
683 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, 684 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION,
684 kOsAll, 685 kOsAll,
685 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions) 686 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)
686 }, 687 },
687 { 688 {
(...skipping 1659 matching lines...) Expand 10 before | Expand all | Expand 10 after
2347 } 2348 }
2348 2349
2349 const Experiment* GetExperiments(size_t* count) { 2350 const Experiment* GetExperiments(size_t* count) {
2350 *count = num_experiments; 2351 *count = num_experiments;
2351 return experiments; 2352 return experiments;
2352 } 2353 }
2353 2354
2354 } // namespace testing 2355 } // namespace testing
2355 2356
2356 } // namespace about_flags 2357 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698