#include "third_party/blink/renderer/modules/device_posture/device_posture.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/modules/event_target_modules.h"
namespace blink {
namespace {
String PostureToString(mojom::blink::DevicePostureType posture) { … }
}
DevicePosture::DevicePosture(LocalDOMWindow* window)
: … { … }
DevicePosture::~DevicePosture() = default;
String DevicePosture::type() { … }
void DevicePosture::OnPostureChanged(mojom::blink::DevicePostureType posture) { … }
void DevicePosture::EnsureServiceConnection() { … }
void DevicePosture::AddedEventListener(const AtomicString& event_type,
RegisteredEventListener& listener) { … }
ExecutionContext* DevicePosture::GetExecutionContext() const { … }
const AtomicString& DevicePosture::InterfaceName() const { … }
void DevicePosture::Trace(blink::Visitor* visitor) const { … }
}