Skip to main content

Module zoom_browser

Module zoom_browser 

Source
Expand description

Zoom on a browser pane the caller drives (docs/specs/SPEC_MUXAPI_ZOOM_2026_11_24.md §4.2): a browser pane has no pane zoom, so the call goes to the mechanism Browser action zoom uses (emulation on the pane’s own browser, 0.25 to 2.0) and answers in the same shape as any pane, with mechanism: "emulation" and that range. The person’s own page zoom of the pane (Ctrl+wheel) is a different thing, and is neither read nor set here.

Constants§

HOST_TIMEOUT 🔒
MAX 🔒
MIN 🔒
The range, in factors, of the emulation (browser_api/zoom.rs).
STEP 🔒

Functions§

entry 🔒
factor_of 🔒
The factor a host answer says the pane is at.
held_for_person 🔒
The window’s refusal when something waits on the person (an approval, a grant, a question), as any other pane’s write gets it (person_prompt_showing); None when nothing does. The window that holds the caller’s pane is asked, because the prompt is shown there. A window that does not answer is not a reason to refuse: host reports an unreachable pane.
host 🔒
is_browser_pane 🔒
Whether block is a browser pane (a dedicated page), whoever drives it.
is_refusal 🔒
Whether the window’s answer is a refusal ({ ok: false, error, ... }).
run 🔒
get, set and reset of one browser pane the caller drives. own is the caller’s own pane and slug its proven id.
value_of 🔒
The value of a set, in range: refused outside it (emulation takes 0.25 to 2.0), rounded to 0.01.