chromium/third_party/blink/renderer/modules/device_orientation/device_orientation_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_orientation_controller.h"

#include "base/notreached.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_metric_builder.h"
#include "third_party/blink/public/mojom/permissions/permission_status.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.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/frame/dactyloscoper.h"
#include "third_party/blink/renderer/core/frame/frame_console.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_data.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_event.h"
#include "third_party/blink/renderer/modules/device_orientation/device_orientation_event_pump.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/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/blink/renderer/platform/wtf/assertions.h"

namespace blink {

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

DeviceOrientationController::~DeviceOrientationController() = default;

void DeviceOrientationController::DidUpdateData() {}

const char DeviceOrientationController::kSupplementName[] =;

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

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

DeviceOrientationData* DeviceOrientationController::LastData() const {}

bool DeviceOrientationController::HasLastData() {}

void DeviceOrientationController::RegisterWithDispatcher() {}

void DeviceOrientationController::UnregisterWithDispatcher() {}

Event* DeviceOrientationController::LastEvent() const {}

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

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

void DeviceOrientationController::SetOverride(
    DeviceOrientationData* device_orientation_data) {}

void DeviceOrientationController::ClearOverride() {}

void DeviceOrientationController::RestartPumpIfNeeded() {}

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

void DeviceOrientationController::RegisterWithOrientationEventPump(
    bool absolute) {}

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

// static
void DeviceOrientationController::LogToConsolePolicyFeaturesDisabled(
    LocalFrame& frame,
    const AtomicString& event_name) {}

}  // namespace blink