Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

105 bytes added, 14:03, 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
* 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>humph</b>** navigator.webkitPointer.unlock();- <b>humph</b>** navigator.webkitPointer.lock();- <b>humph</b>** navigator.webkitPointer.isLocked();- <b>humph</b>** document.body.addEventListener("webkitpointerlocklost", ...- <b>humph</b>** mouseMoveEvent.webkitMovementX- <b>humph</b>** mouseMoveEvent.webkitMovementY- <b>humph</b>
* 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