C# Class GeckofxUnitTests.MockDOMWindow

Inheritance: nsIDOMWindow
Mostra file Open project: tophatmonocle/DirtyGecko Class Usage Examples

Public Methods

Method Description
Alert ( Skybound.Gecko.nsAString text ) : void
Atob ( Skybound.Gecko.nsAString aAsciiString, Skybound.Gecko.nsAString retval ) : void
Back ( ) : void
Blur ( ) : void
Btoa ( Skybound.Gecko.nsAString aBase64Data, Skybound.Gecko.nsAString retval ) : void
Close ( ) : void
Confirm ( Skybound.Gecko.nsAString text ) : bool
Find ( Skybound.Gecko.nsAString str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog ) : bool
Focus ( ) : void
Forward ( ) : void
GetApplicationCacheAttribute ( ) : nsIDOMOfflineResourceList
GetClosedAttribute ( ) : bool
GetComputedStyle ( nsIDOMElement elt, Skybound.Gecko.nsAString pseudoElt ) : nsIDOMCSSStyleDeclaration
GetContentAttribute ( ) : nsIDOMWindow
GetControllersAttribute ( ) : nsIControllers
GetCryptoAttribute ( ) : nsIDOMCrypto
GetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
GetDocumentAttribute ( ) : nsIDOMDocument
GetFrameElementAttribute ( ) : nsIDOMElement
GetFramesAttribute ( ) : nsIDOMWindowCollection
GetFullScreenAttribute ( ) : bool
GetGlobalStorageAttribute ( ) : nsIDOMStorageList
GetHistoryAttribute ( ) : nsIDOMHistory
GetInnerHeightAttribute ( ) : int
GetInnerWidthAttribute ( ) : int
GetLengthAttribute ( ) : uint
GetLocalStorageAttribute ( ) : nsIDOMStorage
GetLocationAttribute ( ) : nsIDOMLocation
GetLocationbarAttribute ( ) : nsIDOMBarProp
GetMenubarAttribute ( ) : nsIDOMBarProp
GetMozAnimationStartTimeAttribute ( ) : int
GetMozInnerScreenXAttribute ( ) : float
GetMozInnerScreenYAttribute ( ) : float
GetMozPaintCountAttribute ( ) : uint
GetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
GetNavigatorAttribute ( ) : nsIDOMNavigator
GetOpenerAttribute ( ) : nsIDOMWindow
GetOuterHeightAttribute ( ) : int
GetOuterWidthAttribute ( ) : int
GetPageXOffsetAttribute ( ) : int
GetPageYOffsetAttribute ( ) : int
GetParentAttribute ( ) : nsIDOMWindow
GetPersonalbarAttribute ( ) : nsIDOMBarProp
GetPkcs11Attribute ( ) : nsIDOMPkcs11
GetPrompterAttribute ( ) : nsIPrompt
GetScreenAttribute ( ) : nsIDOMScreen
GetScreenXAttribute ( ) : int
GetScreenYAttribute ( ) : int
GetScrollMaxXAttribute ( ) : int
GetScrollMaxYAttribute ( ) : int
GetScrollXAttribute ( ) : int
GetScrollYAttribute ( ) : int
GetScrollbarsAttribute ( ) : nsIDOMBarProp
GetSelection ( ) : nsISelection
GetSelfAttribute ( ) : nsIDOMWindow
GetSessionStorageAttribute ( ) : nsIDOMStorage
GetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
GetStatusbarAttribute ( ) : nsIDOMBarProp
GetTextZoomAttribute ( ) : float
GetToolbarAttribute ( ) : nsIDOMBarProp
GetTopAttribute ( ) : nsIDOMWindow
GetURLAttribute ( ) : nsIDOMMozURLProperty
GetWindowAttribute ( ) : nsIDOMWindow
GetWindowRootAttribute ( ) : nsIDOMEventTarget
Home ( ) : void
MatchMedia ( Skybound.Gecko.nsAString media_query_list ) : nsIDOMMediaQueryList
MoveBy ( int xDif, int yDif ) : void
MoveTo ( int xPos, int yPos ) : void
MozRequestAnimationFrame ( nsIAnimationFrameListener aListener ) : void
Open ( Skybound.Gecko.nsAString url, Skybound.Gecko.nsAString name, Skybound.Gecko.nsAString options ) : nsIDOMWindow
OpenDialog ( Skybound.Gecko.nsAString url, Skybound.Gecko.nsAString name, Skybound.Gecko.nsAString options, nsISupports aExtraArgument ) : nsIDOMWindow
PostMessage ( IntPtr message, Skybound.Gecko.nsAString targetOrigin ) : void
Print ( ) : void
Prompt ( Skybound.Gecko.nsAString aMessage, Skybound.Gecko.nsAString aInitial, Skybound.Gecko.nsAString retval ) : void
ResizeBy ( int widthDif, int heightDif ) : void
ResizeTo ( int width, int height ) : void
Scroll ( int xScroll, int yScroll ) : void
ScrollBy ( int xScrollDif, int yScrollDif ) : void
ScrollByLines ( int numLines ) : void
ScrollByPages ( int numPages ) : void
ScrollTo ( int xScroll, int yScroll ) : void
SetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
SetFullScreenAttribute ( bool aFullScreen ) : void
SetInnerHeightAttribute ( int aInnerHeight ) : void
SetInnerWidthAttribute ( int aInnerWidth ) : void
SetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
SetOpenerAttribute ( nsIDOMWindow aOpener ) : void
SetOuterHeightAttribute ( int aOuterHeight ) : void
SetOuterWidthAttribute ( int aOuterWidth ) : void
SetScreenXAttribute ( int aScreenX ) : void
SetScreenYAttribute ( int aScreenY ) : void
SetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
SetTextZoomAttribute ( float aTextZoom ) : void
ShowModalDialog ( Skybound.Gecko.nsAString aURI, nsIVariant aArgs, Skybound.Gecko.nsAString aOptions ) : nsIVariant
SizeToContent ( ) : void
Stop ( ) : void
UpdateCommands ( Skybound.Gecko.nsAString action ) : void

Method Details

Alert() public method

public Alert ( Skybound.Gecko.nsAString text ) : void
text Skybound.Gecko.nsAString
return void

Atob() public method

public Atob ( Skybound.Gecko.nsAString aAsciiString, Skybound.Gecko.nsAString retval ) : void
aAsciiString Skybound.Gecko.nsAString
retval Skybound.Gecko.nsAString
return void

Back() public method

public Back ( ) : void
return void

Blur() public method

public Blur ( ) : void
return void

Btoa() public method

public Btoa ( Skybound.Gecko.nsAString aBase64Data, Skybound.Gecko.nsAString retval ) : void
aBase64Data Skybound.Gecko.nsAString
retval Skybound.Gecko.nsAString
return void

Close() public method

public Close ( ) : void
return void

Confirm() public method

public Confirm ( Skybound.Gecko.nsAString text ) : bool
text Skybound.Gecko.nsAString
return bool

Find() public method

public Find ( Skybound.Gecko.nsAString str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog ) : bool
str Skybound.Gecko.nsAString
caseSensitive bool
backwards bool
wrapAround bool
wholeWord bool
searchInFrames bool
showDialog bool
return bool

Focus() public method

public Focus ( ) : void
return void

Forward() public method

public Forward ( ) : void
return void

GetApplicationCacheAttribute() public method

public GetApplicationCacheAttribute ( ) : nsIDOMOfflineResourceList
return nsIDOMOfflineResourceList

GetClosedAttribute() public method

public GetClosedAttribute ( ) : bool
return bool

GetComputedStyle() public method

public GetComputedStyle ( nsIDOMElement elt, Skybound.Gecko.nsAString pseudoElt ) : nsIDOMCSSStyleDeclaration
elt nsIDOMElement
pseudoElt Skybound.Gecko.nsAString
return nsIDOMCSSStyleDeclaration

GetContentAttribute() public method

public GetContentAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetControllersAttribute() public method

public GetControllersAttribute ( ) : nsIControllers
return nsIControllers

GetCryptoAttribute() public method

public GetCryptoAttribute ( ) : nsIDOMCrypto
return nsIDOMCrypto

GetDefaultStatusAttribute() public method

public GetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
aDefaultStatus Skybound.Gecko.nsAString
return void

GetDocumentAttribute() public method

public GetDocumentAttribute ( ) : nsIDOMDocument
return nsIDOMDocument

GetFrameElementAttribute() public method

public GetFrameElementAttribute ( ) : nsIDOMElement
return nsIDOMElement

GetFramesAttribute() public method

public GetFramesAttribute ( ) : nsIDOMWindowCollection
return nsIDOMWindowCollection

GetFullScreenAttribute() public method

public GetFullScreenAttribute ( ) : bool
return bool

GetGlobalStorageAttribute() public method

public GetGlobalStorageAttribute ( ) : nsIDOMStorageList
return nsIDOMStorageList

GetHistoryAttribute() public method

public GetHistoryAttribute ( ) : nsIDOMHistory
return nsIDOMHistory

GetInnerHeightAttribute() public method

public GetInnerHeightAttribute ( ) : int
return int

GetInnerWidthAttribute() public method

public GetInnerWidthAttribute ( ) : int
return int

GetLengthAttribute() public method

public GetLengthAttribute ( ) : uint
return uint

GetLocalStorageAttribute() public method

public GetLocalStorageAttribute ( ) : nsIDOMStorage
return nsIDOMStorage

GetLocationAttribute() public method

public GetLocationAttribute ( ) : nsIDOMLocation
return nsIDOMLocation

GetLocationbarAttribute() public method

public GetLocationbarAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetMenubarAttribute() public method

public GetMenubarAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetMozAnimationStartTimeAttribute() public method

public GetMozAnimationStartTimeAttribute ( ) : int
return int

GetMozInnerScreenXAttribute() public method

public GetMozInnerScreenXAttribute ( ) : float
return float

GetMozInnerScreenYAttribute() public method

public GetMozInnerScreenYAttribute ( ) : float
return float

GetMozPaintCountAttribute() public method

public GetMozPaintCountAttribute ( ) : uint
return uint

GetNameAttribute() public method

public GetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
aName Skybound.Gecko.nsAString
return void

GetNavigatorAttribute() public method

public GetNavigatorAttribute ( ) : nsIDOMNavigator
return nsIDOMNavigator

GetOpenerAttribute() public method

public GetOpenerAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetOuterHeightAttribute() public method

public GetOuterHeightAttribute ( ) : int
return int

GetOuterWidthAttribute() public method

public GetOuterWidthAttribute ( ) : int
return int

GetPageXOffsetAttribute() public method

public GetPageXOffsetAttribute ( ) : int
return int

GetPageYOffsetAttribute() public method

public GetPageYOffsetAttribute ( ) : int
return int

GetParentAttribute() public method

public GetParentAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetPersonalbarAttribute() public method

public GetPersonalbarAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetPkcs11Attribute() public method

public GetPkcs11Attribute ( ) : nsIDOMPkcs11
return nsIDOMPkcs11

GetPrompterAttribute() public method

public GetPrompterAttribute ( ) : nsIPrompt
return nsIPrompt

GetScreenAttribute() public method

public GetScreenAttribute ( ) : nsIDOMScreen
return nsIDOMScreen

GetScreenXAttribute() public method

public GetScreenXAttribute ( ) : int
return int

GetScreenYAttribute() public method

public GetScreenYAttribute ( ) : int
return int

GetScrollMaxXAttribute() public method

public GetScrollMaxXAttribute ( ) : int
return int

GetScrollMaxYAttribute() public method

public GetScrollMaxYAttribute ( ) : int
return int

GetScrollXAttribute() public method

public GetScrollXAttribute ( ) : int
return int

GetScrollYAttribute() public method

public GetScrollYAttribute ( ) : int
return int

GetScrollbarsAttribute() public method

public GetScrollbarsAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetSelection() public method

public GetSelection ( ) : nsISelection
return nsISelection

GetSelfAttribute() public method

public GetSelfAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetSessionStorageAttribute() public method

public GetSessionStorageAttribute ( ) : nsIDOMStorage
return nsIDOMStorage

GetStatusAttribute() public method

public GetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
aStatus Skybound.Gecko.nsAString
return void

GetStatusbarAttribute() public method

public GetStatusbarAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetTextZoomAttribute() public method

public GetTextZoomAttribute ( ) : float
return float

GetToolbarAttribute() public method

public GetToolbarAttribute ( ) : nsIDOMBarProp
return nsIDOMBarProp

GetTopAttribute() public method

public GetTopAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetURLAttribute() public method

public GetURLAttribute ( ) : nsIDOMMozURLProperty
return nsIDOMMozURLProperty

GetWindowAttribute() public method

public GetWindowAttribute ( ) : nsIDOMWindow
return nsIDOMWindow

GetWindowRootAttribute() public method

public GetWindowRootAttribute ( ) : nsIDOMEventTarget
return nsIDOMEventTarget

Home() public method

public Home ( ) : void
return void

MatchMedia() public method

public MatchMedia ( Skybound.Gecko.nsAString media_query_list ) : nsIDOMMediaQueryList
media_query_list Skybound.Gecko.nsAString
return nsIDOMMediaQueryList

MoveBy() public method

public MoveBy ( int xDif, int yDif ) : void
xDif int
yDif int
return void

MoveTo() public method

public MoveTo ( int xPos, int yPos ) : void
xPos int
yPos int
return void

MozRequestAnimationFrame() public method

public MozRequestAnimationFrame ( nsIAnimationFrameListener aListener ) : void
aListener nsIAnimationFrameListener
return void

Open() public method

public Open ( Skybound.Gecko.nsAString url, Skybound.Gecko.nsAString name, Skybound.Gecko.nsAString options ) : nsIDOMWindow
url Skybound.Gecko.nsAString
name Skybound.Gecko.nsAString
options Skybound.Gecko.nsAString
return nsIDOMWindow

OpenDialog() public method

public OpenDialog ( Skybound.Gecko.nsAString url, Skybound.Gecko.nsAString name, Skybound.Gecko.nsAString options, nsISupports aExtraArgument ) : nsIDOMWindow
url Skybound.Gecko.nsAString
name Skybound.Gecko.nsAString
options Skybound.Gecko.nsAString
aExtraArgument nsISupports
return nsIDOMWindow

PostMessage() public method

public PostMessage ( IntPtr message, Skybound.Gecko.nsAString targetOrigin ) : void
message System.IntPtr
targetOrigin Skybound.Gecko.nsAString
return void

Print() public method

public Print ( ) : void
return void

Prompt() public method

public Prompt ( Skybound.Gecko.nsAString aMessage, Skybound.Gecko.nsAString aInitial, Skybound.Gecko.nsAString retval ) : void
aMessage Skybound.Gecko.nsAString
aInitial Skybound.Gecko.nsAString
retval Skybound.Gecko.nsAString
return void

ResizeBy() public method

public ResizeBy ( int widthDif, int heightDif ) : void
widthDif int
heightDif int
return void

ResizeTo() public method

public ResizeTo ( int width, int height ) : void
width int
height int
return void

Scroll() public method

public Scroll ( int xScroll, int yScroll ) : void
xScroll int
yScroll int
return void

ScrollBy() public method

public ScrollBy ( int xScrollDif, int yScrollDif ) : void
xScrollDif int
yScrollDif int
return void

ScrollByLines() public method

public ScrollByLines ( int numLines ) : void
numLines int
return void

ScrollByPages() public method

public ScrollByPages ( int numPages ) : void
numPages int
return void

ScrollTo() public method

public ScrollTo ( int xScroll, int yScroll ) : void
xScroll int
yScroll int
return void

SetDefaultStatusAttribute() public method

public SetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
aDefaultStatus Skybound.Gecko.nsAString
return void

SetFullScreenAttribute() public method

public SetFullScreenAttribute ( bool aFullScreen ) : void
aFullScreen bool
return void

SetInnerHeightAttribute() public method

public SetInnerHeightAttribute ( int aInnerHeight ) : void
aInnerHeight int
return void

SetInnerWidthAttribute() public method

public SetInnerWidthAttribute ( int aInnerWidth ) : void
aInnerWidth int
return void

SetNameAttribute() public method

public SetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
aName Skybound.Gecko.nsAString
return void

SetOpenerAttribute() public method

public SetOpenerAttribute ( nsIDOMWindow aOpener ) : void
aOpener nsIDOMWindow
return void

SetOuterHeightAttribute() public method

public SetOuterHeightAttribute ( int aOuterHeight ) : void
aOuterHeight int
return void

SetOuterWidthAttribute() public method

public SetOuterWidthAttribute ( int aOuterWidth ) : void
aOuterWidth int
return void

SetScreenXAttribute() public method

public SetScreenXAttribute ( int aScreenX ) : void
aScreenX int
return void

SetScreenYAttribute() public method

public SetScreenYAttribute ( int aScreenY ) : void
aScreenY int
return void

SetStatusAttribute() public method

public SetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
aStatus Skybound.Gecko.nsAString
return void

SetTextZoomAttribute() public method

public SetTextZoomAttribute ( float aTextZoom ) : void
aTextZoom float
return void

ShowModalDialog() public method

public ShowModalDialog ( Skybound.Gecko.nsAString aURI, nsIVariant aArgs, Skybound.Gecko.nsAString aOptions ) : nsIVariant
aURI Skybound.Gecko.nsAString
aArgs nsIVariant
aOptions Skybound.Gecko.nsAString
return nsIVariant

SizeToContent() public method

public SizeToContent ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UpdateCommands() public method

public UpdateCommands ( Skybound.Gecko.nsAString action ) : void
action Skybound.Gecko.nsAString
return void