Backed out changeset de3502ab8cb5 (bug 1847180) for causing gtest failures at AllExte...
[gecko.git] / image / imgIScriptedNotificationObserver.idl
blob54769e38fc1cb5cf4b962caf1aa70b06c1e608f5
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */
7 #include "nsISupports.idl"
9 interface imgIRequest;
11 [scriptable, uuid(10be55b3-2029-41a7-a975-538efed250ed)]
12 interface imgIScriptedNotificationObserver : nsISupports
14 void sizeAvailable(in imgIRequest aRequest);
15 void frameUpdate(in imgIRequest aRequest);
16 void frameComplete(in imgIRequest aRequest);
17 void loadComplete(in imgIRequest aRequest);
18 void decodeComplete(in imgIRequest aRequest);
19 void discard(in imgIRequest aRequest);
20 void isAnimated(in imgIRequest aRequest);
21 void hasTransparency(in imgIRequest aRequest);