#ifndef DEVICE_VR_HIT_TEST_SUBSCRIPTION_DATA_H_
#define DEVICE_VR_HIT_TEST_SUBSCRIPTION_DATA_H_
#include "base/component_export.h"
#include "device/vr/public/mojom/hit_test_subscription_id.h"
#include "device/vr/public/mojom/vr_service.mojom.h"
namespace device {
struct COMPONENT_EXPORT(DEVICE_VR_BASE) HitTestSubscriptionData {
mojom::XRNativeOriginInformationPtr native_origin_information;
const std::vector<mojom::EntityTypeForHitTest> entity_types;
mojom::XRRayPtr ray;
HitTestSubscriptionData(
mojom::XRNativeOriginInformationPtr native_origin_information,
const std::vector<mojom::EntityTypeForHitTest>& entity_types,
mojom::XRRayPtr ray);
HitTestSubscriptionData(HitTestSubscriptionData&& other);
~HitTestSubscriptionData();
};
struct COMPONENT_EXPORT(DEVICE_VR_BASE) TransientInputHitTestSubscriptionData {
const std::string profile_name;
const std::vector<mojom::EntityTypeForHitTest> entity_types;
mojom::XRRayPtr ray;
TransientInputHitTestSubscriptionData(
const std::string& profile_name,
const std::vector<mojom::EntityTypeForHitTest>& entity_types,
mojom::XRRayPtr ray);
TransientInputHitTestSubscriptionData(
TransientInputHitTestSubscriptionData&& other);
~TransientInputHitTestSubscriptionData();
};
}
#endif