Fugu: Use Display mojom and extend Screen interface for Screen Enumeration
Update code to better match the latest Screen Enumeration proposal: https://github.com/spark008/screen-enumeration/blob/master/EXPLAINER.md Use the existing Display mojo struct, instead of a new parallel struct. Add [RuntimeEnabled=ScreenEnumeration] Screen attributes, instead of a new parallel object. Rename requestDisplays to getScreens. Update test expectations. Test with chrome://flags#enable-experimental-web-platform-features or --enable-blink-features=ScreenEnumeration Bug: 994889 Test: Automated; getScreens() works with flag enabled. Change-Id: I54f1594c5b6f1ad2a6532f3ee5f8a0184408c7b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842339 Commit-Queue: Michael Wasserman <msw@chromium.org> Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Staphany Park <staphany@chromium.org> Cr-Commit-Position: refs/heads/master@{#712839}
Showing
Please register or sign in to comment