imgIScriptedNotificationObserver.idl 824 B

1234567891011121314151617181920212223
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. *
  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/. */
  6. #include "nsISupports.idl"
  7. interface imgIRequest;
  8. [scriptable, uuid(10be55b3-2029-41a7-a975-538efed250ed)]
  9. interface imgIScriptedNotificationObserver : nsISupports
  10. {
  11. void sizeAvailable(in imgIRequest aRequest);
  12. void frameUpdate(in imgIRequest aRequest);
  13. void frameComplete(in imgIRequest aRequest);
  14. void loadComplete(in imgIRequest aRequest);
  15. void decodeComplete(in imgIRequest aRequest);
  16. void discard(in imgIRequest aRequest);
  17. void isAnimated(in imgIRequest aRequest);
  18. void hasTransparency(in imgIRequest aRequest);
  19. };