dom/interfaces/events/nsIDOMProgressEvent.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsIDOMEvent.idl"
     9 /**
    10  * ProgressEvent can be used for measuring progress.
    11  */
    13 [scriptable, builtinclass, uuid(e0682338-4c3f-4d3a-9487-d7492ea76335)]
    14 interface nsIDOMProgressEvent : nsIDOMEvent
    15 {
    16   readonly attribute boolean lengthComputable;
    17   readonly attribute unsigned long long loaded;
    18   readonly attribute unsigned long long total;
    19   [noscript]
    20   void initProgressEvent(in DOMString typeArg,
    21                          in boolean canBubbleArg,
    22                          in boolean cancelableArg,
    23                          in boolean lengthComputableArg,
    24                          in unsigned long long loadedArg,
    25                          in unsigned long long totalArg);
    26 };

mercurial