Private ReadonlyeventsPrivatedetailsPrivateattachingThe in-flight getScreenDetails() attach, shared by concurrent callers.
PrivatestopPrivatelastPrivatedisposedPrivate ReadonlyapplyPrivate ReadonlyoptionsPrivate ReadonlyonPrivate ReadonlyonResolve now, then attach to screen details if the permission is already granted.
User-initiated (may show the permission prompt): measure the display and, only when a measurement is available, forget any hand-set value for it so the measurement takes over.
The user moved the slider: remember it for the current display.
The current resolution (null before start).
True when the browser can measure headroom (API present; may need permission).
PrivateattachAttach once; concurrent callers (a double-clicked Detect) share the attempt.
PrivatedoPrivatewatchPrivatemanualKeys a hand-set value is stored under: the label key once known, and always the geometry key the synchronous startup resolution reads.
PrivategeometryPrivatesignalsPrivateresolve
Keeps the HDR headroom right for whatever display the window is on.
applyreceives every changed resolution (value or provenance).