crosswalk-project/crosswalk — pull request #1367 by kenchris (2013-12-18 18:00:56+00:00)
Title: Implement DOM screen.lockOrientation and screen.unlockOrientation

Credit due to Zhenyu Liang who wrote most of this code! and for Thiago Santos for helping me with the extension parts.

Can be tested manually with http://jsbin.com/IJapIVE/4