tor-browser

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

nsIGeckoViewServiceWorker.idl (780B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #include  "nsISupports.idl"
      8 
      9 interface nsIOpenWindowInfo;
     10 interface nsIURI;
     11 
     12 [scriptable, uuid(e778cce6-a231-42f0-86e4-574600524393)]
     13 interface nsIGeckoViewServiceWorker : nsISupports {
     14  /**
     15   * Return browsing context if GeckoSession is already opened, or null
     16   * if GeckoSesion is opening. When it is null, browsing context is
     17   * notified via aOpenWindowInfo.
     18   */
     19  Promise openWindow(in nsIURI uri, in nsIOpenWindowInfo aOpenWindowInfo);
     20 };