dom/interfaces/notification/nsIDOMDesktopNotification.idl
author Lucas Rocha <lucasr@mozilla.com>
Mon, 12 Nov 2012 15:58:40 +0000
changeset 112995 edc00669b8e13aada1969ab0d37ff26246bb1b43
parent 103955 0a1f4d81635adf13c29c71aa80d4e44198125119
child 114466 60378fae4e94b39e96841cc6c44fcd2a7cc6b591
permissions -rw-r--r--
Bug 808296 - Update top sites thumbnails from adapter, not from gridview (r=mfinkle)

/* 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;
};