Window Placement: Gate screenschange events on permission
Only fire screenschange for frames with the Window Placement permission. Fire isMultiScreen changes for all visible frames (e.g. 1 <-> 2 screens) (obviates pollling isMultiScreen(), which is exposed without permission) Add a TODO to postpone events instead of dropping, and refine criteria. Update test expectations and add TODO to test events with permission. Bug: 1080690, 1109989 Test: event only fires for permissioned sites or isMultiScreen changes. Change-Id: I5b46bd6944bc4b923b6357e9b370c80ce14a09b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375671Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#802356}
Showing
Please register or sign in to comment