tor-browser

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

PNotification.ipdl (628B)


      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 file,
      3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 include protocol PBackground;
      6 
      7 include "ipc/ErrorIPCUtils.h";
      8 
      9 using mozilla::CopyableErrorResult from "mozilla/ErrorResult.h";
     10 
     11 namespace mozilla {
     12 namespace dom {
     13 namespace notification {
     14 
     15 [ChildProc=anydom]
     16 async protocol PNotification {
     17  parent:
     18   async Show() returns (CopyableErrorResult rv);
     19   async Close();
     20 
     21  child:
     22   async NotifyClick();
     23 };
     24 
     25 } // namespace notification
     26 } // namespace dom
     27 } // namespace mozilla