Commit 755e5ce2 authored by Alex Cooper's avatar Alex Cooper Committed by Commit Bot

Enable WebXR Gamepad Module by default

This feature is intended to ship in 79, so the flag should be enabled
by default.

Intent to Ship:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/Nvll21RaKwM/fTn8qUaNBwAJ

Bug: 1013739
Change-Id: I195c07cd61c2058533c2fa6640263567be248a40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1857008
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
Reviewed-by: default avatarPhilip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706576}
parent 646dd5bc
...@@ -187,7 +187,7 @@ void SetRuntimeFeaturesFromChromiumFeatures() { ...@@ -187,7 +187,7 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
{wf::EnableWebXRPlaneDetection, features::kWebXrPlaneDetection, {wf::EnableWebXRPlaneDetection, features::kWebXrPlaneDetection,
kEnableOnly}, kEnableOnly},
{wf::EnableWebXrGamepadModule, features::kWebXrGamepadModule, {wf::EnableWebXrGamepadModule, features::kWebXrGamepadModule,
kEnableOnly}, kUseFeatureState},
{wf::EnableFetchMetadata, network::features::kFetchMetadata, {wf::EnableFetchMetadata, network::features::kFetchMetadata,
kUseFeatureState}, kUseFeatureState},
{wf::EnableFetchMetadataDestination, {wf::EnableFetchMetadataDestination,
......
...@@ -710,7 +710,7 @@ const base::Feature kWebXrAnchors{"WebXRAnchors", ...@@ -710,7 +710,7 @@ const base::Feature kWebXrAnchors{"WebXRAnchors",
// Enables access to the WebXR Device API gamepad module. // Enables access to the WebXR Device API gamepad module.
const base::Feature kWebXrGamepadModule{"WebXrGamepadModule", const base::Feature kWebXrGamepadModule{"WebXrGamepadModule",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
// Enables access to raycasting against estimated XR scene geometry. // Enables access to raycasting against estimated XR scene geometry.
const base::Feature kWebXrHitTest{"WebXRHitTest", const base::Feature kWebXrHitTest{"WebXRHitTest",
......
...@@ -1805,7 +1805,7 @@ ...@@ -1805,7 +1805,7 @@
{ {
name: "WebXrGamepadModule", name: "WebXrGamepadModule",
// depends_on: ["WebXR"], // TODO(https://crbug.com/954679): uncomment once bug is fixed // depends_on: ["WebXR"], // TODO(https://crbug.com/954679): uncomment once bug is fixed
status: "experimental", status: "stable",
}, },
{ {
name: "WebXRHitTest", name: "WebXRHitTest",
......
...@@ -8773,6 +8773,7 @@ interface XRFrame ...@@ -8773,6 +8773,7 @@ interface XRFrame
method getViewerPose method getViewerPose
interface XRInputSource interface XRInputSource
attribute @@toStringTag attribute @@toStringTag
getter gamepad
getter gripSpace getter gripSpace
getter handedness getter handedness
getter profiles getter profiles
......
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