B2G/gecko/browser/base/content/sanitizeDialog.js
/**
   * Sets the tree that this module handles.  The tree is assigned a new view
   * that is equipped to handle contiguous selection.  You can pass in an
   * object that will be used as the prototype of the new view.  Otherwise
   * the tree's current view is used as the prototype.
   *
   * @param  aTreeElement
   *         The tree element
   * @param  aProtoTreeView
   *         If defined, this will be used as the prototype of the tree's new
   *         view
   * @return The new view
   */
Sets the tree that this module handles.  The tree is assigned a new view
that is equipped to handle contiguous selection.  You can pass in an
object that will be used as the prototype of the new view.  Otherwise
the tree's current view is used as the prototype.

@param  aTreeElement
The tree element
@param  aProtoTreeView
If defined, this will be used as the prototype of the tree's new
view
@return The new view
Sets the tree that this module handles . The tree is assigned a new view that is equipped to handle contiguous selection . You can pass in an object that will be used as the prototype of the new view . Otherwise the tree ' s current view is used as the prototype . @param aTreeElement The tree element @param aProtoTreeView If defined this will be used as the prototype of the tree ' s new view @return The new view
function CSTH_setTree(aTreeElement, aProtoTreeView)
  {
    this._tree = aTreeElement;
    var newView = this._makeTreeView(aProtoTreeView || aTreeElement.view);
    aTreeElement.view = newView;
    return newView;
  }
function CSTH_setTree ( aTreeElement , aProtoTreeView ) { this . _tree = aTreeElement ; var newView = this . _makeTreeView ( aProtoTreeView || aTreeElement . view ) ; aTreeElement . view = newView ; return newView ; }
Sets the tree that this module handles.
Sets the tree that this module handles .