DescriptionAdd initial Screen Orientation API support: IDL changes
Add initial Screen Orientation API support: IDL changes:
https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html
This new API is implemented behind a "ScreenOrientation" runtime-enabled flag.
The intent to implement was sent to blink-dev:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/lgUq8K9IGlU
This CL changes Screen to be an EventTarget. While the Screen Orientation API
has been implemented behind a RuntimeEnabled flag, there is no way of having
inheritance depend on the flag's value. The Web exposed effect of this is that
people will now be able to dispatch custom events on the window.screen
interface, which in itself is harmless.
R=abarth
BUG=162827
TEST=screen_orientation/screenorientation-api.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167259
Patch Set 1 #Patch Set 2 : Rebase additional test #
Total comments: 19
Patch Set 3 : Take Adam's feedback into consideration #
Total comments: 7
Patch Set 4 : Fix remaining nits #Messages
Total messages: 16 (0 generated)
|