nsIFrameLoaderOwner 编辑
content/base/public/nsIFrameLoader.idl
Scriptable Represents the owner of an nsIFrameLoader
. 1.0 66 Introduced Gecko 1.8 Inherits from: nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)Method overview
[noscript, notxpcom] alreadyAddRefed_nsFrameLoader GetFrameLoader(); |
void swapFrameLoaders(in nsIFrameLoaderOwner aOtherOwner); |
Attributes
Attribute | Type | Description |
frameLoader |
| The frame loader owned by this nsIFrameLoaderOwner . Read only. |
Methods
getFrameLoader()
Returns the frame loader object owned by this object.
[noscript, notxpcom] alreadyAddRefed_nsFrameLoader GetFrameLoader();
Parameters
None.
Return value
The nsIFrameLoader
owned by this object.
swapFrameLoaders()
Swaps frame loaders with the given nsIFrameLoaderOwner
. This may only be possible in a very limited set of circumstances, or never, depending on the object implementing this interface.
void swapFrameLoaders( in nsIFrameLoaderOwner aOtherOwner );
Parameters
aOtherOwner
- The other frame loader owner with which to swap frame loaders.
Exceptions thrown
NS_ERROR_DOM_SECURITY_ERR
- If the swap is not allowed on security grounds.
NS_ERROR_NOT_IMPLEMENTED
- If the swapping logic is not implemented for the either the current frame loader owner or the specified one with which you're trying to swap.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论