Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 [scriptable, uuid(09086623-0f09-4310-ac56-c2cda7c29648)]
9 interface nsIAccessibleImage : nsISupports
10 {
11 /**
12 * Returns the coordinates of the image.
13 *
14 * @param coordType specifies coordinates origin (for available constants
15 * refer to nsIAccessibleCoordinateType)
16 * @param x the x coordinate
17 * @param y the y coordinate
18 */
19 void getImagePosition(in unsigned long coordType,
20 out long x,
21 out long y);
23 /**
24 * Returns the size of the image.
25 *
26 * @param width the heigth
27 * @param height the width
28 */
29 void getImageSize(out long width, out long height);
30 };