B2G/gecko/browser/components/downloads/src/DownloadsCommon.jsm
/**
   * Updates the specified view with the current aggregate values.
   *
   * @param aView
   *        DownloadsIndicatorView object to be updated.
   */
Updates the specified view with the current aggregate values.
@param aView
DownloadsIndicatorView object to be updated.
Updates the specified view with the current aggregate values . @param aView DownloadsIndicatorView object to be updated .
function DID_updateView(aView)
  {
    aView.hasDownloads = this._hasDownloads;
    aView.counter = this._counter;
    aView.percentComplete = this._percentComplete;
    aView.paused = this._paused;
    aView.attention = this._attention && !this._attentionSuppressed;
  }
function DID_updateView ( aView ) { aView . hasDownloads = this . _hasDownloads ; aView . counter = this . _counter ; aView . percentComplete = this . _percentComplete ; aView . paused = this . _paused ; aView . attention = this . _attention && ! this . _attentionSuppressed ; }
Updates the specified view with the current aggregate values.
Updates the specified view with the current aggregate values .