dom/interfaces/notification/nsIDOMDesktopNotification.idl
author Nicholas Cameron <ncameron@mozilla.com>
Mon, 15 Apr 2013 13:25:14 +1200
changeset 135516 32f6b90836a63fb51527ccc892587f1a7b5a75d3
parent 135114 9f92f6c2d0deca31fb9c389356e1cb9b4b990972
child 154349 114983525d73140b24380fee85bf3e32bea34174
permissions -rw-r--r--
Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas

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

// Notification service that also provides the manifest URL
[scriptable, uuid(7fb4f0f9-ff5b-4620-8e1b-d82d723605af)]
interface nsIAppNotificationService : nsISupports
{
    void showAppNotification(in AString  imageUrl,
                              in AString  title,
                              in AString  text,
                              [optional] in boolean textClickable,
                              [optional] in AString manifestURL,
                              [optional] in nsIObserver alertListener);
};