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

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

Issue 2902013002: Implement a sketch of the new MD Incognito NTP on Android (Closed)
Patch Set: Addressed first coments. Created 3 years, 6 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/about_flags.cc ('k') | no next file » | 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 22 matching lines...) Expand all
33 namespace { 33 namespace {
34 34
35 // Array of features exposed through the Java ChromeFeatureList API. Entries in 35 // Array of features exposed through the Java ChromeFeatureList API. Entries in
36 // this array may either refer to features defined in the header of this file or 36 // this array may either refer to features defined in the header of this file or
37 // in other locations in the code base (e.g. chrome/, components/, etc). 37 // in other locations in the code base (e.g. chrome/, components/, etc).
38 const base::Feature* kFeaturesExposedToJava[] = { 38 const base::Feature* kFeaturesExposedToJava[] = {
39 &autofill::kAutofillScanCardholderName, 39 &autofill::kAutofillScanCardholderName,
40 &features::kConsistentOmniboxGeolocation, 40 &features::kConsistentOmniboxGeolocation,
41 &features::kCopylessPaste, 41 &features::kCopylessPaste,
42 &features::kImportantSitesInCbd, 42 &features::kImportantSitesInCbd,
43 &features::kMaterialDesignIncognitoNTP,
43 &features::kServiceWorkerPaymentApps, 44 &features::kServiceWorkerPaymentApps,
44 &features::kSimplifiedFullscreenUI, 45 &features::kSimplifiedFullscreenUI,
45 &features::kVrShell, 46 &features::kVrShell,
46 &features::kWebPayments, 47 &features::kWebPayments,
47 &features::kTabsInCbd, 48 &features::kTabsInCbd,
48 &kAndroidPayIntegrationV1, 49 &kAndroidPayIntegrationV1,
49 &kAndroidPayIntegrationV2, 50 &kAndroidPayIntegrationV2,
50 &kAndroidPaymentApps, 51 &kAndroidPaymentApps,
51 &kCCTBackgroundTab, 52 &kCCTBackgroundTab,
52 &kCCTExternalLinkHandling, 53 &kCCTExternalLinkHandling,
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 306 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
306 jdefault_value); 307 jdefault_value);
307 } 308 }
308 309
309 bool RegisterChromeFeatureListJni(JNIEnv* env) { 310 bool RegisterChromeFeatureListJni(JNIEnv* env) {
310 return RegisterNativesImpl(env); 311 return RegisterNativesImpl(env);
311 } 312 }
312 313
313 } // namespace android 314 } // namespace android
314 } // namespace chrome 315 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698