Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
[gecko.git] / accessible / interfaces / nsIAccessibleImage.idl
blob296216e70d4fce00ef06b9a263d676d110dd7544
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, builtinclass, uuid(09086623-0f09-4310-ac56-c2cda7c29648)]
9 interface nsIAccessibleImage : nsISupports
11 /**
12 * Returns the coordinates of the image.
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
19 void getImagePosition(in unsigned long coordType,
20 out long x,
21 out long y);
23 /**
24 * Returns the size of the image.
26 * @param width the heigth
27 * @param height the width
29 void getImageSize(out long width, out long height);