summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h')
-rw-r--r--chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h b/chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h
index 87625a8cda7..425542d1803 100644
--- a/chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h
+++ b/chromium/third_party/blink/renderer/modules/xr/xr_world_tracking_state.h
@@ -7,12 +7,12 @@
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
-#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
#include "third_party/blink/renderer/platform/heap/handle.h"
namespace blink {
class XRPlaneDetectionState;
+class XRLightEstimationState;
class XRWorldTrackingStateInit;
class XRWorldTrackingState : public ScriptWrappable {
@@ -26,10 +26,15 @@ class XRWorldTrackingState : public ScriptWrappable {
return plane_detection_state_;
}
- void Trace(blink::Visitor* visitor) override;
+ XRLightEstimationState* lightEstimationState() const {
+ return light_estimation_state_;
+ }
+
+ void Trace(Visitor* visitor) override;
private:
Member<XRPlaneDetectionState> plane_detection_state_;
+ Member<XRLightEstimationState> light_estimation_state_;
};
} // namespace blink