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: /** michael@0: * This interface is used in debug builds (and only there) in michael@0: * order to let automatic tests running JavaScript access michael@0: * internal state of imgContainers. This lets us test michael@0: * things like animation. michael@0: */ michael@0: [scriptable, builtinclass, uuid(52cbb839-6e63-4a70-b21a-1db4ca706c49)] michael@0: interface imgIContainerDebug : nsISupports michael@0: { michael@0: /** michael@0: * The # of frames this imgContainer has been notified about. michael@0: * That is equal to the # of times the animation timer has michael@0: * fired, and is usually equal to the # of frames actually michael@0: * drawn (but actual drawing might be disabled). michael@0: */ michael@0: readonly attribute uint32_t framesNotified; michael@0: };