#include "third_party/blink/renderer/core/frame/device_single_window_event_controller.h"
#include "base/ranges/algorithm.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
namespace blink {
DeviceSingleWindowEventController::DeviceSingleWindowEventController(
LocalDOMWindow& window)
: … { … }
DeviceSingleWindowEventController::~DeviceSingleWindowEventController() =
default;
void DeviceSingleWindowEventController::DidUpdateData() { … }
void DeviceSingleWindowEventController::DispatchDeviceEvent(Event* event) { … }
void DeviceSingleWindowEventController::DidAddEventListener(
LocalDOMWindow* window,
const AtomicString& event_type) { … }
void DeviceSingleWindowEventController::DidRemoveEventListener(
LocalDOMWindow* window,
const AtomicString& event_type) { … }
void DeviceSingleWindowEventController::DidRemoveAllEventListeners(
LocalDOMWindow*) { … }
bool DeviceSingleWindowEventController::CheckPolicyFeatures(
const Vector<mojom::blink::PermissionsPolicyFeature>& features) const { … }
void DeviceSingleWindowEventController::Trace(Visitor* visitor) const { … }
}