B2G/gecko/browser/devtools/tilt/TiltVisualizer.jsm
/**
   * Removes all added events listeners required by this controller.
   */
Removes all added events listeners required by this controller.
Removes all added events listeners required by this controller .
function TVC_removeEventListeners()
  {
    let canvas = this.canvas;
    let presenter = this.presenter;
    canvas.removeEventListener("mousedown", this._onMouseDown, false);
    canvas.removeEventListener("mouseup", this._onMouseUp, false);
    canvas.removeEventListener("mousemove", this._onMouseMove, false);
    canvas.removeEventListener("mouseover", this._onMouseOver, false);
    canvas.removeEventListener("mouseout", this._onMouseOut, false);
    canvas.removeEventListener("MozMousePixelScroll", this._onMozScroll, false);
    canvas.removeEventListener("keydown", this._onKeyDown, false);
    canvas.removeEventListener("keyup", this._onKeyUp, false);
    canvas.removeEventListener("keypress", this._onKeyPress, true);
    canvas.removeEventListener("blur", this._onBlur, false);
    presenter.contentWindow.removeEventListener("resize", this._onResize, false);
  }
function TVC_removeEventListeners ( ) { let canvas = this . canvas ; let presenter = this . presenter ; canvas . removeEventListener ( "mousedown" , this . _onMouseDown , false ) ; canvas . removeEventListener ( "mouseup" , this . _onMouseUp , false ) ; canvas . removeEventListener ( "mousemove" , this . _onMouseMove , false ) ; canvas . removeEventListener ( "mouseover" , this . _onMouseOver , false ) ; canvas . removeEventListener ( "mouseout" , this . _onMouseOut , false ) ; canvas . removeEventListener ( "MozMousePixelScroll" , this . _onMozScroll , false ) ; canvas . removeEventListener ( "keydown" , this . _onKeyDown , false ) ; canvas . removeEventListener ( "keyup" , this . _onKeyUp , false ) ; canvas . removeEventListener ( "keypress" , this . _onKeyPress , true ) ; canvas . removeEventListener ( "blur" , this . _onBlur , false ) ; presenter . contentWindow . removeEventListener ( "resize" , this . _onResize , false ) ; }
Removes all added events listeners required by this controller.
Removes all added events listeners required by this controller .