code: function Windows(chrome) {
      this.chrome = chrome;
      this.WINDOW_ID_NONE = -1;
      this.WINDOW_ID_CURRENT = -2;
  
      /**
       * Gets details about a window.
       *
       * @param {number} tabId
       * @param {function} callback
       */
      this.get = sinon.stub();
  
      /**
       * Gets the current window
       *
       * @param {function} callback
       */
      this.getCurrent = sinon.stub();
  
      /**
       * Gets the window that was most recently focused — typically the window 'on top'.
       *
       * @param {function} callback
       */
      this.getLastFocused = sinon.stub();
  
      /**
       * Gets all windows.
       *
       * @param {function} callback
       */
      this.getAll = sinon.stub();
      /**
       * Creates (opens) a new browser with any optional sizing, position or default URL provided.
       *
       * @param {function} callback
       */
      this.create = sinon.stub();
  
      /**
       * Updates the properties of a window. Specify only the properties that you want to change;
       * unspecified properties will be left unchanged.
       *
       * @param {function} callback
       */
      this.update = sinon.stub();
  
      /**
       * Removes (closes) a window, and all the tabs inside it.
       *
       * @param {function} callback
       */
      this.remove = sinon.stub();
  }
docs: Use the <code>chrome.windows</code> API to interact with browser windows. You can
  use this API to create, modify, and rearrange windows in the browser.
  @constructor
  @param {Object} chrome