B2G/gecko/browser/devtools/highlighter/highlighter.jsm
/**
   * Handle mousemoves in panel.
   *
   * @param nsiDOMEvent aEvent
   *        The MouseEvent triggering the method.
   */
Handle mousemoves in panel.
@param nsiDOMEvent aEvent
The MouseEvent triggering the method.
Handle mousemoves in panel . @param nsiDOMEvent aEvent The MouseEvent triggering the method .
function Highlighter_handleMouseMove(aEvent)
  {
    let doc = aEvent.target.ownerDocument;
    if (doc && doc != this.chromeDoc) {
      let element = LayoutHelpers.getElementFromPoint(aEvent.target.ownerDocument,
        aEvent.clientX, aEvent.clientY);
      if (element && element != this.node) {
        this.highlight(element);
      }
    }
  }
function Highlighter_handleMouseMove ( aEvent ) { let doc = aEvent . target . ownerDocument ; if ( doc && doc != this . chromeDoc ) { let element = LayoutHelpers . getElementFromPoint ( aEvent . target . ownerDocument , aEvent . clientX , aEvent . clientY ) ; if ( element && element != this . node ) { this . highlight ( element ) ; } } }
Handle mousemoves in panel.
Handle mousemoves in panel .
// This should never happen, but just in case, we don't let the // highlighter highlight browser nodes.