#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "device/vr/public/mojom/vr_service.mojom-blink.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "device/vr/public/mojom/vr_service.mojom-params-data.h"
#include "device/vr/public/mojom/vr_service.mojom-shared-message-ids.h"
#include "device/vr/public/mojom/vr_service.mojom-blink-import-headers.h"
#include "device/vr/public/mojom/vr_service.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace device::mojom::blink {
constexpr uint64_t XRCubeMap::kNumComponentsPerPixel;
XRDepthConfig::XRDepthConfig()
: … { … }
XRDepthConfig::XRDepthConfig(
::device::mojom::blink::XRDepthUsage depth_usage_in,
::device::mojom::blink::XRDepthDataFormat depth_data_format_in)
: … { … }
XRDepthConfig::~XRDepthConfig() = default;
size_t XRDepthConfig::Hash(size_t seed) const { … }
void XRDepthConfig::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRDepthConfig::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRSessionDeviceConfig::XRSessionDeviceConfig()
: … { … }
XRSessionDeviceConfig::XRSessionDeviceConfig(
float default_framebuffer_scale_in,
WTF::Vector<XRViewPtr> views_in,
bool supports_viewport_scaling_in,
bool enable_anti_aliasing_in,
XRDepthConfigPtr depth_configuration_in)
: … { … }
XRSessionDeviceConfig::~XRSessionDeviceConfig() = default;
void XRSessionDeviceConfig::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRSessionDeviceConfig::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRSession::XRSession()
: … { … }
XRSession::XRSession(
::mojo::PendingRemote<XRFrameDataProvider> data_provider_in,
::mojo::PendingReceiver<XRSessionClient> client_receiver_in,
XRPresentationConnectionPtr submit_frame_sink_in,
WTF::Vector<::device::mojom::blink::XRSessionFeature> enabled_features_in,
XRSessionDeviceConfigPtr device_config_in,
XREnvironmentBlendMode enviroment_blend_mode_in,
XRInteractionMode interaction_mode_in)
: … { … }
XRSession::~XRSession() = default;
void XRSession::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRSession::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRPresentationConnection::XRPresentationConnection()
: … { … }
XRPresentationConnection::XRPresentationConnection(
::mojo::PendingRemote<XRPresentationProvider> provider_in,
::mojo::PendingReceiver<XRPresentationClient> client_receiver_in,
XRPresentationTransportOptionsPtr transport_options_in)
: … { … }
XRPresentationConnection::~XRPresentationConnection() = default;
void XRPresentationConnection::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRPresentationConnection::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRInputSourceDescription::XRInputSourceDescription()
: … { … }
XRInputSourceDescription::XRInputSourceDescription(
XRTargetRayMode target_ray_mode_in,
XRHandedness handedness_in,
const std::optional<::gfx::Transform>& input_from_pointer_in,
WTF::Vector<WTF::String> profiles_in)
: … { … }
XRInputSourceDescription::~XRInputSourceDescription() = default;
void XRInputSourceDescription::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRInputSourceDescription::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHandJointData::XRHandJointData()
: … { … }
XRHandJointData::XRHandJointData(
XRHandJoint joint_in,
const std::optional<::gfx::Transform>& mojo_from_joint_in,
float radius_in)
: … { … }
XRHandJointData::~XRHandJointData() = default;
void XRHandJointData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHandJointData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHandTrackingData::XRHandTrackingData()
: … { … }
XRHandTrackingData::XRHandTrackingData(
WTF::Vector<XRHandJointDataPtr> hand_joint_data_in)
: … { … }
XRHandTrackingData::~XRHandTrackingData() = default;
void XRHandTrackingData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHandTrackingData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRInputSourceState::XRInputSourceState()
: … { … }
XRInputSourceState::XRInputSourceState(
uint32_t source_id_in,
XRInputSourceDescriptionPtr description_in,
const std::optional<::gfx::Transform>& mojo_from_input_in,
bool emulated_position_in,
bool is_auxiliary_in,
bool primary_input_pressed_in,
bool primary_input_clicked_in,
bool primary_squeeze_pressed_in,
bool primary_squeeze_clicked_in,
const std::optional<::device::Gamepad>& gamepad_in,
const std::optional<::gfx::PointF>& overlay_pointer_position_in,
XRHandTrackingDataPtr hand_tracking_data_in)
: … { … }
XRInputSourceState::~XRInputSourceState() = default;
void XRInputSourceState::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRInputSourceState::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VRFieldOfView::VRFieldOfView()
: … { … }
VRFieldOfView::VRFieldOfView(
float up_degrees_in,
float down_degrees_in,
float left_degrees_in,
float right_degrees_in)
: … { … }
VRFieldOfView::~VRFieldOfView() = default;
size_t VRFieldOfView::Hash(size_t seed) const { … }
void VRFieldOfView::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool VRFieldOfView::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VRPose::VRPose()
: … { … }
VRPose::VRPose(
const std::optional<::gfx::Quaternion>& orientation_in,
const std::optional<::gfx::Point3F>& position_in,
bool emulated_position_in)
: … { … }
VRPose::~VRPose() = default;
void VRPose::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool VRPose::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Pose::Pose()
: … { … }
Pose::Pose(
const ::gfx::Quaternion& orientation_in,
const ::gfx::Point3F& position_in)
: … { … }
Pose::~Pose() = default;
void Pose::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Pose::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRRay::XRRay()
: … { … }
XRRay::XRRay(
const ::gfx::Point3F& origin_in,
const ::gfx::Vector3dF& direction_in)
: … { … }
XRRay::~XRRay() = default;
void XRRay::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRRay::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHitResult::XRHitResult()
: … { … }
XRHitResult::XRHitResult(
const ::device::Pose& mojo_from_result_in,
uint64_t plane_id_in)
: … { … }
XRHitResult::~XRHitResult() = default;
void XRHitResult::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHitResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRView::XRView()
: … { … }
XRView::XRView(
XREye eye_in,
VRFieldOfViewPtr field_of_view_in,
const ::gfx::Transform& mojo_from_view_in,
const ::gfx::Rect& viewport_in,
XRDepthDataPtr depth_data_in,
bool is_first_person_observer_in)
: … { … }
XRView::~XRView() = default;
void XRView::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRView::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VRStageParameters::VRStageParameters()
: … { … }
VRStageParameters::VRStageParameters(
const ::gfx::Transform& mojo_from_floor_in,
std::optional<WTF::Vector<::gfx::Point3F>> bounds_in)
: … { … }
VRStageParameters::~VRStageParameters() = default;
void VRStageParameters::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool VRStageParameters::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRPresentationTransportOptions::XRPresentationTransportOptions()
: … { … }
XRPresentationTransportOptions::XRPresentationTransportOptions(
XRPresentationTransportMethod transport_method_in,
bool wait_for_transfer_notification_in,
bool wait_for_render_notification_in,
bool wait_for_gpu_fence_in)
: … { … }
XRPresentationTransportOptions::~XRPresentationTransportOptions() = default;
size_t XRPresentationTransportOptions::Hash(size_t seed) const { … }
void XRPresentationTransportOptions::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRPresentationTransportOptions::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRInputSourceSpaceInfo::XRInputSourceSpaceInfo()
: … { … }
XRInputSourceSpaceInfo::XRInputSourceSpaceInfo(
uint32_t input_source_id_in,
XRInputSourceSpaceType input_source_space_type_in)
: … { … }
XRInputSourceSpaceInfo::~XRInputSourceSpaceInfo() = default;
size_t XRInputSourceSpaceInfo::Hash(size_t seed) const { … }
void XRInputSourceSpaceInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRInputSourceSpaceInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHandJointSpaceInfo::XRHandJointSpaceInfo()
: … { … }
XRHandJointSpaceInfo::XRHandJointSpaceInfo(
XRHandedness handedness_in,
XRHandJoint joint_in)
: … { … }
XRHandJointSpaceInfo::~XRHandJointSpaceInfo() = default;
size_t XRHandJointSpaceInfo::Hash(size_t seed) const { … }
void XRHandJointSpaceInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHandJointSpaceInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRPlanePointData::XRPlanePointData()
: … { … }
XRPlanePointData::XRPlanePointData(
float x_in,
float z_in)
: … { … }
XRPlanePointData::~XRPlanePointData() = default;
size_t XRPlanePointData::Hash(size_t seed) const { … }
void XRPlanePointData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRPlanePointData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRPlaneData::XRPlaneData()
: … { … }
XRPlaneData::XRPlaneData(
uint64_t id_in,
XRPlaneOrientation orientation_in,
const std::optional<::device::Pose>& mojo_from_plane_in,
WTF::Vector<XRPlanePointDataPtr> polygon_in)
: … { … }
XRPlaneData::~XRPlaneData() = default;
void XRPlaneData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRPlaneData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRPlaneDetectionData::XRPlaneDetectionData()
: … { … }
XRPlaneDetectionData::XRPlaneDetectionData(
WTF::Vector<uint64_t> all_planes_ids_in,
WTF::Vector<XRPlaneDataPtr> updated_planes_data_in)
: … { … }
XRPlaneDetectionData::~XRPlaneDetectionData() = default;
void XRPlaneDetectionData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRPlaneDetectionData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRAnchorData::XRAnchorData()
: … { … }
XRAnchorData::XRAnchorData(
uint64_t id_in,
const std::optional<::device::Pose>& mojo_from_anchor_in)
: … { … }
XRAnchorData::~XRAnchorData() = default;
void XRAnchorData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRAnchorData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRAnchorsData::XRAnchorsData()
: … { … }
XRAnchorsData::XRAnchorsData(
WTF::Vector<uint64_t> all_anchors_ids_in,
WTF::Vector<XRAnchorDataPtr> updated_anchors_data_in)
: … { … }
XRAnchorsData::~XRAnchorsData() = default;
void XRAnchorsData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRAnchorsData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHitTestSubscriptionResultData::XRHitTestSubscriptionResultData()
: … { … }
XRHitTestSubscriptionResultData::XRHitTestSubscriptionResultData(
uint64_t subscription_id_in,
WTF::Vector<XRHitResultPtr> hit_test_results_in)
: … { … }
XRHitTestSubscriptionResultData::~XRHitTestSubscriptionResultData() = default;
void XRHitTestSubscriptionResultData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHitTestSubscriptionResultData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHitTestTransientInputSubscriptionResultData::XRHitTestTransientInputSubscriptionResultData()
: … { … }
XRHitTestTransientInputSubscriptionResultData::XRHitTestTransientInputSubscriptionResultData(
uint64_t subscription_id_in,
WTF::HashMap<uint32_t, WTF::Vector<XRHitResultPtr>> input_source_id_to_hit_test_results_in)
: … { … }
XRHitTestTransientInputSubscriptionResultData::~XRHitTestTransientInputSubscriptionResultData() = default;
void XRHitTestTransientInputSubscriptionResultData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHitTestTransientInputSubscriptionResultData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRHitTestSubscriptionResultsData::XRHitTestSubscriptionResultsData()
: … { … }
XRHitTestSubscriptionResultsData::XRHitTestSubscriptionResultsData(
WTF::Vector<XRHitTestSubscriptionResultDataPtr> results_in,
WTF::Vector<XRHitTestTransientInputSubscriptionResultDataPtr> transient_input_results_in)
: … { … }
XRHitTestSubscriptionResultsData::~XRHitTestSubscriptionResultsData() = default;
void XRHitTestSubscriptionResultsData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRHitTestSubscriptionResultsData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RgbTupleF32::RgbTupleF32()
: … { … }
RgbTupleF32::RgbTupleF32(
float red_in,
float green_in,
float blue_in)
: … { … }
RgbTupleF32::~RgbTupleF32() = default;
void RgbTupleF32::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RgbTupleF32::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRSphericalHarmonics::XRSphericalHarmonics()
: … { … }
XRSphericalHarmonics::XRSphericalHarmonics(
WTF::Vector<::device::RgbTupleF32> coefficients_in)
: … { … }
XRSphericalHarmonics::~XRSphericalHarmonics() = default;
void XRSphericalHarmonics::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRSphericalHarmonics::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RgbaTupleF16::RgbaTupleF16()
: … { … }
RgbaTupleF16::RgbaTupleF16(
uint16_t red_in,
uint16_t green_in,
uint16_t blue_in,
uint16_t alpha_in)
: … { … }
RgbaTupleF16::~RgbaTupleF16() = default;
void RgbaTupleF16::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RgbaTupleF16::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRCubeMap::XRCubeMap()
: … { … }
XRCubeMap::XRCubeMap(
uint32_t width_and_height_in,
WTF::Vector<::device::RgbaTupleF16> positive_x_in,
WTF::Vector<::device::RgbaTupleF16> negative_x_in,
WTF::Vector<::device::RgbaTupleF16> positive_y_in,
WTF::Vector<::device::RgbaTupleF16> negative_y_in,
WTF::Vector<::device::RgbaTupleF16> positive_z_in,
WTF::Vector<::device::RgbaTupleF16> negative_z_in)
: … { … }
XRCubeMap::~XRCubeMap() = default;
void XRCubeMap::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRCubeMap::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRLightProbe::XRLightProbe()
: … { … }
XRLightProbe::XRLightProbe(
XRSphericalHarmonicsPtr spherical_harmonics_in,
const ::gfx::Vector3dF& main_light_direction_in,
const ::device::RgbTupleF32& main_light_intensity_in)
: … { … }
XRLightProbe::~XRLightProbe() = default;
void XRLightProbe::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRLightProbe::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRReflectionProbe::XRReflectionProbe()
: … { … }
XRReflectionProbe::XRReflectionProbe(
XRCubeMapPtr cube_map_in)
: … { … }
XRReflectionProbe::~XRReflectionProbe() = default;
void XRReflectionProbe::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRReflectionProbe::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRLightEstimationData::XRLightEstimationData()
: … { … }
XRLightEstimationData::XRLightEstimationData(
XRLightProbePtr light_probe_in,
XRReflectionProbePtr reflection_probe_in)
: … { … }
XRLightEstimationData::~XRLightEstimationData() = default;
void XRLightEstimationData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRLightEstimationData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRDepthDataStillValid::XRDepthDataStillValid() { … }
XRDepthDataStillValid::~XRDepthDataStillValid() = default;
size_t XRDepthDataStillValid::Hash(size_t seed) const { … }
void XRDepthDataStillValid::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRDepthDataStillValid::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRDepthDataUpdated::XRDepthDataUpdated()
: … { … }
XRDepthDataUpdated::XRDepthDataUpdated(
::mojo_base::BigBuffer pixel_data_in,
const ::gfx::Transform& norm_texture_from_norm_view_in,
const ::gfx::Size& size_in,
float raw_value_to_meters_in)
: … { … }
XRDepthDataUpdated::~XRDepthDataUpdated() = default;
void XRDepthDataUpdated::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRDepthDataUpdated::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRTrackedImageData::XRTrackedImageData()
: … { … }
XRTrackedImageData::XRTrackedImageData(
uint32_t index_in,
const ::device::Pose& mojo_from_image_in,
bool actively_tracked_in,
float width_in_meters_in)
: … { … }
XRTrackedImageData::~XRTrackedImageData() = default;
void XRTrackedImageData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRTrackedImageData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRTrackedImagesData::XRTrackedImagesData()
: … { … }
XRTrackedImagesData::XRTrackedImagesData(
WTF::Vector<XRTrackedImageDataPtr> images_data_in,
std::optional<WTF::Vector<bool>> image_trackable_scores_in)
: … { … }
XRTrackedImagesData::~XRTrackedImagesData() = default;
void XRTrackedImagesData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRTrackedImagesData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRFrameData::XRFrameData()
: … { … }
XRFrameData::XRFrameData(
VRPosePtr mojo_from_viewer_in,
::base::TimeDelta time_delta_in,
const std::optional<::gpu::ExportedSharedImage>& buffer_shared_image_in,
const std::optional<::gpu::SyncToken>& buffer_sync_token_in,
const std::optional<::gpu::ExportedSharedImage>& camera_image_buffer_shared_image_in,
const std::optional<::gpu::SyncToken>& camera_image_buffer_sync_token_in,
const std::optional<::gfx::Size>& camera_image_size_in,
bool mojo_space_reset_in,
int16_t frame_id_in,
WTF::Vector<XRViewPtr> views_in,
std::optional<WTF::Vector<XRInputSourceStatePtr>> input_state_in,
uint32_t stage_parameters_id_in,
VRStageParametersPtr stage_parameters_in,
XRPlaneDetectionDataPtr detected_planes_data_in,
XRAnchorsDataPtr anchors_data_in,
XRLightEstimationDataPtr light_estimation_data_in,
XRHitTestSubscriptionResultsDataPtr hit_test_subscription_results_in,
float rendering_time_ratio_in,
XRTrackedImagesDataPtr tracked_images_in)
: … { … }
XRFrameData::~XRFrameData() = default;
void XRFrameData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRFrameData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RequestSessionSuccess::RequestSessionSuccess()
: … { … }
RequestSessionSuccess::RequestSessionSuccess(
XRSessionPtr session_in,
uint64_t trace_id_in,
::mojo::PendingRemote<XRSessionMetricsRecorder> metrics_recorder_in,
::mojo::PendingRemote<WebXrInternalsRendererListener> xr_internals_listener_in)
: … { … }
RequestSessionSuccess::~RequestSessionSuccess() = default;
void RequestSessionSuccess::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RequestSessionSuccess::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRFrameDataRequestOptions::XRFrameDataRequestOptions()
: … { … }
XRFrameDataRequestOptions::XRFrameDataRequestOptions(
bool include_lighting_estimation_data_in,
uint32_t stage_parameters_id_in)
: … { … }
XRFrameDataRequestOptions::~XRFrameDataRequestOptions() = default;
size_t XRFrameDataRequestOptions::Hash(size_t seed) const { … }
void XRFrameDataRequestOptions::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool XRFrameDataRequestOptions::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRNativeOriginInformation::XRNativeOriginInformation() : … { … }
XRNativeOriginInformation::~XRNativeOriginInformation() { … }
void XRNativeOriginInformation::set_input_source_space_info(
XRInputSourceSpaceInfoPtr input_source_space_info) { … }
void XRNativeOriginInformation::set_plane_id(
uint64_t plane_id) { … }
void XRNativeOriginInformation::set_anchor_id(
uint64_t anchor_id) { … }
void XRNativeOriginInformation::set_reference_space_type(
XRReferenceSpaceType reference_space_type) { … }
void XRNativeOriginInformation::set_hand_joint_space_info(
XRHandJointSpaceInfoPtr hand_joint_space_info) { … }
void XRNativeOriginInformation::set_image_index(
uint32_t image_index) { … }
void XRNativeOriginInformation::DestroyActive() { … }
size_t XRNativeOriginInformation::Hash(size_t seed) const { … }
bool XRNativeOriginInformation::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRDepthData::XRDepthData() : … { … }
XRDepthData::~XRDepthData() { … }
void XRDepthData::set_data_still_valid(
XRDepthDataStillValidPtr data_still_valid) { … }
void XRDepthData::set_updated_depth_data(
XRDepthDataUpdatedPtr updated_depth_data) { … }
void XRDepthData::DestroyActive() { … }
bool XRDepthData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RequestSessionResult::RequestSessionResult() : … { … }
RequestSessionResult::~RequestSessionResult() { … }
void RequestSessionResult::set_success(
RequestSessionSuccessPtr success) { … }
void RequestSessionResult::set_failure_reason(
::device::mojom::blink::RequestSessionError failure_reason) { … }
void RequestSessionResult::DestroyActive() { … }
bool RequestSessionResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char VRService::Name_[] = …;
VRService::IPCStableHashFunction VRService::MessageToMethodInfo_(mojo::Message& message) { … }
const char* VRService::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t VRService::SetClient_Sym::IPCStableHash() { … }
uint32_t VRService::RequestSession_Sym::IPCStableHash() { … }
uint32_t VRService::SupportsSession_Sym::IPCStableHash() { … }
uint32_t VRService::ExitPresent_Sym::IPCStableHash() { … }
uint32_t VRService::SetFramesThrottled_Sym::IPCStableHash() { … }
uint32_t VRService::MakeXrCompatible_Sym::IPCStableHash() { … }
# endif
bool VRService::MakeXrCompatible(XrCompatibleResult* out_xr_compatible_result) { … }
class VRService_RequestSession_ForwardToCallback
: public mojo::MessageReceiver { … };
class VRService_SupportsSession_ForwardToCallback
: public mojo::MessageReceiver { … };
class VRService_ExitPresent_ForwardToCallback
: public mojo::MessageReceiver { … };
class VRService_MakeXrCompatible_HandleSyncResponse
: public mojo::MessageReceiver { … };
class VRService_MakeXrCompatible_ForwardToCallback
: public mojo::MessageReceiver { … };
VRServiceProxy::VRServiceProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void VRServiceProxy::SetClient(
::mojo::PendingRemote<VRServiceClient> in_client) { … }
void VRServiceProxy::RequestSession(
::device::mojom::blink::XRSessionOptionsPtr in_options, RequestSessionCallback callback) { … }
void VRServiceProxy::SupportsSession(
::device::mojom::blink::XRSessionOptionsPtr in_options, SupportsSessionCallback callback) { … }
void VRServiceProxy::ExitPresent(
ExitPresentCallback callback) { … }
void VRServiceProxy::SetFramesThrottled(
bool in_throttled) { … }
bool VRServiceProxy::MakeXrCompatible(
XrCompatibleResult* out_param_xr_compatible_result) { … }
void VRServiceProxy::MakeXrCompatible(
MakeXrCompatibleCallback callback) { … }
class VRService_RequestSession_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool VRService_RequestSession_ForwardToCallback::Accept(
mojo::Message* message) { … }
void VRService_RequestSession_ProxyToResponder::Run(
RequestSessionResultPtr in_result) { … }
class VRService_SupportsSession_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool VRService_SupportsSession_ForwardToCallback::Accept(
mojo::Message* message) { … }
void VRService_SupportsSession_ProxyToResponder::Run(
bool in_supports_session) { … }
class VRService_ExitPresent_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool VRService_ExitPresent_ForwardToCallback::Accept(
mojo::Message* message) { … }
void VRService_ExitPresent_ProxyToResponder::Run(
) { … }
class VRService_MakeXrCompatible_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool VRService_MakeXrCompatible_ForwardToCallback::Accept(
mojo::Message* message) { … }
void VRService_MakeXrCompatible_ProxyToResponder::Run(
XrCompatibleResult in_xr_compatible_result) { … }
bool VRService_MakeXrCompatible_HandleSyncResponse::Accept(
mojo::Message* message) { … }
bool VRServiceStubDispatch::Accept(
VRService* impl,
mojo::Message* message) { … }
bool VRServiceStubDispatch::AcceptWithResponder(
VRService* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kVRServiceValidationInfo[] = …;
bool VRServiceRequestValidator::Accept(mojo::Message* message) { … }
bool VRServiceResponseValidator::Accept(mojo::Message* message) { … }
const char XRSessionMetricsRecorder::Name_[] = …;
XRSessionMetricsRecorder::IPCStableHashFunction XRSessionMetricsRecorder::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRSessionMetricsRecorder::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRSessionMetricsRecorder::ReportFeatureUsed_Sym::IPCStableHash() { … }
# endif
XRSessionMetricsRecorderProxy::XRSessionMetricsRecorderProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XRSessionMetricsRecorderProxy::ReportFeatureUsed(
::device::mojom::blink::XRSessionFeature in_feature) { … }
bool XRSessionMetricsRecorderStubDispatch::Accept(
XRSessionMetricsRecorder* impl,
mojo::Message* message) { … }
bool XRSessionMetricsRecorderStubDispatch::AcceptWithResponder(
XRSessionMetricsRecorder* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRSessionMetricsRecorderValidationInfo[] = …;
bool XRSessionMetricsRecorderRequestValidator::Accept(mojo::Message* message) { … }
const char VRServiceClient::Name_[] = …;
VRServiceClient::IPCStableHashFunction VRServiceClient::MessageToMethodInfo_(mojo::Message& message) { … }
const char* VRServiceClient::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t VRServiceClient::OnDeviceChanged_Sym::IPCStableHash() { … }
# endif
VRServiceClientProxy::VRServiceClientProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void VRServiceClientProxy::OnDeviceChanged(
) { … }
bool VRServiceClientStubDispatch::Accept(
VRServiceClient* impl,
mojo::Message* message) { … }
bool VRServiceClientStubDispatch::AcceptWithResponder(
VRServiceClient* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kVRServiceClientValidationInfo[] = …;
bool VRServiceClientRequestValidator::Accept(mojo::Message* message) { … }
const char XREnvironmentIntegrationProvider::Name_[] = …;
XREnvironmentIntegrationProvider::IPCStableHashFunction XREnvironmentIntegrationProvider::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XREnvironmentIntegrationProvider::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XREnvironmentIntegrationProvider::SubscribeToHitTest_Sym::IPCStableHash() { … }
uint32_t XREnvironmentIntegrationProvider::SubscribeToHitTestForTransientInput_Sym::IPCStableHash() { … }
uint32_t XREnvironmentIntegrationProvider::UnsubscribeFromHitTest_Sym::IPCStableHash() { … }
uint32_t XREnvironmentIntegrationProvider::CreateAnchor_Sym::IPCStableHash() { … }
uint32_t XREnvironmentIntegrationProvider::CreatePlaneAnchor_Sym::IPCStableHash() { … }
uint32_t XREnvironmentIntegrationProvider::DetachAnchor_Sym::IPCStableHash() { … }
# endif
class XREnvironmentIntegrationProvider_SubscribeToHitTest_ForwardToCallback
: public mojo::MessageReceiver { … };
class XREnvironmentIntegrationProvider_SubscribeToHitTestForTransientInput_ForwardToCallback
: public mojo::MessageReceiver { … };
class XREnvironmentIntegrationProvider_CreateAnchor_ForwardToCallback
: public mojo::MessageReceiver { … };
class XREnvironmentIntegrationProvider_CreatePlaneAnchor_ForwardToCallback
: public mojo::MessageReceiver { … };
XREnvironmentIntegrationProviderProxy::XREnvironmentIntegrationProviderProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XREnvironmentIntegrationProviderProxy::SubscribeToHitTest(
XRNativeOriginInformationPtr in_native_origin_information, const WTF::Vector<EntityTypeForHitTest>& in_entity_types, XRRayPtr in_ray, SubscribeToHitTestCallback callback) { … }
void XREnvironmentIntegrationProviderProxy::SubscribeToHitTestForTransientInput(
const WTF::String& in_profile_name, const WTF::Vector<EntityTypeForHitTest>& in_entity_types, XRRayPtr in_ray, SubscribeToHitTestForTransientInputCallback callback) { … }
void XREnvironmentIntegrationProviderProxy::UnsubscribeFromHitTest(
uint64_t in_subscription_id) { … }
void XREnvironmentIntegrationProviderProxy::CreateAnchor(
XRNativeOriginInformationPtr in_native_origin_information, const ::device::Pose& in_native_origin_from_anchor, CreateAnchorCallback callback) { … }
void XREnvironmentIntegrationProviderProxy::CreatePlaneAnchor(
XRNativeOriginInformationPtr in_native_origin_information, const ::device::Pose& in_native_origin_from_anchor, uint64_t in_plane_id, CreatePlaneAnchorCallback callback) { … }
void XREnvironmentIntegrationProviderProxy::DetachAnchor(
uint64_t in_anchor_id) { … }
class XREnvironmentIntegrationProvider_SubscribeToHitTest_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XREnvironmentIntegrationProvider_SubscribeToHitTest_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XREnvironmentIntegrationProvider_SubscribeToHitTest_ProxyToResponder::Run(
SubscribeToHitTestResult in_result, uint64_t in_subscription_id) { … }
class XREnvironmentIntegrationProvider_SubscribeToHitTestForTransientInput_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XREnvironmentIntegrationProvider_SubscribeToHitTestForTransientInput_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XREnvironmentIntegrationProvider_SubscribeToHitTestForTransientInput_ProxyToResponder::Run(
SubscribeToHitTestResult in_result, uint64_t in_subscription_id) { … }
class XREnvironmentIntegrationProvider_CreateAnchor_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XREnvironmentIntegrationProvider_CreateAnchor_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XREnvironmentIntegrationProvider_CreateAnchor_ProxyToResponder::Run(
CreateAnchorResult in_result, uint64_t in_anchor_id) { … }
class XREnvironmentIntegrationProvider_CreatePlaneAnchor_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XREnvironmentIntegrationProvider_CreatePlaneAnchor_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XREnvironmentIntegrationProvider_CreatePlaneAnchor_ProxyToResponder::Run(
CreateAnchorResult in_result, uint64_t in_anchor_id) { … }
bool XREnvironmentIntegrationProviderStubDispatch::Accept(
XREnvironmentIntegrationProvider* impl,
mojo::Message* message) { … }
bool XREnvironmentIntegrationProviderStubDispatch::AcceptWithResponder(
XREnvironmentIntegrationProvider* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXREnvironmentIntegrationProviderValidationInfo[] = …;
bool XREnvironmentIntegrationProviderRequestValidator::Accept(mojo::Message* message) { … }
bool XREnvironmentIntegrationProviderResponseValidator::Accept(mojo::Message* message) { … }
const char XRFrameDataProvider::Name_[] = …;
XRFrameDataProvider::IPCStableHashFunction XRFrameDataProvider::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRFrameDataProvider::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRFrameDataProvider::GetFrameData_Sym::IPCStableHash() { … }
uint32_t XRFrameDataProvider::GetEnvironmentIntegrationProvider_Sym::IPCStableHash() { … }
# endif
class XRFrameDataProvider_GetFrameData_ForwardToCallback
: public mojo::MessageReceiver { … };
XRFrameDataProviderProxy::XRFrameDataProviderProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XRFrameDataProviderProxy::GetFrameData(
XRFrameDataRequestOptionsPtr in_options, GetFrameDataCallback callback) { … }
void XRFrameDataProviderProxy::GetEnvironmentIntegrationProvider(
::mojo::PendingAssociatedReceiver<XREnvironmentIntegrationProvider> in_environment_provider) { … }
class XRFrameDataProvider_GetFrameData_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRFrameDataProvider_GetFrameData_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRFrameDataProvider_GetFrameData_ProxyToResponder::Run(
XRFrameDataPtr in_frame_data) { … }
bool XRFrameDataProviderStubDispatch::Accept(
XRFrameDataProvider* impl,
mojo::Message* message) { … }
bool XRFrameDataProviderStubDispatch::AcceptWithResponder(
XRFrameDataProvider* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRFrameDataProviderValidationInfo[] = …;
bool XRFrameDataProviderRequestValidator::Accept(mojo::Message* message) { … }
bool XRFrameDataProviderResponseValidator::Accept(mojo::Message* message) { … }
const char XRPresentationProvider::Name_[] = …;
XRPresentationProvider::IPCStableHashFunction XRPresentationProvider::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRPresentationProvider::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRPresentationProvider::UpdateLayerBounds_Sym::IPCStableHash() { … }
uint32_t XRPresentationProvider::SubmitFrameMissing_Sym::IPCStableHash() { … }
uint32_t XRPresentationProvider::SubmitFrame_Sym::IPCStableHash() { … }
uint32_t XRPresentationProvider::SubmitFrameDrawnIntoTexture_Sym::IPCStableHash() { … }
# endif
XRPresentationProviderProxy::XRPresentationProviderProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XRPresentationProviderProxy::UpdateLayerBounds(
int16_t in_frame_id, const ::gfx::RectF& in_left_bounds, const ::gfx::RectF& in_right_bounds, const ::gfx::Size& in_source_size) { … }
void XRPresentationProviderProxy::SubmitFrameMissing(
int16_t in_frame_id, const ::gpu::SyncToken& in_sync_token) { … }
void XRPresentationProviderProxy::SubmitFrame(
int16_t in_frame_id, const ::gpu::MailboxHolder& in_mailbox_holder, ::base::TimeDelta in_time_waited) { … }
void XRPresentationProviderProxy::SubmitFrameDrawnIntoTexture(
int16_t in_frameId, const ::gpu::SyncToken& in_sync_token, ::base::TimeDelta in_time_waited) { … }
bool XRPresentationProviderStubDispatch::Accept(
XRPresentationProvider* impl,
mojo::Message* message) { … }
bool XRPresentationProviderStubDispatch::AcceptWithResponder(
XRPresentationProvider* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRPresentationProviderValidationInfo[] = …;
bool XRPresentationProviderRequestValidator::Accept(mojo::Message* message) { … }
const char XRPresentationClient::Name_[] = …;
XRPresentationClient::IPCStableHashFunction XRPresentationClient::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRPresentationClient::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRPresentationClient::OnSubmitFrameTransferred_Sym::IPCStableHash() { … }
uint32_t XRPresentationClient::OnSubmitFrameRendered_Sym::IPCStableHash() { … }
uint32_t XRPresentationClient::OnSubmitFrameGpuFence_Sym::IPCStableHash() { … }
# endif
XRPresentationClientProxy::XRPresentationClientProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XRPresentationClientProxy::OnSubmitFrameTransferred(
bool in_success) { … }
void XRPresentationClientProxy::OnSubmitFrameRendered(
) { … }
void XRPresentationClientProxy::OnSubmitFrameGpuFence(
::gfx::GpuFenceHandle in_gpu_fence_handle) { … }
bool XRPresentationClientStubDispatch::Accept(
XRPresentationClient* impl,
mojo::Message* message) { … }
bool XRPresentationClientStubDispatch::AcceptWithResponder(
XRPresentationClient* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRPresentationClientValidationInfo[] = …;
bool XRPresentationClientRequestValidator::Accept(mojo::Message* message) { … }
const char XRSessionClient::Name_[] = …;
XRSessionClient::IPCStableHashFunction XRSessionClient::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRSessionClient::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRSessionClient::OnExitPresent_Sym::IPCStableHash() { … }
uint32_t XRSessionClient::OnVisibilityStateChanged_Sym::IPCStableHash() { … }
# endif
XRSessionClientProxy::XRSessionClientProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void XRSessionClientProxy::OnExitPresent(
) { … }
void XRSessionClientProxy::OnVisibilityStateChanged(
XRVisibilityState in_visibility_state) { … }
bool XRSessionClientStubDispatch::Accept(
XRSessionClient* impl,
mojo::Message* message) { … }
bool XRSessionClientStubDispatch::AcceptWithResponder(
XRSessionClient* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRSessionClientValidationInfo[] = …;
bool XRSessionClientRequestValidator::Accept(mojo::Message* message) { … }
const char WebXrInternalsRendererListener::Name_[] = …;
WebXrInternalsRendererListener::IPCStableHashFunction WebXrInternalsRendererListener::MessageToMethodInfo_(mojo::Message& message) { … }
const char* WebXrInternalsRendererListener::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t WebXrInternalsRendererListener::OnFrameData_Sym::IPCStableHash() { … }
uint32_t WebXrInternalsRendererListener::OnConsoleLog_Sym::IPCStableHash() { … }
# endif
WebXrInternalsRendererListenerProxy::WebXrInternalsRendererListenerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void WebXrInternalsRendererListenerProxy::OnFrameData(
::device::mojom::blink::XrFrameStatisticsPtr in_xrframe_statistics) { … }
void WebXrInternalsRendererListenerProxy::OnConsoleLog(
::device::mojom::blink::XrLogMessagePtr in_xrlogging_statistics) { … }
bool WebXrInternalsRendererListenerStubDispatch::Accept(
WebXrInternalsRendererListener* impl,
mojo::Message* message) { … }
bool WebXrInternalsRendererListenerStubDispatch::AcceptWithResponder(
WebXrInternalsRendererListener* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kWebXrInternalsRendererListenerValidationInfo[] = …;
bool WebXrInternalsRendererListenerRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::device::mojom::blink::XRDepthConfig::DataView, ::device::mojom::blink::XRDepthConfigPtr>::Read(
::device::mojom::blink::XRDepthConfig::DataView input,
::device::mojom::blink::XRDepthConfigPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRSessionDeviceConfig::DataView, ::device::mojom::blink::XRSessionDeviceConfigPtr>::Read(
::device::mojom::blink::XRSessionDeviceConfig::DataView input,
::device::mojom::blink::XRSessionDeviceConfigPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRSession::DataView, ::device::mojom::blink::XRSessionPtr>::Read(
::device::mojom::blink::XRSession::DataView input,
::device::mojom::blink::XRSessionPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRPresentationConnection::DataView, ::device::mojom::blink::XRPresentationConnectionPtr>::Read(
::device::mojom::blink::XRPresentationConnection::DataView input,
::device::mojom::blink::XRPresentationConnectionPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRInputSourceDescription::DataView, ::device::mojom::blink::XRInputSourceDescriptionPtr>::Read(
::device::mojom::blink::XRInputSourceDescription::DataView input,
::device::mojom::blink::XRInputSourceDescriptionPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHandJointData::DataView, ::device::mojom::blink::XRHandJointDataPtr>::Read(
::device::mojom::blink::XRHandJointData::DataView input,
::device::mojom::blink::XRHandJointDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHandTrackingData::DataView, ::device::mojom::blink::XRHandTrackingDataPtr>::Read(
::device::mojom::blink::XRHandTrackingData::DataView input,
::device::mojom::blink::XRHandTrackingDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRInputSourceState::DataView, ::device::mojom::blink::XRInputSourceStatePtr>::Read(
::device::mojom::blink::XRInputSourceState::DataView input,
::device::mojom::blink::XRInputSourceStatePtr* output) { … }
bool StructTraits<::device::mojom::blink::VRFieldOfView::DataView, ::device::mojom::blink::VRFieldOfViewPtr>::Read(
::device::mojom::blink::VRFieldOfView::DataView input,
::device::mojom::blink::VRFieldOfViewPtr* output) { … }
bool StructTraits<::device::mojom::blink::VRPose::DataView, ::device::mojom::blink::VRPosePtr>::Read(
::device::mojom::blink::VRPose::DataView input,
::device::mojom::blink::VRPosePtr* output) { … }
bool StructTraits<::device::mojom::blink::Pose::DataView, ::device::mojom::blink::PosePtr>::Read(
::device::mojom::blink::Pose::DataView input,
::device::mojom::blink::PosePtr* output) { … }
bool StructTraits<::device::mojom::blink::XRRay::DataView, ::device::mojom::blink::XRRayPtr>::Read(
::device::mojom::blink::XRRay::DataView input,
::device::mojom::blink::XRRayPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHitResult::DataView, ::device::mojom::blink::XRHitResultPtr>::Read(
::device::mojom::blink::XRHitResult::DataView input,
::device::mojom::blink::XRHitResultPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRView::DataView, ::device::mojom::blink::XRViewPtr>::Read(
::device::mojom::blink::XRView::DataView input,
::device::mojom::blink::XRViewPtr* output) { … }
bool StructTraits<::device::mojom::blink::VRStageParameters::DataView, ::device::mojom::blink::VRStageParametersPtr>::Read(
::device::mojom::blink::VRStageParameters::DataView input,
::device::mojom::blink::VRStageParametersPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRPresentationTransportOptions::DataView, ::device::mojom::blink::XRPresentationTransportOptionsPtr>::Read(
::device::mojom::blink::XRPresentationTransportOptions::DataView input,
::device::mojom::blink::XRPresentationTransportOptionsPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRInputSourceSpaceInfo::DataView, ::device::mojom::blink::XRInputSourceSpaceInfoPtr>::Read(
::device::mojom::blink::XRInputSourceSpaceInfo::DataView input,
::device::mojom::blink::XRInputSourceSpaceInfoPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHandJointSpaceInfo::DataView, ::device::mojom::blink::XRHandJointSpaceInfoPtr>::Read(
::device::mojom::blink::XRHandJointSpaceInfo::DataView input,
::device::mojom::blink::XRHandJointSpaceInfoPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRPlanePointData::DataView, ::device::mojom::blink::XRPlanePointDataPtr>::Read(
::device::mojom::blink::XRPlanePointData::DataView input,
::device::mojom::blink::XRPlanePointDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRPlaneData::DataView, ::device::mojom::blink::XRPlaneDataPtr>::Read(
::device::mojom::blink::XRPlaneData::DataView input,
::device::mojom::blink::XRPlaneDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRPlaneDetectionData::DataView, ::device::mojom::blink::XRPlaneDetectionDataPtr>::Read(
::device::mojom::blink::XRPlaneDetectionData::DataView input,
::device::mojom::blink::XRPlaneDetectionDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRAnchorData::DataView, ::device::mojom::blink::XRAnchorDataPtr>::Read(
::device::mojom::blink::XRAnchorData::DataView input,
::device::mojom::blink::XRAnchorDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRAnchorsData::DataView, ::device::mojom::blink::XRAnchorsDataPtr>::Read(
::device::mojom::blink::XRAnchorsData::DataView input,
::device::mojom::blink::XRAnchorsDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHitTestSubscriptionResultData::DataView, ::device::mojom::blink::XRHitTestSubscriptionResultDataPtr>::Read(
::device::mojom::blink::XRHitTestSubscriptionResultData::DataView input,
::device::mojom::blink::XRHitTestSubscriptionResultDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHitTestTransientInputSubscriptionResultData::DataView, ::device::mojom::blink::XRHitTestTransientInputSubscriptionResultDataPtr>::Read(
::device::mojom::blink::XRHitTestTransientInputSubscriptionResultData::DataView input,
::device::mojom::blink::XRHitTestTransientInputSubscriptionResultDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRHitTestSubscriptionResultsData::DataView, ::device::mojom::blink::XRHitTestSubscriptionResultsDataPtr>::Read(
::device::mojom::blink::XRHitTestSubscriptionResultsData::DataView input,
::device::mojom::blink::XRHitTestSubscriptionResultsDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::RgbTupleF32::DataView, ::device::mojom::blink::RgbTupleF32Ptr>::Read(
::device::mojom::blink::RgbTupleF32::DataView input,
::device::mojom::blink::RgbTupleF32Ptr* output) { … }
bool StructTraits<::device::mojom::blink::XRSphericalHarmonics::DataView, ::device::mojom::blink::XRSphericalHarmonicsPtr>::Read(
::device::mojom::blink::XRSphericalHarmonics::DataView input,
::device::mojom::blink::XRSphericalHarmonicsPtr* output) { … }
bool StructTraits<::device::mojom::blink::RgbaTupleF16::DataView, ::device::mojom::blink::RgbaTupleF16Ptr>::Read(
::device::mojom::blink::RgbaTupleF16::DataView input,
::device::mojom::blink::RgbaTupleF16Ptr* output) { … }
bool StructTraits<::device::mojom::blink::XRCubeMap::DataView, ::device::mojom::blink::XRCubeMapPtr>::Read(
::device::mojom::blink::XRCubeMap::DataView input,
::device::mojom::blink::XRCubeMapPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRLightProbe::DataView, ::device::mojom::blink::XRLightProbePtr>::Read(
::device::mojom::blink::XRLightProbe::DataView input,
::device::mojom::blink::XRLightProbePtr* output) { … }
bool StructTraits<::device::mojom::blink::XRReflectionProbe::DataView, ::device::mojom::blink::XRReflectionProbePtr>::Read(
::device::mojom::blink::XRReflectionProbe::DataView input,
::device::mojom::blink::XRReflectionProbePtr* output) { … }
bool StructTraits<::device::mojom::blink::XRLightEstimationData::DataView, ::device::mojom::blink::XRLightEstimationDataPtr>::Read(
::device::mojom::blink::XRLightEstimationData::DataView input,
::device::mojom::blink::XRLightEstimationDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRDepthDataStillValid::DataView, ::device::mojom::blink::XRDepthDataStillValidPtr>::Read(
::device::mojom::blink::XRDepthDataStillValid::DataView input,
::device::mojom::blink::XRDepthDataStillValidPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRDepthDataUpdated::DataView, ::device::mojom::blink::XRDepthDataUpdatedPtr>::Read(
::device::mojom::blink::XRDepthDataUpdated::DataView input,
::device::mojom::blink::XRDepthDataUpdatedPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRTrackedImageData::DataView, ::device::mojom::blink::XRTrackedImageDataPtr>::Read(
::device::mojom::blink::XRTrackedImageData::DataView input,
::device::mojom::blink::XRTrackedImageDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRTrackedImagesData::DataView, ::device::mojom::blink::XRTrackedImagesDataPtr>::Read(
::device::mojom::blink::XRTrackedImagesData::DataView input,
::device::mojom::blink::XRTrackedImagesDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRFrameData::DataView, ::device::mojom::blink::XRFrameDataPtr>::Read(
::device::mojom::blink::XRFrameData::DataView input,
::device::mojom::blink::XRFrameDataPtr* output) { … }
bool StructTraits<::device::mojom::blink::RequestSessionSuccess::DataView, ::device::mojom::blink::RequestSessionSuccessPtr>::Read(
::device::mojom::blink::RequestSessionSuccess::DataView input,
::device::mojom::blink::RequestSessionSuccessPtr* output) { … }
bool StructTraits<::device::mojom::blink::XRFrameDataRequestOptions::DataView, ::device::mojom::blink::XRFrameDataRequestOptionsPtr>::Read(
::device::mojom::blink::XRFrameDataRequestOptions::DataView input,
::device::mojom::blink::XRFrameDataRequestOptionsPtr* output) { … }
bool UnionTraits<::device::mojom::blink::XRNativeOriginInformation::DataView, ::device::mojom::blink::XRNativeOriginInformationPtr>::Read(
::device::mojom::blink::XRNativeOriginInformation::DataView input,
::device::mojom::blink::XRNativeOriginInformationPtr* output) { … }
bool UnionTraits<::device::mojom::blink::XRDepthData::DataView, ::device::mojom::blink::XRDepthDataPtr>::Read(
::device::mojom::blink::XRDepthData::DataView input,
::device::mojom::blink::XRDepthDataPtr* output) { … }
bool UnionTraits<::device::mojom::blink::RequestSessionResult::DataView, ::device::mojom::blink::RequestSessionResultPtr>::Read(
::device::mojom::blink::RequestSessionResult::DataView input,
::device::mojom::blink::RequestSessionResultPtr* output) { … }
}
namespace device::mojom::blink {
void VRServiceInterceptorForTesting::SetClient(::mojo::PendingRemote<VRServiceClient> client) { … }
void VRServiceInterceptorForTesting::RequestSession(::device::mojom::blink::XRSessionOptionsPtr options, RequestSessionCallback callback) { … }
void VRServiceInterceptorForTesting::SupportsSession(::device::mojom::blink::XRSessionOptionsPtr options, SupportsSessionCallback callback) { … }
void VRServiceInterceptorForTesting::ExitPresent(ExitPresentCallback callback) { … }
void VRServiceInterceptorForTesting::SetFramesThrottled(bool throttled) { … }
void VRServiceInterceptorForTesting::MakeXrCompatible(MakeXrCompatibleCallback callback) { … }
VRServiceAsyncWaiter::VRServiceAsyncWaiter(
VRService* proxy) : … { … }
VRServiceAsyncWaiter::~VRServiceAsyncWaiter() = default;
void VRServiceAsyncWaiter::RequestSession(
::device::mojom::blink::XRSessionOptionsPtr options, RequestSessionResultPtr* out_result) { … }
RequestSessionResultPtr VRServiceAsyncWaiter::RequestSession(
::device::mojom::blink::XRSessionOptionsPtr options) { … }
void VRServiceAsyncWaiter::SupportsSession(
::device::mojom::blink::XRSessionOptionsPtr options, bool* out_supports_session) { … }
bool VRServiceAsyncWaiter::SupportsSession(
::device::mojom::blink::XRSessionOptionsPtr options) { … }
void VRServiceAsyncWaiter::ExitPresent(
) { … }
void VRServiceAsyncWaiter::MakeXrCompatible(
XrCompatibleResult* out_xr_compatible_result) { … }
XrCompatibleResult VRServiceAsyncWaiter::MakeXrCompatible(
) { … }
void XRSessionMetricsRecorderInterceptorForTesting::ReportFeatureUsed(::device::mojom::blink::XRSessionFeature feature) { … }
XRSessionMetricsRecorderAsyncWaiter::XRSessionMetricsRecorderAsyncWaiter(
XRSessionMetricsRecorder* proxy) : … { … }
XRSessionMetricsRecorderAsyncWaiter::~XRSessionMetricsRecorderAsyncWaiter() = default;
void VRServiceClientInterceptorForTesting::OnDeviceChanged() { … }
VRServiceClientAsyncWaiter::VRServiceClientAsyncWaiter(
VRServiceClient* proxy) : … { … }
VRServiceClientAsyncWaiter::~VRServiceClientAsyncWaiter() = default;
void XREnvironmentIntegrationProviderInterceptorForTesting::SubscribeToHitTest(XRNativeOriginInformationPtr native_origin_information, const WTF::Vector<EntityTypeForHitTest>& entity_types, XRRayPtr ray, SubscribeToHitTestCallback callback) { … }
void XREnvironmentIntegrationProviderInterceptorForTesting::SubscribeToHitTestForTransientInput(const WTF::String& profile_name, const WTF::Vector<EntityTypeForHitTest>& entity_types, XRRayPtr ray, SubscribeToHitTestForTransientInputCallback callback) { … }
void XREnvironmentIntegrationProviderInterceptorForTesting::UnsubscribeFromHitTest(uint64_t subscription_id) { … }
void XREnvironmentIntegrationProviderInterceptorForTesting::CreateAnchor(XRNativeOriginInformationPtr native_origin_information, const ::device::Pose& native_origin_from_anchor, CreateAnchorCallback callback) { … }
void XREnvironmentIntegrationProviderInterceptorForTesting::CreatePlaneAnchor(XRNativeOriginInformationPtr native_origin_information, const ::device::Pose& native_origin_from_anchor, uint64_t plane_id, CreatePlaneAnchorCallback callback) { … }
void XREnvironmentIntegrationProviderInterceptorForTesting::DetachAnchor(uint64_t anchor_id) { … }
XREnvironmentIntegrationProviderAsyncWaiter::XREnvironmentIntegrationProviderAsyncWaiter(
XREnvironmentIntegrationProvider* proxy) : … { … }
XREnvironmentIntegrationProviderAsyncWaiter::~XREnvironmentIntegrationProviderAsyncWaiter() = default;
void XREnvironmentIntegrationProviderAsyncWaiter::SubscribeToHitTest(
XRNativeOriginInformationPtr native_origin_information, const WTF::Vector<EntityTypeForHitTest>& entity_types, XRRayPtr ray, SubscribeToHitTestResult* out_result, uint64_t* out_subscription_id) { … }
void XREnvironmentIntegrationProviderAsyncWaiter::SubscribeToHitTestForTransientInput(
const WTF::String& profile_name, const WTF::Vector<EntityTypeForHitTest>& entity_types, XRRayPtr ray, SubscribeToHitTestResult* out_result, uint64_t* out_subscription_id) { … }
void XREnvironmentIntegrationProviderAsyncWaiter::CreateAnchor(
XRNativeOriginInformationPtr native_origin_information, const ::device::Pose& native_origin_from_anchor, CreateAnchorResult* out_result, uint64_t* out_anchor_id) { … }
void XREnvironmentIntegrationProviderAsyncWaiter::CreatePlaneAnchor(
XRNativeOriginInformationPtr native_origin_information, const ::device::Pose& native_origin_from_anchor, uint64_t plane_id, CreateAnchorResult* out_result, uint64_t* out_anchor_id) { … }
void XRFrameDataProviderInterceptorForTesting::GetFrameData(XRFrameDataRequestOptionsPtr options, GetFrameDataCallback callback) { … }
void XRFrameDataProviderInterceptorForTesting::GetEnvironmentIntegrationProvider(::mojo::PendingAssociatedReceiver<XREnvironmentIntegrationProvider> environment_provider) { … }
XRFrameDataProviderAsyncWaiter::XRFrameDataProviderAsyncWaiter(
XRFrameDataProvider* proxy) : … { … }
XRFrameDataProviderAsyncWaiter::~XRFrameDataProviderAsyncWaiter() = default;
void XRFrameDataProviderAsyncWaiter::GetFrameData(
XRFrameDataRequestOptionsPtr options, XRFrameDataPtr* out_frame_data) { … }
XRFrameDataPtr XRFrameDataProviderAsyncWaiter::GetFrameData(
XRFrameDataRequestOptionsPtr options) { … }
void XRPresentationProviderInterceptorForTesting::UpdateLayerBounds(int16_t frame_id, const ::gfx::RectF& left_bounds, const ::gfx::RectF& right_bounds, const ::gfx::Size& source_size) { … }
void XRPresentationProviderInterceptorForTesting::SubmitFrameMissing(int16_t frame_id, const ::gpu::SyncToken& sync_token) { … }
void XRPresentationProviderInterceptorForTesting::SubmitFrame(int16_t frame_id, const ::gpu::MailboxHolder& mailbox_holder, ::base::TimeDelta time_waited) { … }
void XRPresentationProviderInterceptorForTesting::SubmitFrameDrawnIntoTexture(int16_t frameId, const ::gpu::SyncToken& sync_token, ::base::TimeDelta time_waited) { … }
XRPresentationProviderAsyncWaiter::XRPresentationProviderAsyncWaiter(
XRPresentationProvider* proxy) : … { … }
XRPresentationProviderAsyncWaiter::~XRPresentationProviderAsyncWaiter() = default;
void XRPresentationClientInterceptorForTesting::OnSubmitFrameTransferred(bool success) { … }
void XRPresentationClientInterceptorForTesting::OnSubmitFrameRendered() { … }
void XRPresentationClientInterceptorForTesting::OnSubmitFrameGpuFence(::gfx::GpuFenceHandle gpu_fence_handle) { … }
XRPresentationClientAsyncWaiter::XRPresentationClientAsyncWaiter(
XRPresentationClient* proxy) : … { … }
XRPresentationClientAsyncWaiter::~XRPresentationClientAsyncWaiter() = default;
void XRSessionClientInterceptorForTesting::OnExitPresent() { … }
void XRSessionClientInterceptorForTesting::OnVisibilityStateChanged(XRVisibilityState visibility_state) { … }
XRSessionClientAsyncWaiter::XRSessionClientAsyncWaiter(
XRSessionClient* proxy) : … { … }
XRSessionClientAsyncWaiter::~XRSessionClientAsyncWaiter() = default;
void WebXrInternalsRendererListenerInterceptorForTesting::OnFrameData(::device::mojom::blink::XrFrameStatisticsPtr xrframe_statistics) { … }
void WebXrInternalsRendererListenerInterceptorForTesting::OnConsoleLog(::device::mojom::blink::XrLogMessagePtr xrlogging_statistics) { … }
WebXrInternalsRendererListenerAsyncWaiter::WebXrInternalsRendererListenerAsyncWaiter(
WebXrInternalsRendererListener* proxy) : … { … }
WebXrInternalsRendererListenerAsyncWaiter::~WebXrInternalsRendererListenerAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif