image/public/imgINotificationObserver.idl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
michael@0 2 *
michael@0 3 * This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 6
michael@0 7 #include "nsISupports.idl"
michael@0 8
michael@0 9 interface imgIRequest;
michael@0 10
michael@0 11 %{C++
michael@0 12 #include "nsRect.h"
michael@0 13 %}
michael@0 14
michael@0 15 [ptr] native nsIntRect(nsIntRect);
michael@0 16
michael@0 17 [scriptable, builtinclass, uuid(ac65c702-7771-4f6d-b18b-1c7d806ce3c1)]
michael@0 18 interface imgINotificationObserver : nsISupports
michael@0 19 {
michael@0 20 const long SIZE_AVAILABLE = 1;
michael@0 21 const long FRAME_UPDATE = 2;
michael@0 22 const long FRAME_COMPLETE = 3;
michael@0 23 const long LOAD_COMPLETE = 4;
michael@0 24 const long DECODE_COMPLETE = 5;
michael@0 25 const long DISCARD = 6;
michael@0 26 const long UNLOCKED_DRAW = 7;
michael@0 27 const long IS_ANIMATED = 8;
michael@0 28
michael@0 29 [noscript] void notify(in imgIRequest aProxy, in long aType, [const] in nsIntRect aRect);
michael@0 30 };

mercurial