nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)nsIContentView
interface to manage frames across processes if Electrolysis is in use to support per-frame processes.void activateFrameEvent(in AString aType, in boolean capture); |
void activateRemoteFrame(); |
void destroy(); |
void loadFrame(); |
void loadURI(in nsIURI aURI); |
void sendCrossProcessKeyEvent(in AString aType, in long aKeyCode, in long aCharCode, in long aModifiers, [optional] in boolean aPreventDefault); |
void sendCrossProcessMouseEvent(in AString aType, in float aX, in float aY, in long aButton, in long aClickCount, in long aModifiers, [optional] in boolean aIgnoreRootScrollFrame); |
void updatePositionAndSize(in nsIFrame aIFrame); Native code only! |
Attribute | Type | Description |
delayRemoteDialogs |
boolean |
|
depthTooGreat |
boolean |
Find out whether the loader's frame is at too great a depth in the frame tree. This can be used to decide what operations may or may not be allowed on the loader's docshell . Read only. |
docShell |
|
Get the docshell from the frame loader. Read only. |
messageManager |
|
The message manager handling messages for this frame. Read only. |
Activates event forwarding from client (remote frame) to parent.
void activateFrameEvent( in AString aType, in boolean capture );
aType
capture
Activates the remote frame.
void activateRemoteFrame();
None.
Throws an exception with non-remote frames.
Destroys the frame loader and everything inside it. This will clear the weak owner content reference.
void destroy();
None.
Starts loading the frame. This method figures out what to load from the owner content in the frame loader.
void loadFrame();
None.
Loads the specified URI in this frame. Behaves identically to loadFrame()
, except that this method lets you specify the URI to load.
void loadURI( in nsIURI aURI );
aURI
Creates and sends a KeyEvent
to the content viewport's process. See nsIDOMWindowUtils.sendKeyEvent()
for details; this method is its equivalent for cross-process event handling.
void sendCrossProcessKeyEvent( in AString aType, in long aKeyCode, in long aCharCode, in long aModifiers, [optional] in boolean aPreventDefault );
aType
aKeyCode
aCharCode
aModifiers
aPreventDefault
Creates and sends a MouseEvent
to the content viewport's process. See nsIDOMWindowUtils.sendMouseEvent()
for details; this method is its equivalent for cross-process event handling.
void sendCrossProcessMouseEvent( in AString aType, in float aX, in float aY, in long aButton, in long aClickCount, in long aModifiers, [optional] in boolean aIgnoreRootScrollFrame );
aType
aX
aY
aButton
aClickCount
aModifiers
aIgnoreRootScrollFrame
OptionalUpdates the position and size of the subdocument loaded by this frameloader.
void updatePositionAndSize( in nsIFrame aIFrame );
aIFrame
nsIFrame
for the content node that owns this frameloader.