Screen Enumeration

Exposes a list of the displays connected to the user's computer and a set of properties for each display. A display usually has a 1:1 correspondence with a physical or virtual monitor.

Since it is common to use more than one monitor, it is important to give Web developers the tools to make their applications perform well across multiple displays that may have differing properties. This API provides the foundation for other new APIs like the Window Placement API (https://github.com/spark008/window-placement/blob/master/EXPLAINER.md - expect a follow-up I2I for this soon), which would enable many powerful multi-display windowing behaviors. Use cases that these 2 APIs would enable include: * Slide show presentation: Opening the presentation, speaker notes, and presenter controls on the most appropriate monitor for each window. * Finance applications with multiple dashboards: Starting the app (re-)opens all the dashboards across multiple monitors. Currently, the only way for Web developers to get display properties for all connected displays is via the Chrome Apps API.

Documentation

Status in Chromium

UI>Browser>WebAppInstalls


Behind a flag (tracking bug) in:

  • Chrome for desktop release 78
  • Chrome for Android release 78

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2019-09-12