#include "third_party/blink/renderer/modules/device_orientation/device_orientation_event.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_device_orientation_event_init.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_controller.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_data.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
DeviceOrientationEvent::~DeviceOrientationEvent() = default;
DeviceOrientationEvent::DeviceOrientationEvent()
: … { … }
DeviceOrientationEvent::DeviceOrientationEvent(
const AtomicString& event_type,
const DeviceOrientationEventInit* initializer)
: … { … }
DeviceOrientationEvent::DeviceOrientationEvent(
const AtomicString& event_type,
DeviceOrientationData* orientation)
: … { … }
std::optional<double> DeviceOrientationEvent::alpha() const { … }
std::optional<double> DeviceOrientationEvent::beta() const { … }
std::optional<double> DeviceOrientationEvent::gamma() const { … }
bool DeviceOrientationEvent::absolute() const { … }
ScriptPromise<V8DeviceOrientationPermissionState>
DeviceOrientationEvent::requestPermission(ScriptState* script_state) { … }
const AtomicString& DeviceOrientationEvent::InterfaceName() const { … }
void DeviceOrientationEvent::Trace(Visitor* visitor) const { … }
}