GoogleChrome/chrome-app-samples — pull request #32 by scheib (2012-09-11 22:14:19+00:00)
Title: WebGL sample: Attempt to use pointer lock when mouse is down

Code needed to use pointer lock when mouse is down in the webgl sample.

Doesn't work until pointer lock is enabled for apps, http://crbug.com/148532. Tested by running page outside of app.