tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIOpenTabsProvider.idl (549B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #include "nsISupports.idl"
      6 
      7 [scriptable, uuid(46e3e300-a45a-45b0-ac68-016e9496bf98)]
      8 interface nsIOpenTabsProvider : nsISupports
      9 {
     10  /**
     11   * List of currently open public tabs
     12   */
     13  Array<AUTF8String> getOpenTabs();
     14 
     15  /**
     16   * Function to switch current tab to a given already open URL
     17   */
     18  void switchToOpenTab(in AUTF8String url);
     19 };