chromium/third_party/blink/renderer/modules/sensor/sensor_proxy.cc

// Copyright 2016 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/sensor/sensor_proxy.h"

#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/core/page/focus_controller.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/modules/sensor/sensor_provider_proxy.h"
#include "third_party/blink/renderer/modules/sensor/sensor_reading_remapper.h"
#include "third_party/blink/renderer/platform/web_test_support.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "ui/display/screen_info.h"

namespace blink {

const char SensorProxy::kDefaultErrorDescription[] =;

SensorProxy::SensorProxy(device::mojom::blink::SensorType sensor_type,
                         SensorProviderProxy* provider,
                         Page* page)
    :{}

SensorProxy::~SensorProxy() = default;

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

void SensorProxy::AddObserver(Observer* observer) {}

void SensorProxy::RemoveObserver(Observer* observer) {}

void SensorProxy::Detach() {}

void SensorProxy::ReportError(DOMExceptionCode code, const String& message) {}

const device::SensorReading& SensorProxy::GetReading(bool remapped) const {}

void SensorProxy::PageVisibilityChanged() {}

void SensorProxy::FocusedFrameChanged() {}

void SensorProxy::UpdateSuspendedStatus() {}

bool SensorProxy::ShouldSuspendUpdates() const {}

}  // namespace blink