dom/wifi/nsIDOMMozWifiStatusChangeEvent.idl
author Lucas Rocha <lucasr@mozilla.com>
Mon, 12 Nov 2012 15:58:40 +0000
changeset 112995 edc00669b8e13aada1969ab0d37ff26246bb1b43
parent 111136 76836f462a5b33ada63b7d7c2c07ed48de1d9be1
child 116681 57427d474c9a4f753380f6eba62a8d433f6cc5c1
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 "nsIDOMEvent.idl"

interface nsIVariant;

[scriptable, builtinclass, uuid(f3ef70b0-b2d3-4eb5-8ea4-008f8d330cd6)]
interface nsIDOMMozWifiStatusChangeEvent : nsIDOMEvent
{
    /**
     * Network object with a SSID field describing the network affected by
     * this change. This might be null.
     */
    readonly attribute nsIVariant network;

    /**
     * String describing the current status of the wifi manager. See above for
     * the possible values.
     */
    readonly attribute DOMString status;

    [noscript] void initMozWifiStatusChangeEvent(in DOMString aType,
                                                 in boolean aCanBubble,
                                                 in boolean aCancelable,
                                                 in nsIVariant aNetwork,
                                                 in DOMString aStatus);
};

dictionary MozWifiStatusChangeEventInit : EventInit
{
  nsIVariant network;
  DOMString  status;
};