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

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

Issue 2429033002: [TTS] Add a Feature and about:flag for Single Actions. (Closed)
Patch Set: Just a rebase. Created 4 years, 1 month 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 {"contextual-search", IDS_FLAGS_CONTEXTUAL_SEARCH, 737 {"contextual-search", IDS_FLAGS_CONTEXTUAL_SEARCH,
738 IDS_FLAGS_CONTEXTUAL_SEARCH_DESCRIPTION, kOsAndroid, 738 IDS_FLAGS_CONTEXTUAL_SEARCH_DESCRIPTION, kOsAndroid,
739 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableContextualSearch, 739 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableContextualSearch,
740 switches::kDisableContextualSearch)}, 740 switches::kDisableContextualSearch)},
741 {"cs-contextual-cards-bar-integration", 741 {"cs-contextual-cards-bar-integration",
742 IDS_FLAGS_CONTEXTUAL_SEARCH_CONTEXTUAL_CARDS_BAR_INTEGRATION, 742 IDS_FLAGS_CONTEXTUAL_SEARCH_CONTEXTUAL_CARDS_BAR_INTEGRATION,
743 IDS_FLAGS_CONTEXTUAL_SEARCH_CONTEXTUAL_CARDS_BAR_INTEGRATION_DESCRIPTION, 743 IDS_FLAGS_CONTEXTUAL_SEARCH_CONTEXTUAL_CARDS_BAR_INTEGRATION_DESCRIPTION,
744 kOsAndroid, 744 kOsAndroid,
745 SINGLE_VALUE_TYPE( 745 SINGLE_VALUE_TYPE(
746 switches::kEnableContextualSearchContextualCardsBarIntegration)}, 746 switches::kEnableContextualSearchContextualCardsBarIntegration)},
747 {"cs-contextual-cards-single-actions",
748 IDS_FLAGS_CONTEXTUAL_SEARCH_SINGLE_ACTIONS,
749 IDS_FLAGS_CONTEXTUAL_SEARCH_SINGLE_ACTIONS_DESCRIPTION, kOsAndroid,
750 FEATURE_VALUE_TYPE(chrome::android::kContextualSearchSingleActions)},
747 #endif // OS_ANDROID 751 #endif // OS_ANDROID
748 {"show-autofill-type-predictions", 752 {"show-autofill-type-predictions",
749 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, 753 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME,
750 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, kOsAll, 754 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, kOsAll,
751 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)}, 755 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)},
752 {"enable-credit-card-signin-promo", 756 {"enable-credit-card-signin-promo",
753 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_NAME, 757 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_NAME,
754 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_DESCRIPTION, kOsAll, 758 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_DESCRIPTION, kOsAll,
755 FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardSigninPromo)}, 759 FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardSigninPromo)},
756 {"smooth-scrolling", IDS_FLAGS_SMOOTH_SCROLLING_NAME, 760 {"smooth-scrolling", IDS_FLAGS_SMOOTH_SCROLLING_NAME,
(...skipping 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after
2274 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2278 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2275 2279
2276 const FeatureEntry* GetFeatureEntries(size_t* count) { 2280 const FeatureEntry* GetFeatureEntries(size_t* count) {
2277 *count = arraysize(kFeatureEntries); 2281 *count = arraysize(kFeatureEntries);
2278 return kFeatureEntries; 2282 return kFeatureEntries;
2279 } 2283 }
2280 2284
2281 } // namespace testing 2285 } // namespace testing
2282 2286
2283 } // namespace about_flags 2287 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698