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