Commit 8809d90a authored by David Dorwin's avatar David Dorwin Committed by Commit Bot

Use consistent case for Vr flag names

This addresses a comment in https://crrev.com/c/772211.

Change-Id: I7f3fb8436a606850f1d2b7d457fe1e3ece94bbd1
Reviewed-on: https://chromium-review.googlesource.com/775997
Commit-Queue: David Dorwin <ddorwin@chromium.org>
Reviewed-by: default avatarYash Malik <ymalik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517274}
parent 72aae7e0
...@@ -235,7 +235,7 @@ public abstract class ChromeFeatureList { ...@@ -235,7 +235,7 @@ public abstract class ChromeFeatureList {
public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSingleAppUiSkip"; public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSingleAppUiSkip";
public static final String WEBVR_AUTOPRESENT_FROM_INTENT = "WebVrAutopresentFromIntent"; public static final String WEBVR_AUTOPRESENT_FROM_INTENT = "WebVrAutopresentFromIntent";
public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport"; public static final String WEBVR_CARDBOARD_SUPPORT = "WebVrCardboardSupport";
private static native boolean nativeIsInitialized(); private static native boolean nativeIsInitialized();
private static native boolean nativeIsEnabled(String featureName); private static native boolean nativeIsEnabled(String featureName);
......
...@@ -116,7 +116,7 @@ const base::Feature* kFeaturesExposedToJava[] = { ...@@ -116,7 +116,7 @@ const base::Feature* kFeaturesExposedToJava[] = {
&payments::features::kWebPaymentsModifiers, &payments::features::kWebPaymentsModifiers,
&kWebPaymentsSingleAppUiSkip, &kWebPaymentsSingleAppUiSkip,
&kWebVrAutopresentFromIntent, &kWebVrAutopresentFromIntent,
&kWebVRCardboardSupport, &kWebVrCardboardSupport,
&ntp_snippets::kIncreasedVisibility, &ntp_snippets::kIncreasedVisibility,
&ntp_snippets::kForeignSessionsSuggestionsFeature, &ntp_snippets::kForeignSessionsSuggestionsFeature,
&ntp_snippets::kNotificationsFeature, &ntp_snippets::kNotificationsFeature,
...@@ -338,7 +338,7 @@ const base::Feature kWebPaymentsSingleAppUiSkip{ ...@@ -338,7 +338,7 @@ const base::Feature kWebPaymentsSingleAppUiSkip{
const base::Feature kWebVrAutopresentFromIntent{ const base::Feature kWebVrAutopresentFromIntent{
"WebVrAutopresentFromIntent", base::FEATURE_ENABLED_BY_DEFAULT}; "WebVrAutopresentFromIntent", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kWebVRCardboardSupport{"WebVRCardboardSupport", const base::Feature kWebVrCardboardSupport{"WebVrCardboardSupport",
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
static jboolean IsInitialized(JNIEnv* env, const JavaParamRef<jclass>& clazz) { static jboolean IsInitialized(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
......
...@@ -76,7 +76,7 @@ extern const base::Feature kVrBrowsingInCustomTab; ...@@ -76,7 +76,7 @@ extern const base::Feature kVrBrowsingInCustomTab;
extern const base::Feature kVrLaunchIntents; extern const base::Feature kVrLaunchIntents;
extern const base::Feature kWebPaymentsSingleAppUiSkip; extern const base::Feature kWebPaymentsSingleAppUiSkip;
extern const base::Feature kWebVrAutopresentFromIntent; extern const base::Feature kWebVrAutopresentFromIntent;
extern const base::Feature kWebVRCardboardSupport; extern const base::Feature kWebVrCardboardSupport;
} // namespace android } // namespace android
} // namespace chrome } // namespace chrome
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment