michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * 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 "nsISupports.idl" michael@0: michael@0: interface imgIRequest; michael@0: michael@0: [scriptable, uuid(10be55b3-2029-41a7-a975-538efed250ed)] michael@0: interface imgIScriptedNotificationObserver : nsISupports michael@0: { michael@0: void sizeAvailable(in imgIRequest aRequest); michael@0: void frameUpdate(in imgIRequest aRequest); michael@0: void frameComplete(in imgIRequest aRequest); michael@0: void loadComplete(in imgIRequest aRequest); michael@0: void decodeComplete(in imgIRequest aRequest); michael@0: void discard(in imgIRequest aRequest); michael@0: void isAnimated(in imgIRequest aRequest); michael@0: };