Commit 9185e586 authored by Will Cassella's avatar Will Cassella Committed by Commit Bot

Remove WebXrGamepadModule feature flag

The WebXrGamepadModule has been stable for quite some time, so the
feature flag has been removed.

Change-Id: Icf57f11a357c299480e7e08c50260b2949aeafa3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980891Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Will Cassella <cassew@google.com>
Cr-Commit-Position: refs/heads/master@{#727315}
parent 5f05b199
......@@ -16,7 +16,6 @@ namespace vr {
WebXrVrBrowserTestBase::WebXrVrBrowserTestBase() {
enable_features_.push_back(features::kWebXr);
enable_features_.push_back(features::kWebXrGamepadModule);
}
WebXrVrBrowserTestBase::~WebXrVrBrowserTestBase() = default;
......
......@@ -189,8 +189,6 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
{wf::EnableWebXRAnchors, features::kWebXrAnchors, kEnableOnly},
{wf::EnableWebXRPlaneDetection, features::kWebXrPlaneDetection,
kEnableOnly},
{wf::EnableWebXrGamepadModule, features::kWebXrGamepadModule,
kUseFeatureState},
{wf::EnableFetchMetadata, network::features::kFetchMetadata,
kUseFeatureState},
{wf::EnableFetchMetadataDestination,
......
......@@ -719,10 +719,6 @@ const base::Feature kWebXrArModule{"WebXRARModule",
const base::Feature kWebXrAnchors{"WebXRAnchors",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables access to the WebXR Device API gamepad module.
const base::Feature kWebXrGamepadModule{"WebXrGamepadModule",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables access to raycasting against estimated XR scene geometry.
const base::Feature kWebXrHitTest{"WebXRHitTest",
base::FEATURE_DISABLED_BY_DEFAULT};
......
......@@ -150,7 +150,6 @@ CONTENT_EXPORT extern const base::Feature kWebXr;
CONTENT_EXPORT extern const base::Feature kWebXrArModule;
CONTENT_EXPORT extern const base::Feature kWebXrAnchors;
CONTENT_EXPORT extern const base::Feature kWebXrArDOMOverlay;
CONTENT_EXPORT extern const base::Feature kWebXrGamepadModule;
CONTENT_EXPORT extern const base::Feature kWebXrHitTest;
CONTENT_EXPORT extern const base::Feature kWebXrPlaneDetection;
CONTENT_EXPORT extern const base::Feature kScriptStreamingOnPreload;
......
......@@ -195,7 +195,6 @@ class WebRuntimeFeatures {
BLINK_PLATFORM_EXPORT static void EnableWebXRARModule(bool);
BLINK_PLATFORM_EXPORT static void EnableWebXRARDOMOverlay(bool);
BLINK_PLATFORM_EXPORT static void EnableWebXRAnchors(bool);
BLINK_PLATFORM_EXPORT static void EnableWebXrGamepadModule(bool);
BLINK_PLATFORM_EXPORT static void EnableWebXRHitTest(bool);
BLINK_PLATFORM_EXPORT static void EnableWebXRPlaneDetection(bool);
BLINK_PLATFORM_EXPORT static void EnableXSLT(bool);
......
......@@ -23,6 +23,6 @@ enum XRTargetRayMode {
readonly attribute XRTargetRayMode targetRayMode;
[SameObject] readonly attribute XRSpace targetRaySpace;
[SameObject] readonly attribute XRSpace? gripSpace;
[SameObject, Measure, RuntimeEnabled=WebXrGamepadModule] readonly attribute Gamepad? gamepad;
[SameObject, Measure] readonly attribute Gamepad? gamepad;
[SameObject, SaveSameObject] readonly attribute FrozenArray<DOMString> profiles;
};
......@@ -484,10 +484,6 @@ void WebRuntimeFeatures::EnableWebXRAnchors(bool enable) {
RuntimeEnabledFeatures::SetWebXRAnchorsEnabled(enable);
}
void WebRuntimeFeatures::EnableWebXrGamepadModule(bool enable) {
RuntimeEnabledFeatures::SetWebXrGamepadModuleEnabled(enable);
}
void WebRuntimeFeatures::EnableWebXRHitTest(bool enable) {
RuntimeEnabledFeatures::SetWebXRHitTestEnabled(enable);
}
......
......@@ -1884,11 +1884,6 @@
depends_on: ["WebXR"],
status: "experimental",
},
{
name: "WebXrGamepadModule",
// depends_on: ["WebXR"], // TODO(https://crbug.com/954679): uncomment once bug is fixed
status: "stable",
},
{
name: "WebXRHitTest",
// depends_on: ["WebXRARModule"], // TODO(https://crbug.com/954679): uncomment once bug is fixed
......
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