function ToolbarManager(window, toolbar, zoomToolbar) {
  this.window_ = window;
  this.toolbar_ = toolbar;
  this.zoomToolbar_ = zoomToolbar;

  this.toolbarTimeout_ = null;
  this.isMouseNearTopToolbar_ = false;
  this.isMouseNearSideToolbar_ = false;

  this.sideToolbarAllowedOnly_ = false;
  this.sideToolbarAllowedOnlyTimer_ = null;

  this.keyboardNavigationActive = false;

  this.lastMovementTimestamp = null;

  this.window_.addEventListener('resize', this.resizeDropdowns_.bind(this));
  this.resizeDropdowns_();
}
/**
 * Constructs a Toolbar Manager, responsible for co-ordinating between multiple
 * toolbar elements.
 *
 * @param {Object} window The window containing the UI.
 * @param {Object} toolbar The top toolbar element.
 * @param {Object} zoomToolbar The zoom toolbar element.
 * @constructor
 */
Constructs a Toolbar Manager, responsible for co-ordinating between multiple
toolbar elements.

@param {Object} window The window containing the UI.
@param {Object} toolbar The top toolbar element.
@param {Object} zoomToolbar The zoom toolbar element.
@constructor
Constructs a Toolbar Manager responsible for co - ordinating between multiple toolbar elements . @param { Object } window The window containing the UI . @param { Object } toolbar The top toolbar element . @param { Object } zoomToolbar The zoom toolbar element . @constructor
function ToolbarManager(window, toolbar, zoomToolbar) {
  this.window_ = window;
  this.toolbar_ = toolbar;
  this.zoomToolbar_ = zoomToolbar;
  this.toolbarTimeout_ = null;
  this.isMouseNearTopToolbar_ = false;
  this.isMouseNearSideToolbar_ = false;
  this.sideToolbarAllowedOnly_ = false;
  this.sideToolbarAllowedOnlyTimer_ = null;
  this.keyboardNavigationActive = false;
  this.lastMovementTimestamp = null;
  this.window_.addEventListener('resize', this.resizeDropdowns_.bind(this));
  this.resizeDropdowns_();
}
function ToolbarManager ( window , toolbar , zoomToolbar ) { this . window_ = window ; this . toolbar_ = toolbar ; this . zoomToolbar_ = zoomToolbar ; this . toolbarTimeout_ = null ; this . isMouseNearTopToolbar_ = false ; this . isMouseNearSideToolbar_ = false ; this . sideToolbarAllowedOnly_ = false ; this . sideToolbarAllowedOnlyTimer_ = null ; this . keyboardNavigationActive = false ; this . lastMovementTimestamp = null ; this . window_ . addEventListener ( 'resize' , this . resizeDropdowns_ . bind ( this ) ) ; this . resizeDropdowns_ ( ) ; }
Constructs a Toolbar Manager, responsible for co-ordinating between multiple
 toolbar elements.
Constructs a Toolbar Manager responsible for co - ordinating between multiple toolbar elements .