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

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

Issue 2751333006: Create the base Custom Context Menu Dialog. (Closed)
Patch Set: Fixed based off tedchoc's comments Created 3 years, 8 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 &features::kWebPayments, 44 &features::kWebPayments,
45 &kAndroidPayIntegrationV1, 45 &kAndroidPayIntegrationV1,
46 &kAndroidPayIntegrationV2, 46 &kAndroidPayIntegrationV2,
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 &kCustomContextMenu,
54 &kCustomFeedbackUi, 55 &kCustomFeedbackUi,
55 &kImportantSitesInCBD, 56 &kImportantSitesInCBD,
56 &kImprovedA2HS, 57 &kImprovedA2HS,
57 &kNewPhotoPicker, 58 &kNewPhotoPicker,
58 &kNoCreditCardAbort, 59 &kNoCreditCardAbort,
59 &kNTPCondensedLayoutFeature, 60 &kNTPCondensedLayoutFeature,
60 &kNTPCondensedTileLayoutFeature, 61 &kNTPCondensedTileLayoutFeature,
61 &kNTPFakeOmniboxTextFeature, 62 &kNTPFakeOmniboxTextFeature,
62 &kNTPLaunchAfterInactivity, 63 &kNTPLaunchAfterInactivity,
63 &kNTPOfflinePagesFeature, 64 &kNTPOfflinePagesFeature,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 const base::Feature kChromeHomeFeature{"ChromeHome", 117 const base::Feature kChromeHomeFeature{"ChromeHome",
117 base::FEATURE_DISABLED_BY_DEFAULT}; 118 base::FEATURE_DISABLED_BY_DEFAULT};
118 119
119 const base::Feature kContextualSearchSingleActions{ 120 const base::Feature kContextualSearchSingleActions{
120 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; 121 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT};
121 122
122 const base::Feature kContextualSearchUrlActions{ 123 const base::Feature kContextualSearchUrlActions{
123 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT}; 124 "ContextualSearchUrlActions", base::FEATURE_DISABLED_BY_DEFAULT};
124 125
126 const base::Feature kCustomContextMenu{"CustomContextMenu",
127 base::FEATURE_DISABLED_BY_DEFAULT};
128
125 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", 129 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi",
126 base::FEATURE_DISABLED_BY_DEFAULT}; 130 base::FEATURE_DISABLED_BY_DEFAULT};
127 131
128 const base::Feature kDownloadAutoResumptionThrottling{ 132 const base::Feature kDownloadAutoResumptionThrottling{
129 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 133 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
130 134
131 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", 135 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD",
132 base::FEATURE_DISABLED_BY_DEFAULT}; 136 base::FEATURE_DISABLED_BY_DEFAULT};
133 137
134 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut 138 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 258 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
255 jdefault_value); 259 jdefault_value);
256 } 260 }
257 261
258 bool RegisterChromeFeatureListJni(JNIEnv* env) { 262 bool RegisterChromeFeatureListJni(JNIEnv* env) {
259 return RegisterNativesImpl(env); 263 return RegisterNativesImpl(env);
260 } 264 }
261 265
262 } // namespace android 266 } // namespace android
263 } // namespace chrome 267 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698