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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java

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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java » ('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 package org.chromium.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import org.chromium.base.VisibleForTesting; 7 import org.chromium.base.VisibleForTesting;
8 import org.chromium.base.annotations.JNINamespace; 8 import org.chromium.base.annotations.JNINamespace;
9 import org.chromium.base.annotations.MainDex; 9 import org.chromium.base.annotations.MainDex;
10 import org.chromium.base.library_loader.LibraryLoader; 10 import org.chromium.base.library_loader.LibraryLoader;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox"; 189 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox";
190 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility"; 190 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility";
191 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps"; 191 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps";
192 public static final String TAB_REPARENTING = "TabReparenting"; 192 public static final String TAB_REPARENTING = "TabReparenting";
193 public static final String VIDEO_PERSISTENCE = "VideoPersistence"; 193 public static final String VIDEO_PERSISTENCE = "VideoPersistence";
194 public static final String VR_CUSTOM_TAB_BROWSING = "VrCustomTabBrowsing"; 194 public static final String VR_CUSTOM_TAB_BROWSING = "VrCustomTabBrowsing";
195 public static final String VR_SHELL = "VrShell"; 195 public static final String VR_SHELL = "VrShell";
196 public static final String WEB_PAYMENTS = "WebPayments"; 196 public static final String WEB_PAYMENTS = "WebPayments";
197 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; 197 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
198 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip"; 198 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip";
199 public static final String WEBVR_AUTOPRESENT = "WebVrAutopresent";
199 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ; 200 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ;
200 public static final String XGEO_VISIBLE_NETWORKS = "XGEOVisibleNetworks"; 201 public static final String XGEO_VISIBLE_NETWORKS = "XGEOVisibleNetworks";
201 202
202 private static native boolean nativeIsInitialized(); 203 private static native boolean nativeIsInitialized();
203 private static native boolean nativeIsEnabled(String featureName); 204 private static native boolean nativeIsEnabled(String featureName);
204 private static native String nativeGetFieldTrialParamByFeature( 205 private static native String nativeGetFieldTrialParamByFeature(
205 String featureName, String paramName); 206 String featureName, String paramName);
206 private static native int nativeGetFieldTrialParamByFeatureAsInt( 207 private static native int nativeGetFieldTrialParamByFeatureAsInt(
207 String featureName, String paramName, int defaultValue); 208 String featureName, String paramName, int defaultValue);
208 private static native double nativeGetFieldTrialParamByFeatureAsDouble( 209 private static native double nativeGetFieldTrialParamByFeatureAsDouble(
209 String featureName, String paramName, double defaultValue); 210 String featureName, String paramName, double defaultValue);
210 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( 211 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean(
211 String featureName, String paramName, boolean defaultValue); 212 String featureName, String paramName, boolean defaultValue);
212 } 213 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698