pub(crate) trait NavigatorMethods<D: DomTypes> {
Show 26 methods
// Required methods
fn MediaSession(&self) -> DomRoot<D::MediaSession>;
fn ServiceWorker(&self) -> DomRoot<D::ServiceWorkerContainer>;
fn Permissions(&self) -> DomRoot<D::Permissions>;
fn GetGamepads(&self) -> Vec<Option<DomRoot<D::Gamepad>>>;
fn Bluetooth(&self) -> DomRoot<D::Bluetooth>;
fn Servo(&self) -> DomRoot<D::ServoInternals>;
fn Xr(&self) -> DomRoot<D::XRSystem>;
fn MediaDevices(&self) -> DomRoot<D::MediaDevices>;
fn HardwareConcurrency(&self) -> u64;
fn CookieEnabled(&self) -> bool;
fn Gpu(&self) -> DomRoot<D::GPU>;
fn AppCodeName(&self) -> DOMString;
fn AppName(&self) -> DOMString;
fn AppVersion(&self) -> DOMString;
fn Platform(&self) -> DOMString;
fn Product(&self) -> DOMString;
fn ProductSub(&self) -> DOMString;
fn TaintEnabled(&self) -> bool;
fn UserAgent(&self) -> DOMString;
fn Vendor(&self) -> DOMString;
fn VendorSub(&self) -> DOMString;
fn Language(&self) -> DOMString;
fn Languages(
&self,
cx: SafeJSContext,
_can_gc: CanGc,
retval: MutableHandleValue<'_>,
);
fn Plugins(&self) -> DomRoot<D::PluginArray>;
fn MimeTypes(&self) -> DomRoot<D::MimeTypeArray>;
fn JavaEnabled(&self) -> bool;
}