Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

48 bytes removed, 18:19, 20 December 2011
Review Issues
* <s>"nsDOMMouseLockable looks like it should be cycle collectable"</s> humph
* Break .pointer out of Navigator, and add nsIDOMMozNavigatorPointer (not sure if this name is best) as a new interface to Navigator, similar to nsIDOMMozNavigatorBattery. - mjschranz
* <s>Rename for moz* prefix. The API should be probably prefixed. So, navigator.mozPointer and all the interfaces should start with nsIDOMMoz. Similar to what webkit* is doing: - <b/s>- humph</b>** <s>navigator.webkitPointer.unlock(); - <b>humph</bs>** <s>navigator.webkitPointer.lock(); - <b>humph</bs>** <s>navigator.webkitPointer.isLocked(); - <b>humph</bs>** <s>document.body.addEventListener("webkitpointerlocklost", ... - <b>humph</bs>** <s>mouseMoveEvent.webkitMovementX - <b>humph</bs>** <s>mouseMoveEvent.webkitMovementY - <b>humph</bs>
* Follow discussion unfolding here for other changes: http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1558.html
* Finish tests, updated to changes above.

Navigation menu