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

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

Issue 2737393002: Implement the new Photo picker, part one. (Closed)
Patch Set: git cl upload Created 3 years, 9 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') | tools/metrics/histograms/histograms.xml » ('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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 &kAndroidPaymentApps, 47 &kAndroidPaymentApps,
48 &kAndroidPaymentAppsFilter, 48 &kAndroidPaymentAppsFilter,
49 &kCCTExternalLinkHandling, 49 &kCCTExternalLinkHandling,
50 &kCCTPostMessageAPI, 50 &kCCTPostMessageAPI,
51 &kChromeHomeFeature, 51 &kChromeHomeFeature,
52 &kContextualSearchSingleActions, 52 &kContextualSearchSingleActions,
53 &kContextualSearchUrlActions, 53 &kContextualSearchUrlActions,
54 &kCustomFeedbackUi, 54 &kCustomFeedbackUi,
55 &kImportantSitesInCBD, 55 &kImportantSitesInCBD,
56 &kImprovedA2HS, 56 &kImprovedA2HS,
57 &kNewPhotoPicker,
57 &kNoCreditCardAbort, 58 &kNoCreditCardAbort,
58 &kNTPCondensedLayoutFeature, 59 &kNTPCondensedLayoutFeature,
59 &kNTPCondensedTileLayoutFeature, 60 &kNTPCondensedTileLayoutFeature,
60 &kNTPFakeOmniboxTextFeature, 61 &kNTPFakeOmniboxTextFeature,
61 &kNTPLaunchAfterInactivity, 62 &kNTPLaunchAfterInactivity,
62 &kNTPOfflinePagesFeature, 63 &kNTPOfflinePagesFeature,
63 &NTPShowGoogleGInOmniboxFeature, 64 &NTPShowGoogleGInOmniboxFeature,
64 &kPhysicalWebFeature, 65 &kPhysicalWebFeature,
65 &kPhysicalWebSharing, 66 &kPhysicalWebSharing,
66 &kSpecialLocaleFeature, 67 &kSpecialLocaleFeature,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", 112 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI",
112 base::FEATURE_ENABLED_BY_DEFAULT}; 113 base::FEATURE_ENABLED_BY_DEFAULT};
113 114
114 const base::Feature kChromeHomeFeature{"ChromeHome", 115 const base::Feature kChromeHomeFeature{"ChromeHome",
115 base::FEATURE_DISABLED_BY_DEFAULT}; 116 base::FEATURE_DISABLED_BY_DEFAULT};
116 117
117 const base::Feature kContextualSearchSingleActions{ 118 const base::Feature kContextualSearchSingleActions{
118 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; 119 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT};
119 120
121 const base::Feature kContextualSearchUrlActions{
122 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT};
123
120 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", 124 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi",
121 base::FEATURE_DISABLED_BY_DEFAULT}; 125 base::FEATURE_DISABLED_BY_DEFAULT};
122 126
123 const base::Feature kDownloadAutoResumptionThrottling{ 127 const base::Feature kDownloadAutoResumptionThrottling{
124 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 128 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
125 129
126 const base::Feature kContextualSearchUrlActions{
127 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT};
128
129 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", 130 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD",
130 base::FEATURE_DISABLED_BY_DEFAULT}; 131 base::FEATURE_DISABLED_BY_DEFAULT};
131 132
132 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut 133 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut
133 // URL which opens Chrome in fullscreen. 134 // URL which opens Chrome in fullscreen.
134 const base::Feature kImprovedA2HS{"ImprovedA2HS", 135 const base::Feature kImprovedA2HS{"ImprovedA2HS",
135 base::FEATURE_DISABLED_BY_DEFAULT}; 136 base::FEATURE_DISABLED_BY_DEFAULT};
136 137
138 const base::Feature kNewPhotoPicker{"NewPhotoPicker",
139 base::FEATURE_DISABLED_BY_DEFAULT};
140
137 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", 141 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort",
138 base::FEATURE_DISABLED_BY_DEFAULT}; 142 base::FEATURE_DISABLED_BY_DEFAULT};
139 143
140 const base::Feature kNTPCondensedLayoutFeature{ 144 const base::Feature kNTPCondensedLayoutFeature{
141 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; 145 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT};
142 146
143 const base::Feature kNTPCondensedTileLayoutFeature{ 147 const base::Feature kNTPCondensedTileLayoutFeature{
144 "NTPCondensedTileLayout", base::FEATURE_DISABLED_BY_DEFAULT}; 148 "NTPCondensedTileLayout", base::FEATURE_DISABLED_BY_DEFAULT};
145 149
146 const base::Feature kNTPFakeOmniboxTextFeature{ 150 const base::Feature kNTPFakeOmniboxTextFeature{
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 247 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
244 jdefault_value); 248 jdefault_value);
245 } 249 }
246 250
247 bool RegisterChromeFeatureListJni(JNIEnv* env) { 251 bool RegisterChromeFeatureListJni(JNIEnv* env) {
248 return RegisterNativesImpl(env); 252 return RegisterNativesImpl(env);
249 } 253 }
250 254
251 } // namespace android 255 } // namespace android
252 } // namespace chrome 256 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_feature_list.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698