C# Class GeckofxUnitTests.MockDOMWindow

Inheritance: nsIDOMWindow
Afficher le fichier Open project: tophatmonocle/DirtyGecko Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Alert ( Skybound.Gecko.nsAString text ) : void
text Skybound.Gecko.nsAString
Résultat void

Atob() public méthode

public Atob ( Skybound.Gecko.nsAString aAsciiString, Skybound.Gecko.nsAString retval ) : void
aAsciiString Skybound.Gecko.nsAString
retval Skybound.Gecko.nsAString
Résultat void

Back() public méthode

public Back ( ) : void
Résultat void

Blur() public méthode

public Blur ( ) : void
Résultat void

Btoa() public méthode

public Btoa ( Skybound.Gecko.nsAString aBase64Data, Skybound.Gecko.nsAString retval ) : void
aBase64Data Skybound.Gecko.nsAString
retval Skybound.Gecko.nsAString
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Confirm() public méthode

public Confirm ( Skybound.Gecko.nsAString text ) : bool
text Skybound.Gecko.nsAString
Résultat bool

Find() public méthode

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
Résultat bool

Focus() public méthode

public Focus ( ) : void
Résultat void

Forward() public méthode

public Forward ( ) : void
Résultat void

GetApplicationCacheAttribute() public méthode

public GetApplicationCacheAttribute ( ) : nsIDOMOfflineResourceList
Résultat nsIDOMOfflineResourceList

GetClosedAttribute() public méthode

public GetClosedAttribute ( ) : bool
Résultat bool

GetComputedStyle() public méthode

public GetComputedStyle ( nsIDOMElement elt, Skybound.Gecko.nsAString pseudoElt ) : nsIDOMCSSStyleDeclaration
elt nsIDOMElement
pseudoElt Skybound.Gecko.nsAString
Résultat nsIDOMCSSStyleDeclaration

GetContentAttribute() public méthode

public GetContentAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetControllersAttribute() public méthode

public GetControllersAttribute ( ) : nsIControllers
Résultat nsIControllers

GetCryptoAttribute() public méthode

public GetCryptoAttribute ( ) : nsIDOMCrypto
Résultat nsIDOMCrypto

GetDefaultStatusAttribute() public méthode

public GetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
aDefaultStatus Skybound.Gecko.nsAString
Résultat void

GetDocumentAttribute() public méthode

public GetDocumentAttribute ( ) : nsIDOMDocument
Résultat nsIDOMDocument

GetFrameElementAttribute() public méthode

public GetFrameElementAttribute ( ) : nsIDOMElement
Résultat nsIDOMElement

GetFramesAttribute() public méthode

public GetFramesAttribute ( ) : nsIDOMWindowCollection
Résultat nsIDOMWindowCollection

GetFullScreenAttribute() public méthode

public GetFullScreenAttribute ( ) : bool
Résultat bool

GetGlobalStorageAttribute() public méthode

public GetGlobalStorageAttribute ( ) : nsIDOMStorageList
Résultat nsIDOMStorageList

GetHistoryAttribute() public méthode

public GetHistoryAttribute ( ) : nsIDOMHistory
Résultat nsIDOMHistory

GetInnerHeightAttribute() public méthode

public GetInnerHeightAttribute ( ) : int
Résultat int

GetInnerWidthAttribute() public méthode

public GetInnerWidthAttribute ( ) : int
Résultat int

GetLengthAttribute() public méthode

public GetLengthAttribute ( ) : uint
Résultat uint

GetLocalStorageAttribute() public méthode

public GetLocalStorageAttribute ( ) : nsIDOMStorage
Résultat nsIDOMStorage

GetLocationAttribute() public méthode

public GetLocationAttribute ( ) : nsIDOMLocation
Résultat nsIDOMLocation

GetLocationbarAttribute() public méthode

public GetLocationbarAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetMenubarAttribute() public méthode

public GetMenubarAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetMozAnimationStartTimeAttribute() public méthode

public GetMozAnimationStartTimeAttribute ( ) : int
Résultat int

GetMozInnerScreenXAttribute() public méthode

public GetMozInnerScreenXAttribute ( ) : float
Résultat float

GetMozInnerScreenYAttribute() public méthode

public GetMozInnerScreenYAttribute ( ) : float
Résultat float

GetMozPaintCountAttribute() public méthode

public GetMozPaintCountAttribute ( ) : uint
Résultat uint

GetNameAttribute() public méthode

public GetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
aName Skybound.Gecko.nsAString
Résultat void

GetNavigatorAttribute() public méthode

public GetNavigatorAttribute ( ) : nsIDOMNavigator
Résultat nsIDOMNavigator

GetOpenerAttribute() public méthode

public GetOpenerAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetOuterHeightAttribute() public méthode

public GetOuterHeightAttribute ( ) : int
Résultat int

GetOuterWidthAttribute() public méthode

public GetOuterWidthAttribute ( ) : int
Résultat int

GetPageXOffsetAttribute() public méthode

public GetPageXOffsetAttribute ( ) : int
Résultat int

GetPageYOffsetAttribute() public méthode

public GetPageYOffsetAttribute ( ) : int
Résultat int

GetParentAttribute() public méthode

public GetParentAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetPersonalbarAttribute() public méthode

public GetPersonalbarAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetPkcs11Attribute() public méthode

public GetPkcs11Attribute ( ) : nsIDOMPkcs11
Résultat nsIDOMPkcs11

GetPrompterAttribute() public méthode

public GetPrompterAttribute ( ) : nsIPrompt
Résultat nsIPrompt

GetScreenAttribute() public méthode

public GetScreenAttribute ( ) : nsIDOMScreen
Résultat nsIDOMScreen

GetScreenXAttribute() public méthode

public GetScreenXAttribute ( ) : int
Résultat int

GetScreenYAttribute() public méthode

public GetScreenYAttribute ( ) : int
Résultat int

GetScrollMaxXAttribute() public méthode

public GetScrollMaxXAttribute ( ) : int
Résultat int

GetScrollMaxYAttribute() public méthode

public GetScrollMaxYAttribute ( ) : int
Résultat int

GetScrollXAttribute() public méthode

public GetScrollXAttribute ( ) : int
Résultat int

GetScrollYAttribute() public méthode

public GetScrollYAttribute ( ) : int
Résultat int

GetScrollbarsAttribute() public méthode

public GetScrollbarsAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetSelection() public méthode

public GetSelection ( ) : nsISelection
Résultat nsISelection

GetSelfAttribute() public méthode

public GetSelfAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetSessionStorageAttribute() public méthode

public GetSessionStorageAttribute ( ) : nsIDOMStorage
Résultat nsIDOMStorage

GetStatusAttribute() public méthode

public GetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
aStatus Skybound.Gecko.nsAString
Résultat void

GetStatusbarAttribute() public méthode

public GetStatusbarAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetTextZoomAttribute() public méthode

public GetTextZoomAttribute ( ) : float
Résultat float

GetToolbarAttribute() public méthode

public GetToolbarAttribute ( ) : nsIDOMBarProp
Résultat nsIDOMBarProp

GetTopAttribute() public méthode

public GetTopAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetURLAttribute() public méthode

public GetURLAttribute ( ) : nsIDOMMozURLProperty
Résultat nsIDOMMozURLProperty

GetWindowAttribute() public méthode

public GetWindowAttribute ( ) : nsIDOMWindow
Résultat nsIDOMWindow

GetWindowRootAttribute() public méthode

public GetWindowRootAttribute ( ) : nsIDOMEventTarget
Résultat nsIDOMEventTarget

Home() public méthode

public Home ( ) : void
Résultat void

MatchMedia() public méthode

public MatchMedia ( Skybound.Gecko.nsAString media_query_list ) : nsIDOMMediaQueryList
media_query_list Skybound.Gecko.nsAString
Résultat nsIDOMMediaQueryList

MoveBy() public méthode

public MoveBy ( int xDif, int yDif ) : void
xDif int
yDif int
Résultat void

MoveTo() public méthode

public MoveTo ( int xPos, int yPos ) : void
xPos int
yPos int
Résultat void

MozRequestAnimationFrame() public méthode

public MozRequestAnimationFrame ( nsIAnimationFrameListener aListener ) : void
aListener nsIAnimationFrameListener
Résultat void

Open() public méthode

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
Résultat nsIDOMWindow

OpenDialog() public méthode

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
Résultat nsIDOMWindow

PostMessage() public méthode

public PostMessage ( IntPtr message, Skybound.Gecko.nsAString targetOrigin ) : void
message System.IntPtr
targetOrigin Skybound.Gecko.nsAString
Résultat void

Print() public méthode

public Print ( ) : void
Résultat void

Prompt() public méthode

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
Résultat void

ResizeBy() public méthode

public ResizeBy ( int widthDif, int heightDif ) : void
widthDif int
heightDif int
Résultat void

ResizeTo() public méthode

public ResizeTo ( int width, int height ) : void
width int
height int
Résultat void

Scroll() public méthode

public Scroll ( int xScroll, int yScroll ) : void
xScroll int
yScroll int
Résultat void

ScrollBy() public méthode

public ScrollBy ( int xScrollDif, int yScrollDif ) : void
xScrollDif int
yScrollDif int
Résultat void

ScrollByLines() public méthode

public ScrollByLines ( int numLines ) : void
numLines int
Résultat void

ScrollByPages() public méthode

public ScrollByPages ( int numPages ) : void
numPages int
Résultat void

ScrollTo() public méthode

public ScrollTo ( int xScroll, int yScroll ) : void
xScroll int
yScroll int
Résultat void

SetDefaultStatusAttribute() public méthode

public SetDefaultStatusAttribute ( Skybound.Gecko.nsAString aDefaultStatus ) : void
aDefaultStatus Skybound.Gecko.nsAString
Résultat void

SetFullScreenAttribute() public méthode

public SetFullScreenAttribute ( bool aFullScreen ) : void
aFullScreen bool
Résultat void

SetInnerHeightAttribute() public méthode

public SetInnerHeightAttribute ( int aInnerHeight ) : void
aInnerHeight int
Résultat void

SetInnerWidthAttribute() public méthode

public SetInnerWidthAttribute ( int aInnerWidth ) : void
aInnerWidth int
Résultat void

SetNameAttribute() public méthode

public SetNameAttribute ( Skybound.Gecko.nsAString aName ) : void
aName Skybound.Gecko.nsAString
Résultat void

SetOpenerAttribute() public méthode

public SetOpenerAttribute ( nsIDOMWindow aOpener ) : void
aOpener nsIDOMWindow
Résultat void

SetOuterHeightAttribute() public méthode

public SetOuterHeightAttribute ( int aOuterHeight ) : void
aOuterHeight int
Résultat void

SetOuterWidthAttribute() public méthode

public SetOuterWidthAttribute ( int aOuterWidth ) : void
aOuterWidth int
Résultat void

SetScreenXAttribute() public méthode

public SetScreenXAttribute ( int aScreenX ) : void
aScreenX int
Résultat void

SetScreenYAttribute() public méthode

public SetScreenYAttribute ( int aScreenY ) : void
aScreenY int
Résultat void

SetStatusAttribute() public méthode

public SetStatusAttribute ( Skybound.Gecko.nsAString aStatus ) : void
aStatus Skybound.Gecko.nsAString
Résultat void

SetTextZoomAttribute() public méthode

public SetTextZoomAttribute ( float aTextZoom ) : void
aTextZoom float
Résultat void

ShowModalDialog() public méthode

public ShowModalDialog ( Skybound.Gecko.nsAString aURI, nsIVariant aArgs, Skybound.Gecko.nsAString aOptions ) : nsIVariant
aURI Skybound.Gecko.nsAString
aArgs nsIVariant
aOptions Skybound.Gecko.nsAString
Résultat nsIVariant

SizeToContent() public méthode

public SizeToContent ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UpdateCommands() public méthode

public UpdateCommands ( Skybound.Gecko.nsAString action ) : void
action Skybound.Gecko.nsAString
Résultat void