зеркало из https://github.com/mozilla/gecko-dev.git
28 строки
866 B
Plaintext
28 строки
866 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 "domstubs.idl"
|
|
|
|
interface nsIDOMEventListener;
|
|
interface nsIDOMDesktopNotification;
|
|
|
|
|
|
[scriptable, uuid(CCEA6185-0A3D-45AB-9058-1004DD4B8C50)]
|
|
interface nsIDOMDesktopNotificationCenter : nsISupports
|
|
{
|
|
nsIDOMDesktopNotification createNotification(in DOMString title,
|
|
in DOMString description,
|
|
[optional] in DOMString iconURL);
|
|
};
|
|
|
|
|
|
[scriptable, uuid(77bc6adc-77d6-4b29-9844-7eaac25e995d)]
|
|
interface nsIDOMDesktopNotification : nsISupports
|
|
{
|
|
void show();
|
|
|
|
[implicit_jscontext] attribute jsval onclick;
|
|
[implicit_jscontext] attribute jsval onclose;
|
|
};
|