DescriptionMake Fullscreen::requestFullscreen and exitFullscreen static
Making requestFullscreen and exitFullscreen async like the spec will
mean that no state on the Fullscreen instances will be modified
synchronously in the request/exit calls, and the instances may in fact
end up not being created at all.
The code arguably ends up looking worse with this change alone, but it
does make it very clear that all events are put in the queue of the
requesting document, and not for each document involved.
This should not be observable at all, and makes future CLs smaller.
BUG=402421, 402376
Committed: https://crrev.com/2d25b500542df1129457767aef5ec97b31ca695e
Cr-Commit-Position: refs/heads/master@{#417446}
Patch Set 1 #
Total comments: 7
Patch Set 2 : doc->document, for loop #
Messages
Total messages: 15 (8 generated)
|