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

Side by Side Diff: chrome/browser/android/chrome_feature_list.cc

Issue 2874773002: Add feature to control showing suggestion summaries. (Closed)
Patch Set: Add entries to enums.xml Created 3 years, 7 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 | « chrome/browser/android/chrome_feature_list.h ('k') | chrome/browser/flag_descriptions.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/chrome_feature_list.h" 5 #include "chrome/browser/android/chrome_feature_list.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 &features::kTabsInCbd, 46 &features::kTabsInCbd,
47 &kAndroidPayIntegrationV1, 47 &kAndroidPayIntegrationV1,
48 &kAndroidPayIntegrationV2, 48 &kAndroidPayIntegrationV2,
49 &kAndroidPaymentApps, 49 &kAndroidPaymentApps,
50 &kCCTBackgroundTab, 50 &kCCTBackgroundTab,
51 &kCCTExternalLinkHandling, 51 &kCCTExternalLinkHandling,
52 &kCCTPostMessageAPI, 52 &kCCTPostMessageAPI,
53 &kChromeHomeFeature, 53 &kChromeHomeFeature,
54 &kChromeHomeExpandButton, 54 &kChromeHomeExpandButton,
55 &kContentSuggestionsSettings, 55 &kContentSuggestionsSettings,
56 &kContentSuggestionsShowSummary,
56 &kContextualSearchSingleActions, 57 &kContextualSearchSingleActions,
57 &kContextualSearchUrlActions, 58 &kContextualSearchUrlActions,
58 &kCustomContextMenu, 59 &kCustomContextMenu,
59 &kCustomFeedbackUi, 60 &kCustomFeedbackUi,
60 &data_reduction_proxy::features::kDataReductionMainMenu, 61 &data_reduction_proxy::features::kDataReductionMainMenu,
61 &data_reduction_proxy::features::kDataReductionSiteBreakdown, 62 &data_reduction_proxy::features::kDataReductionSiteBreakdown,
62 &kFullscreenActivity, 63 &kFullscreenActivity,
63 &kImportantSitesInCBD, 64 &kImportantSitesInCBD,
64 &kImprovedA2HS, 65 &kImprovedA2HS,
65 &kNewPhotoPicker, 66 &kNewPhotoPicker,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 126
126 const base::Feature kChromeHomeFeature{"ChromeHome", 127 const base::Feature kChromeHomeFeature{"ChromeHome",
127 base::FEATURE_DISABLED_BY_DEFAULT}; 128 base::FEATURE_DISABLED_BY_DEFAULT};
128 129
129 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", 130 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton",
130 base::FEATURE_DISABLED_BY_DEFAULT}; 131 base::FEATURE_DISABLED_BY_DEFAULT};
131 132
132 const base::Feature kContentSuggestionsSettings{ 133 const base::Feature kContentSuggestionsSettings{
133 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT}; 134 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT};
134 135
136 const base::Feature kContentSuggestionsShowSummary{
137 "ContentSuggestionsShowSummary", base::FEATURE_ENABLED_BY_DEFAULT};
138
135 const base::Feature kContextualSearchSingleActions{ 139 const base::Feature kContextualSearchSingleActions{
136 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; 140 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT};
137 141
138 const base::Feature kContextualSearchUrlActions{ 142 const base::Feature kContextualSearchUrlActions{
139 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; 143 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT};
140 144
141 const base::Feature kCustomContextMenu{"CustomContextMenu", 145 const base::Feature kCustomContextMenu{"CustomContextMenu",
142 base::FEATURE_DISABLED_BY_DEFAULT}; 146 base::FEATURE_DISABLED_BY_DEFAULT};
143 147
144 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", 148 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 288 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
285 jdefault_value); 289 jdefault_value);
286 } 290 }
287 291
288 bool RegisterChromeFeatureListJni(JNIEnv* env) { 292 bool RegisterChromeFeatureListJni(JNIEnv* env) {
289 return RegisterNativesImpl(env); 293 return RegisterNativesImpl(env);
290 } 294 }
291 295
292 } // namespace android 296 } // namespace android
293 } // namespace chrome 297 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_feature_list.h ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698