Web: Implement MonitorHandle (#3801)
Requires getting permission from the user to get "detailed" support. Also enables users to go fullscreen on specific monitors. Exposes platform-specific orientation API. Most functionality depends on browser support, currently only Chromium.
This commit is contained in:
parent
2e97ab3d4f
commit
a0bc3e5dc8
21 changed files with 1493 additions and 120 deletions
|
|
@ -305,7 +305,12 @@ web_sys = { package = "web-sys", version = "0.3.64", features = [
|
|||
'MessagePort',
|
||||
'Navigator',
|
||||
'Node',
|
||||
'OrientationType',
|
||||
'OrientationLockType',
|
||||
'PageTransitionEvent',
|
||||
'Permissions',
|
||||
'PermissionState',
|
||||
'PermissionStatus',
|
||||
'PointerEvent',
|
||||
'PremultiplyAlpha',
|
||||
'ResizeObserver',
|
||||
|
|
@ -313,6 +318,8 @@ web_sys = { package = "web-sys", version = "0.3.64", features = [
|
|||
'ResizeObserverEntry',
|
||||
'ResizeObserverOptions',
|
||||
'ResizeObserverSize',
|
||||
'Screen',
|
||||
'ScreenOrientation',
|
||||
'VisibilityState',
|
||||
'Window',
|
||||
'WheelEvent',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue