B2G/gecko/browser/components/downloads/content/indicator.js
/**
   * This function is called when toolbar customization starts.
   *
   * During customization, we never show the actual download progress indication
   * or the event notifications, but we show a neutral placeholder.  The neutral
   * placeholder is an ordinary button defined in the browser window that can be
   * moved freely between the toolbars and the customization palette.
   */
This function is called when toolbar customization starts.
During customization, we never show the actual download progress indication
or the event notifications, but we show a neutral placeholder.  The neutral
placeholder is an ordinary button defined in the browser window that can be
moved freely between the toolbars and the customization palette.
This function is called when toolbar customization starts . During customization we never show the actual download progress indication or the event notifications but we show a neutral placeholder . The neutral placeholder is an ordinary button defined in the browser window that can be moved freely between the toolbars and the customization palette .
function DB_customizeStart()
  {
    this._customizing = true;
    this._anchorRequested = false;
    let indicator = DownloadsIndicatorView.indicator;
    if (indicator) {
      indicator.collapsed = true;
    }
    let placeholder = this._placeholder;
    if (placeholder) {
      placeholder.collapsed = false;
    }
  }
function DB_customizeStart ( ) { this . _customizing = true ; this . _anchorRequested = false ; let indicator = DownloadsIndicatorView . indicator ; if ( indicator ) { indicator . collapsed = true ; } let placeholder = this . _placeholder ; if ( placeholder ) { placeholder . collapsed = false ; } }
This function is called when toolbar customization starts.
This function is called when toolbar customization starts .
// Hide the indicator and prevent it to be displayed as a temporary anchor // during customization, even if requested using the getAnchor method.