#include "third_party/blink/renderer/modules/device_orientation/device_motion_event.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_device_motion_event_init.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_controller.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_data.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_event_acceleration.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_event_rotation_rate.h"
namespace blink {
DeviceMotionEvent::~DeviceMotionEvent() = default;
DeviceMotionEvent::DeviceMotionEvent()
: … { … }
DeviceMotionEvent::DeviceMotionEvent(const AtomicString& event_type,
const DeviceMotionEventInit* initializer)
: … { … }
DeviceMotionEvent::DeviceMotionEvent(const AtomicString& event_type,
const DeviceMotionData* device_motion_data)
: … { … }
DeviceMotionEventAcceleration* DeviceMotionEvent::acceleration() { … }
DeviceMotionEventAcceleration*
DeviceMotionEvent::accelerationIncludingGravity() { … }
DeviceMotionEventRotationRate* DeviceMotionEvent::rotationRate() { … }
double DeviceMotionEvent::interval() const { … }
ScriptPromise<V8DeviceOrientationPermissionState>
DeviceMotionEvent::requestPermission(ScriptState* script_state) { … }
const AtomicString& DeviceMotionEvent::InterfaceName() const { … }
void DeviceMotionEvent::Trace(Visitor* visitor) const { … }
}