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

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

Issue 2873843002: Support autopresenting WebVr content. (Closed)
Patch Set: rebase 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 &kPhysicalWebSharing, 77 &kPhysicalWebSharing,
78 &kSearchEnginePromoExistingDevice, 78 &kSearchEnginePromoExistingDevice,
79 &kSearchEnginePromoNewDevice, 79 &kSearchEnginePromoNewDevice,
80 &kSpecialLocaleFeature, 80 &kSpecialLocaleFeature,
81 &kSpecialLocaleWrapper, 81 &kSpecialLocaleWrapper,
82 &kTabReparenting, 82 &kTabReparenting,
83 &kVideoPersistence, 83 &kVideoPersistence,
84 &kVrCustomTabBrowsing, 84 &kVrCustomTabBrowsing,
85 &kWebPaymentsModifiers, 85 &kWebPaymentsModifiers,
86 &kWebPaymentsSingleAppUiSkip, 86 &kWebPaymentsSingleAppUiSkip,
87 &kWebVrAutopresent,
87 &kWebVRCardboardSupport, 88 &kWebVRCardboardSupport,
88 &kXGEOVisibleNetworks, 89 &kXGEOVisibleNetworks,
89 &ntp_snippets::kIncreasedVisibility, 90 &ntp_snippets::kIncreasedVisibility,
90 &ntp_snippets::kForeignSessionsSuggestionsFeature, 91 &ntp_snippets::kForeignSessionsSuggestionsFeature,
91 &ntp_snippets::kNotificationsFeature, 92 &ntp_snippets::kNotificationsFeature,
92 &ntp_snippets::kPublisherFaviconsFromNewServerFeature, 93 &ntp_snippets::kPublisherFaviconsFromNewServerFeature,
93 &offline_pages::kBackgroundLoaderForDownloadsFeature, 94 &offline_pages::kBackgroundLoaderForDownloadsFeature,
94 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. 95 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421.
95 &offline_pages::kOfflinePagesSharingFeature, 96 &offline_pages::kOfflinePagesSharingFeature,
96 &password_manager::features::kViewPasswords, 97 &password_manager::features::kViewPasswords,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 226
226 const base::Feature kVrCustomTabBrowsing{"VrCustomTabBrowsing", 227 const base::Feature kVrCustomTabBrowsing{"VrCustomTabBrowsing",
227 base::FEATURE_DISABLED_BY_DEFAULT}; 228 base::FEATURE_DISABLED_BY_DEFAULT};
228 229
229 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers", 230 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers",
230 base::FEATURE_DISABLED_BY_DEFAULT}; 231 base::FEATURE_DISABLED_BY_DEFAULT};
231 232
232 const base::Feature kWebPaymentsSingleAppUiSkip{ 233 const base::Feature kWebPaymentsSingleAppUiSkip{
233 "WebPaymentsSingleAppUiSkip", base::FEATURE_ENABLED_BY_DEFAULT}; 234 "WebPaymentsSingleAppUiSkip", base::FEATURE_ENABLED_BY_DEFAULT};
234 235
236 const base::Feature kWebVrAutopresent{"WebVrAutopresent",
237 base::FEATURE_DISABLED_BY_DEFAULT};
238
235 const base::Feature kWebVRCardboardSupport{ 239 const base::Feature kWebVRCardboardSupport{
236 "WebVRCardboardSupport", base::FEATURE_ENABLED_BY_DEFAULT}; 240 "WebVRCardboardSupport", base::FEATURE_ENABLED_BY_DEFAULT};
237 241
238 const base::Feature kXGEOVisibleNetworks{"XGEOVisibleNetworks", 242 const base::Feature kXGEOVisibleNetworks{"XGEOVisibleNetworks",
239 base::FEATURE_DISABLED_BY_DEFAULT}; 243 base::FEATURE_DISABLED_BY_DEFAULT};
240 244
241 static jboolean IsInitialized(JNIEnv* env, const JavaParamRef<jclass>& clazz) { 245 static jboolean IsInitialized(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
242 return !!base::FeatureList::GetInstance(); 246 return !!base::FeatureList::GetInstance();
243 } 247 }
244 248
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 305 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
302 jdefault_value); 306 jdefault_value);
303 } 307 }
304 308
305 bool RegisterChromeFeatureListJni(JNIEnv* env) { 309 bool RegisterChromeFeatureListJni(JNIEnv* env) {
306 return RegisterNativesImpl(env); 310 return RegisterNativesImpl(env);
307 } 311 }
308 312
309 } // namespace android 313 } // namespace android
310 } // namespace chrome 314 } // 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