nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)To obtain a reference to the view manager for a document, you can QueryInterface() the nsIFrameLoader object to nsIContentViewManager. See Getting access to content views for details. Once you have the view manager, you can call getContentViewsIn() to get a list of the content views for a given portion of the browser display, then use those nsIContentView objects to manipulate the content views.
void getContentViewsIn(in float aXPx, in float aYPx, in float aTopSize, in float aRightSize, in float aBottomSize, in float aLeftSize, [optional] out unsigned long aLength, [retval, array, size_is(aLength)] out nsIContentView aResult); |
| Attribute | Type | Description |
rootContentView |
nsIContentView |
The root content view. Read only. |
Returns an array of nsIContentView objects representing all of the content views that intersect with the specified rectangle in the browser.
Pixels are in chrome device pixels and are relative to the browser element.
void getContentViewsIn(
in float aXPx,
in float aYPx,
in float aTopSize,
in float aRightSize,
in float aBottomSize,
in float aLeftSize,
out unsigned long aLength, Optional
[retval, array, size_is(aLength)] out nsIContentView aResult
);
aXPxaYPxaTopSizeaRightSizeaBottomSizeaLeftSizeaLength OptionalnsIContentView objects returned in the aResult array.aResultnsIContentView objects representing the content views in the specified rectangle.