activateTabForWindow(tabIndex, win) {
    const id = this.nextIpcRequestId();
    const p = this.appendPromise(id);
    ipcMain.once('tab-activated', this._ipcPromiseCallback);
    win.webContents.send('command', 'activate-tab', id, tabIndex);
    return p;
  }
/**
   * Activates request tab in given window.
   *
   * @param {Number} tabIndex Index of the tab to set active.
   * @param {BrowserWindow} win Window to use as a command target.
   * @return {Promise}
   */
Activates request tab in given window.
@param {Number} tabIndex Index of the tab to set active.
@param {BrowserWindow} win Window to use as a command target.
@return {Promise}
Activates request tab in given window . @param { Number } tabIndex Index of the tab to set active . @param { BrowserWindow } win Window to use as a command target . @return { Promise }
activateTabForWindow(tabIndex, win) {
    const id = this.nextIpcRequestId();
    const p = this.appendPromise(id);
    ipcMain.once('tab-activated', this._ipcPromiseCallback);
    win.webContents.send('command', 'activate-tab', id, tabIndex);
    return p;
  }
activateTabForWindow ( tabIndex , win ) { const id = this . nextIpcRequestId ( ) ; const p = this . appendPromise ( id ) ; ipcMain . once ( 'tab-activated' , this . _ipcPromiseCallback ) ; win . webContents . send ( 'command' , 'activate-tab' , id , tabIndex ) ; return p ; }
Activates request tab in given window.
Activates request tab in given window .