mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
fdc30d5f2e
Differential Revision: https://phabricator.services.mozilla.com/D220671
20 lines
549 B
Plaintext
20 lines
549 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
[scriptable, uuid(46e3e300-a45a-45b0-ac68-016e9496bf98)]
|
|
interface nsIOpenTabsProvider : nsISupports
|
|
{
|
|
/**
|
|
* List of currently open public tabs
|
|
*/
|
|
Array<AUTF8String> getOpenTabs();
|
|
|
|
/**
|
|
* Function to switch current tab to a given already open URL
|
|
*/
|
|
void switchToOpenTab(in AUTF8String url);
|
|
};
|