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

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

Issue 2888203003: Add separate feature flag for VR CCT browsing. (Closed)
Patch Set: Add histogram enums + add matching buildflags for descriptions. 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/vr_shell/VrShellDelegate.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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 public static final String NTP_CONDENSED_LAYOUT = "NTPCondensedLayout"; 184 public static final String NTP_CONDENSED_LAYOUT = "NTPCondensedLayout";
185 public static final String NTP_CONDENSED_TILE_LAYOUT = "NTPCondensedTileLayo ut"; 185 public static final String NTP_CONDENSED_TILE_LAYOUT = "NTPCondensedTileLayo ut";
186 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions"; 186 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions";
187 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity"; 187 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity";
188 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages "; 188 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages ";
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_SHELL = "VrShell"; 195 public static final String VR_SHELL = "VrShell";
195 public static final String WEB_PAYMENTS = "WebPayments"; 196 public static final String WEB_PAYMENTS = "WebPayments";
196 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; 197 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
197 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";
198 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ; 199 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ;
199 public static final String XGEO_VISIBLE_NETWORKS = "XGEOVisibleNetworks"; 200 public static final String XGEO_VISIBLE_NETWORKS = "XGEOVisibleNetworks";
200 201
201 private static native boolean nativeIsInitialized(); 202 private static native boolean nativeIsInitialized();
202 private static native boolean nativeIsEnabled(String featureName); 203 private static native boolean nativeIsEnabled(String featureName);
203 private static native String nativeGetFieldTrialParamByFeature( 204 private static native String nativeGetFieldTrialParamByFeature(
204 String featureName, String paramName); 205 String featureName, String paramName);
205 private static native int nativeGetFieldTrialParamByFeatureAsInt( 206 private static native int nativeGetFieldTrialParamByFeatureAsInt(
206 String featureName, String paramName, int defaultValue); 207 String featureName, String paramName, int defaultValue);
207 private static native double nativeGetFieldTrialParamByFeatureAsDouble( 208 private static native double nativeGetFieldTrialParamByFeatureAsDouble(
208 String featureName, String paramName, double defaultValue); 209 String featureName, String paramName, double defaultValue);
209 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( 210 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean(
210 String featureName, String paramName, boolean defaultValue); 211 String featureName, String paramName, boolean defaultValue);
211 } 212 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698