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

Side by Side Diff: chrome/browser/android/chrome_feature_list.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/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 21 matching lines...) Expand all
32 // in other locations in the code base (e.g. chrome/, components/, etc). 32 // in other locations in the code base (e.g. chrome/, components/, etc).
33 const base::Feature* kFeaturesExposedToJava[] = { 33 const base::Feature* kFeaturesExposedToJava[] = {
34 &autofill::kAutofillScanCardholderName, 34 &autofill::kAutofillScanCardholderName,
35 &features::kAutoplayMutedVideos, 35 &features::kAutoplayMutedVideos,
36 &features::kCredentialManagementAPI, 36 &features::kCredentialManagementAPI,
37 &features::kSimplifiedFullscreenUI, 37 &features::kSimplifiedFullscreenUI,
38 &features::kWebPayments, 38 &features::kWebPayments,
39 &kAndroidPayIntegrationV1, 39 &kAndroidPayIntegrationV1,
40 &kCCTExternalLinkHandling, 40 &kCCTExternalLinkHandling,
41 &kChromeHomeFeature, 41 &kChromeHomeFeature,
42 &kContextualSearchSingleActions,
42 &kDownloadsUiFeature, 43 &kDownloadsUiFeature,
43 &kImportantSitesInCBD, 44 &kImportantSitesInCBD,
44 &kNoCreditCardAbort, 45 &kNoCreditCardAbort,
45 &kNTPFakeOmniboxTextFeature, 46 &kNTPFakeOmniboxTextFeature,
46 &kNTPOfflinePagesFeature, 47 &kNTPOfflinePagesFeature,
47 &kPhysicalWebFeature, 48 &kPhysicalWebFeature,
48 &kPhysicalWebIgnoreOtherClientsFeature, 49 &kPhysicalWebIgnoreOtherClientsFeature,
49 &kScanCardsInWebPayments, 50 &kScanCardsInWebPayments,
50 &kSpecialLocaleFeature, 51 &kSpecialLocaleFeature,
51 &kSpecialLocaleWrapper, 52 &kSpecialLocaleWrapper,
52 &kTabReparenting, 53 &kTabReparenting,
53 &kWebApks, 54 &kWebApks,
54 &ntp_snippets::kContentSuggestionsFeature, 55 &ntp_snippets::kContentSuggestionsFeature,
55 &ntp_snippets::kSaveToOfflineFeature, 56 &ntp_snippets::kSaveToOfflineFeature,
56 &ntp_snippets::kSectionDismissalFeature, 57 &ntp_snippets::kSectionDismissalFeature,
57 &offline_pages::kBackgroundLoaderForDownloadsFeature, 58 &offline_pages::kBackgroundLoaderForDownloadsFeature,
58 &offline_pages::kOfflinePagesBackgroundLoadingFeature, 59 &offline_pages::kOfflinePagesBackgroundLoadingFeature,
59 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. 60 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421.
60 &offline_pages::kOfflinePagesSharingFeature, 61 &offline_pages::kOfflinePagesSharingFeature,
61 &password_manager::features::kViewPasswords, 62 &password_manager::features::kViewPasswords,
62 }; 63 };
63 64
64 } // namespace 65 } // namespace
65 66
67 // Alphabetical:
66 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", 68 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1",
67 base::FEATURE_ENABLED_BY_DEFAULT}; 69 base::FEATURE_ENABLED_BY_DEFAULT};
68 70
69 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", 71 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling",
70 base::FEATURE_ENABLED_BY_DEFAULT}; 72 base::FEATURE_ENABLED_BY_DEFAULT};
71 73
72 const base::Feature kChromeHomeFeature{"ChromeHome", 74 const base::Feature kChromeHomeFeature{"ChromeHome",
73 base::FEATURE_DISABLED_BY_DEFAULT}; 75 base::FEATURE_DISABLED_BY_DEFAULT};
74 76
77 const base::Feature kContextualSearchSingleActions{
78 "ContextualSearchSingleActions", base::FEATURE_DISABLED_BY_DEFAULT};
79
75 const base::Feature kDownloadsUiFeature{"DownloadsUi", 80 const base::Feature kDownloadsUiFeature{"DownloadsUi",
76 base::FEATURE_DISABLED_BY_DEFAULT}; 81 base::FEATURE_DISABLED_BY_DEFAULT};
77 82
78 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", 83 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD",
79 base::FEATURE_DISABLED_BY_DEFAULT}; 84 base::FEATURE_DISABLED_BY_DEFAULT};
80 85
81 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", 86 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort",
82 base::FEATURE_DISABLED_BY_DEFAULT}; 87 base::FEATURE_DISABLED_BY_DEFAULT};
83 88
84 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", 89 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 NOTREACHED(); 129 NOTREACHED();
125 return false; 130 return false;
126 } 131 }
127 132
128 bool RegisterChromeFeatureListJni(JNIEnv* env) { 133 bool RegisterChromeFeatureListJni(JNIEnv* env) {
129 return RegisterNativesImpl(env); 134 return RegisterNativesImpl(env);
130 } 135 }
131 136
132 } // namespace android 137 } // namespace android
133 } // namespace chrome 138 } // 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