chromium/third_party/blink/renderer/modules/device_orientation/device_motion_controller.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/device_orientation/device_motion_controller.h"

#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_device_orientation_permission_state.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_data.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_event.h"
#include "third_party/blink/renderer/modules/device_orientation/device_motion_event_pump.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_controller.h"
#include "third_party/blink/renderer/modules/event_modules.h"
#include "third_party/blink/renderer/modules/permissions/permission_utils.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"

namespace blink {

DeviceMotionController::DeviceMotionController(LocalDOMWindow& window)
    :{}

DeviceMotionController::~DeviceMotionController() = default;

const char DeviceMotionController::kSupplementName[] =;

DeviceMotionController& DeviceMotionController::From(LocalDOMWindow& window) {}

void DeviceMotionController::DidAddEventListener(
    LocalDOMWindow* window,
    const AtomicString& event_type) {}

bool DeviceMotionController::HasLastData() {}

void DeviceMotionController::RegisterWithDispatcher() {}

void DeviceMotionController::UnregisterWithDispatcher() {}

Event* DeviceMotionController::LastEvent() const {}

bool DeviceMotionController::IsNullEvent(Event* event) const {}

const AtomicString& DeviceMotionController::EventTypeName() const {}

void DeviceMotionController::Trace(Visitor* visitor) const {}

ScriptPromise<V8DeviceOrientationPermissionState>
DeviceMotionController::RequestPermission(ScriptState* script_state) {}

}  // namespace blink