B2G/gecko/browser/devtools/tilt/TiltUtils.jsm
/**
   * Gets the full webpage dimensions (width and height).
   *
   * @param {Window} aContentWindow
   *                 the content window holding the document
   *
   * @return {Object} an object containing the width and height coords
   */
Gets the full webpage dimensions (width and height).
@param {Window} aContentWindow
the content window holding the document

@return {Object} an object containing the width and height coords
Gets the full webpage dimensions ( width and height ) . @param { Window } aContentWindow the content window holding the document @return { Object } an object containing the width and height coords
function TUD_getContentWindowDimensions(
    aContentWindow)
  {
    return {
      width: aContentWindow.innerWidth + aContentWindow.scrollMaxX,
      height: aContentWindow.innerHeight + aContentWindow.scrollMaxY
    };
  }
function TUD_getContentWindowDimensions ( aContentWindow ) { return { width : aContentWindow . innerWidth + aContentWindow . scrollMaxX , height : aContentWindow . innerHeight + aContentWindow . scrollMaxY } ; }
Gets the full webpage dimensions (width and height).
Gets the full webpage dimensions ( width and height ) .