#include "third_party/blink/renderer/modules/battery/battery_dispatcher.h"
#include "services/device/public/mojom/battery_status.mojom-blink.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
namespace blink {
BatteryDispatcher::BatteryDispatcher(ExecutionContext* context)
: … { … }
void BatteryDispatcher::Trace(Visitor* visitor) const { … }
void BatteryDispatcher::QueryNextStatus() { … }
void BatteryDispatcher::OnDidChange(
device::mojom::blink::BatteryStatusPtr battery_status) { … }
void BatteryDispatcher::UpdateBatteryStatus(
const BatteryStatus& battery_status) { … }
void BatteryDispatcher::StartListening(LocalDOMWindow* window) { … }
void BatteryDispatcher::StopListening() { … }
}