Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f0b86d06
Commit
f0b86d06
authored
Mar 15, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of PRBool in nsiface.idl.
parent
c25b0718
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
377 additions
and
376 deletions
+377
-376
nsiface.idl
dlls/mshtml/nsiface.idl
+377
-376
No files found.
dlls/mshtml/nsiface.idl
View file @
f0b86d06
...
...
@@ -48,13 +48,14 @@ typedef LONG PRInt32;
typedef
WORD
PRUint16
;
typedef
INT16
PRInt16
;
typedef
BYTE
PRUint8
;
typedef
unsigned
char
PRBool
;
typedef
LONGLONG
PRInt64
;
typedef
ULONGLONG
PRUint64
;
typedef
PRUint64
DOMTimeStamp
;
typedef
PRUint32
nsLoadFlags
;
#
define
bool
PRBool
typedef
unsigned
char
cpp_bool
;
#
define
bool
cpp_bool
cpp_quote
(
"#define PRBool cpp_bool"
)
/*
FIXME
*/
typedef
struct
{
void
*
v
;
...
...
@@ -203,7 +204,7 @@ interface nsIServiceManager : nsISupports
interface nsIFactory : nsISupports
{
nsresult CreateInstance(nsISupports *aOuter, const nsIID *iid, void **result);
nsresult LockFactory(
PRB
ool lock);
nsresult LockFactory(
b
ool lock);
}
[
...
...
@@ -233,8 +234,8 @@ interface nsIMemory : nsISupports
void *Alloc(/*size_t*/ int size);
void *Realloc(void *_ptr, /*size_t*/ int newSize);
void Free(void *_ptr);
nsresult HeapMinimize(
PRB
ool immediate);
nsresult IsLowMemory(
PRB
ool *_retval);
nsresult HeapMinimize(
b
ool immediate);
nsresult IsLowMemory(
b
ool *_retval);
}
[
...
...
@@ -284,7 +285,7 @@ interface nsIRunnable : nsISupports
]
interface nsISimpleEnumerator : nsISupports
{
nsresult HasMoreElements(
PRB
ool *_retval);
nsresult HasMoreElements(
b
ool *_retval);
nsresult GetNext(nsISupports **_retval);
}
...
...
@@ -306,7 +307,7 @@ interface nsIVariant : nsISupports
nsresult GetAsUint64(PRUint64 *_retval);
nsresult GetAsFloat(float *_retval);
nsresult GetAsDouble(double *_retval);
nsresult GetAsBool(
PRB
ool *_retval);
nsresult GetAsBool(
b
ool *_retval);
nsresult GetAsChar(char *_retval);
nsresult GetAsWChar(PRUnichar *_retval);
nsresult GetAsID(nsID *retval);
...
...
@@ -331,8 +332,8 @@ interface nsIVariant : nsISupports
]
interface nsIWritableVariant : nsIVariant
{
nsresult GetWritable(
PRB
ool *aWritable);
nsresult SetWritable(
PRB
ool aWritable);
nsresult GetWritable(
b
ool *aWritable);
nsresult SetWritable(
b
ool aWritable);
nsresult SetAsInt8(PRUint8 aValue);
nsresult SetAsInt16(PRInt16 aValue);
nsresult SetAsInt32(PRInt32 aValue);
...
...
@@ -343,7 +344,7 @@ interface nsIWritableVariant : nsIVariant
nsresult SetAsUint64(PRUint64 aValue);
nsresult SetAsFloat(float aValue);
nsresult SetAsDouble(double aValue);
nsresult SetAsBool(
PRB
ool aValue);
nsresult SetAsBool(
b
ool aValue);
nsresult SetAsChar(char aValue);
nsresult SetAsWChar(PRUnichar aValue);
nsresult SetAsID(const nsID *aValue);
...
...
@@ -378,7 +379,7 @@ interface nsIInputStream : nsISupports
void *aClosure, const char *aFromSegment, PRUint32 aToOffset,
PRUint32 aCount, PRUint32 *aWriteCount),
void *aClosure, PRUint32 aCount, PRUint32 *_retval);
nsresult IsNonBlocking(
PRB
ool *_retval);
nsresult IsNonBlocking(
b
ool *_retval);
}
[
...
...
@@ -407,8 +408,8 @@ interface nsIURI : nsISupports
nsresult SetPort(PRInt32 aPort);
nsresult GetPath(nsACString *aPath);
nsresult SetPath(const nsACString *aPath);
nsresult Equals(nsIURI *other,
PRB
ool *_retval);
nsresult SchemeIs(const char *scheme,
PRB
ool *_retval);
nsresult Equals(nsIURI *other,
b
ool *_retval);
nsresult SchemeIs(const char *scheme,
b
ool *_retval);
nsresult Clone(nsIURI **_retval);
nsresult Resolve(const nsACString *relativePath, nsACString *_retval);
nsresult GetAsciiSpec(nsACString *aAsciiSpec);
...
...
@@ -416,10 +417,10 @@ interface nsIURI : nsISupports
nsresult GetOriginCharset(nsACString *aOriginCharset);
nsresult GetRef(nsACString *aRef);
nsresult SetRef(const nsACString *aRef);
nsresult EqualsExceptRef(nsIURI *other,
PRB
ool *_retval);
nsresult EqualsExceptRef(nsIURI *other,
b
ool *_retval);
nsresult CloneIgnoringRef(nsIURI **_retval);
nsresult GetSpecIgnoringRef(nsACString *aSpecIgnoringRef);
nsresult GetHasRef(
PRB
ool *aHasRef);
nsresult GetHasRef(
b
ool *aHasRef);
}
[
...
...
@@ -452,8 +453,8 @@ interface nsIURL : nsIURI
]
interface nsIMutable : nsISupports
{
nsresult GetMutable(
PRB
ool *aMutable);
nsresult SetMutable(
PRB
ool aMutable);
nsresult GetMutable(
b
ool *aMutable);
nsresult SetMutable(
b
ool aMutable);
}
[
...
...
@@ -474,7 +475,7 @@ interface nsIStandardURL : nsIMutable
interface nsIRequest : nsISupports
{
nsresult GetName(nsACString *aName);
nsresult IsPending(
PRB
ool *_retval);
nsresult IsPending(
b
ool *_retval);
nsresult GetStatus(nsresult *aStatus);
nsresult Cancel(nsresult aStatus);
nsresult Suspend();
...
...
@@ -576,20 +577,20 @@ interface nsIHttpChannel : nsIChannel
nsresult GetReferrer(nsIURI **aReferrer);
nsresult SetReferrer(nsIURI *aReferrer);
nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval);
nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue,
PRB
ool aMerge);
nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue,
b
ool aMerge);
nsresult VisitRequestHeaders(nsIHttpHeaderVisitor *aVisitor);
nsresult GetAllowPipelining(
PRB
ool *aAllowPipelining);
nsresult SetAllowPipelining(
PRB
ool aAllowPipelining);
nsresult GetAllowPipelining(
b
ool *aAllowPipelining);
nsresult SetAllowPipelining(
b
ool aAllowPipelining);
nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit);
nsresult SetRedirectionLimit(PRUint32 aRedirectionLimit);
nsresult GetResponseStatus(PRUint32 *aResponseStatus);
nsresult GetResponseStatusText(nsACString *aResponseStatusText);
nsresult GetRequestSucceeded(
PRB
ool *aRequestSucceeded);
nsresult GetRequestSucceeded(
b
ool *aRequestSucceeded);
nsresult GetResponseHeader(const nsACString *header, nsACString *_retval);
nsresult SetResponseHeader(const nsACString *header, const nsACString *value,
PRB
ool merge);
nsresult SetResponseHeader(const nsACString *header, const nsACString *value,
b
ool merge);
nsresult VisitResponseHeaders(nsIHttpHeaderVisitor *aVisitor);
nsresult IsNoStoreResponse(
PRB
ool *_retval);
nsresult IsNoCacheResponse(
PRB
ool *_retval);
nsresult IsNoStoreResponse(
b
ool *_retval);
nsresult IsNoCacheResponse(
b
ool *_retval);
}
[
...
...
@@ -605,19 +606,19 @@ interface nsIHttpChannelInternal : nsISupports
nsresult GetResponseVersion(PRUint32 *major, PRUint32 *minor);
nsresult SetCookie(const char *aCookieHeader);
nsresult SetupFallbackChannel(const char *aFallbackKey);
nsresult GetForceAllowThirdPartyCookie(
PRB
ool *aForceAllowThirdPartyCookie);
nsresult SetForceAllowThirdPartyCookie(
PRB
ool aForceAllowThirdPartyCookie);
nsresult GetCanceled(
PRB
ool *aCanceled);
nsresult GetChannelIsForDownload(
PRB
ool *aChannelIsForDownload);
nsresult SetChannelIsForDownload(
PRB
ool aChannelIsForDownload);
nsresult GetForceAllowThirdPartyCookie(
b
ool *aForceAllowThirdPartyCookie);
nsresult SetForceAllowThirdPartyCookie(
b
ool aForceAllowThirdPartyCookie);
nsresult GetCanceled(
b
ool *aCanceled);
nsresult GetChannelIsForDownload(
b
ool *aChannelIsForDownload);
nsresult SetChannelIsForDownload(
b
ool aChannelIsForDownload);
nsresult GetLocalAddress(nsACString *aLocalAddress);
nsresult GetLocalPort(PRInt32 *aLocalPort);
nsresult GetRemoteAddress(nsACString *aRemoteAddress);
nsresult GetRemotePort(PRInt32 *aRemotePort);
nsresult SetCacheKeysRedirectChain(void /*nsTArray<nsCString>*/ *cacheKeys);
nsresult HTTPUpgrade(const nsACString *aProtocolName, nsIHttpUpgradeListener *aListener);
nsresult GetAllowSpdy(
PRB
ool *aAllowSpdy);
nsresult SetAllowSpdy(
PRB
ool aAllowSpdy);
nsresult GetAllowSpdy(
b
ool *aAllowSpdy);
nsresult SetAllowSpdy(
b
ool aAllowSpdy);
}
[
...
...
@@ -680,7 +681,7 @@ interface nsIDOMLocation : nsISupports
nsresult SetProtocol(const nsAString *aProtocol);
nsresult GetSearch(nsAString *aSearch);
nsresult SetSearch(const nsAString *aSearch);
nsresult Reload(
PRB
ool forceget);
nsresult Reload(
b
ool forceget);
nsresult Replace(const nsAString *url);
nsresult Assign(const nsAString *url);
nsresult ToString(nsAString *_retval);
...
...
@@ -739,8 +740,8 @@ interface nsIDOMCSSRuleList : nsISupports
interface nsIDOMStyleSheet : nsISupports
{
nsresult GetType(nsAString *aType);
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetOwnerNode(nsIDOMNode **aOwnerNode);
nsresult GetParentStyleSheet(nsIDOMStyleSheet **aParentStyleSheet);
nsresult GetHref(nsAString *aHref);
...
...
@@ -849,25 +850,25 @@ interface nsIDOMNode : nsISupports
nsresult
ReplaceChild
(
nsIDOMNode
*
newChild
,
nsIDOMNode
*
oldChild
,
nsIDOMNode
**
_retval
)
;
nsresult
RemoveChild
(
nsIDOMNode
*
oldChild
,
nsIDOMNode
**
_retval
)
;
nsresult
AppendChild
(
nsIDOMNode
*
newChild
,
nsIDOMNode
**
_retval
)
;
nsresult
HasChildNodes
(
PRB
ool
*
_retval
)
;
nsresult
CloneNode
(
PRB
ool
deep
,
nsIDOMNode
**
_retval
)
;
nsresult
HasChildNodes
(
b
ool
*
_retval
)
;
nsresult
CloneNode
(
b
ool
deep
,
nsIDOMNode
**
_retval
)
;
nsresult
Normalize
()
;
nsresult
IsSupported
(
const
nsAString
*
feature
,
const
nsAString
*
version
,
PRB
ool
*
_retval
)
;
nsresult
IsSupported
(
const
nsAString
*
feature
,
const
nsAString
*
version
,
b
ool
*
_retval
)
;
nsresult
GetNamespaceURI
(
nsAString
*
aNamespaceURI
)
;
nsresult
GetPrefix
(
nsAString
*
aPrefix
)
;
nsresult
GetLocalName
(
nsAString
*
aLocalName
)
;
nsresult
HasAttributes
(
PRB
ool
*
_retval
)
;
nsresult
HasAttributes
(
b
ool
*
_retval
)
;
nsresult
GetDOMBaseURI
(
nsAString
*
aBaseURI
)
;
nsresult
CompareDocumentPosition
(
nsIDOMNode
*
other
,
PRUint16
*
_retval
)
;
nsresult
GetTextContent
(
nsAString
*
aTextContent
)
;
nsresult
SetTextContent
(
const
nsAString
*
aTextContent
)
;
nsresult
LookupPrefix
(
const
nsAString
*
namespaceURI
,
nsAString
*
_retval
)
;
nsresult
IsDefaultNamespace
(
const
nsAString
*
namespaceURI
,
PRB
ool
*
_retval
)
;
nsresult
IsDefaultNamespace
(
const
nsAString
*
namespaceURI
,
b
ool
*
_retval
)
;
nsresult
LookupNamespaceURI
(
const
nsAString
*
prefix
,
nsAString
*
_retval
)
;
nsresult
IsEqualNode
(
nsIDOMNode
*
arg
,
PRB
ool
*
_retval
)
;
nsresult
IsEqualNode
(
nsIDOMNode
*
arg
,
b
ool
*
_retval
)
;
nsresult
SetUserData
(
const
nsAString
*
key
,
nsIVariant
*
data
,
nsIDOMUserDataHandler
*
handler
,
nsIVariant
**
_retval
)
;
nsresult
GetUserData
(
const
nsAString
*
key
,
nsIVariant
**
_retval
)
;
nsresult
Contains
(
nsIDOMNode
*
aOther
,
PRB
ool
*
_retval
)
;
nsresult
Contains
(
nsIDOMNode
*
aOther
,
b
ool
*
_retval
)
;
}
[
...
...
@@ -878,11 +879,11 @@ interface nsIDOMNode : nsISupports
interface
nsIDOMAttr
:
nsIDOMNode
{
nsresult
GetName
(
nsAString
*
aName
)
;
nsresult
GetSpecified
(
PRB
ool
*
aSpecified
)
;
nsresult
GetSpecified
(
b
ool
*
aSpecified
)
;
nsresult
GetValue
(
nsAString
*
aValue
)
;
nsresult
SetValue
(
const
nsAString
*
aValue
)
;
nsresult
GetOwnerElement
(
nsIDOMElement
**
aOwnerElement
)
;
nsresult
GetIsId
(
PRB
ool
*
aIsId
)
;
nsresult
GetIsId
(
b
ool
*
aIsId
)
;
}
[
...
...
@@ -982,8 +983,8 @@ interface nsIDOMHTMLElement : nsIDOMElement
nsresult
GetClassName
(
nsAString
*
aClassName
)
;
nsresult
SetClassName
(
const
nsAString
*
aClassName
)
;
nsresult
GetDataset
(
nsIDOMDOMStringMap
**
aDataset
)
;
nsresult
GetHidden
(
PRB
ool
*
aHidden
)
;
nsresult
SetHidden
(
PRB
ool
aHidden
)
;
nsresult
GetHidden
(
b
ool
*
aHidden
)
;
nsresult
SetHidden
(
b
ool
aHidden
)
;
nsresult
Click
()
;
nsresult
GetTabIndex
(
PRInt32
*
aTabIndex
)
;
nsresult
SetTabIndex
(
PRInt32
aTabIndex
)
;
...
...
@@ -992,20 +993,20 @@ interface nsIDOMHTMLElement : nsIDOMElement
nsresult
GetAccessKey
(
nsAString
*
aAccessKey
)
;
nsresult
SetAccessKey
(
const
nsAString
*
aAccessKey
)
;
nsresult
GetAccessKeyLabel
(
nsAString
*
aAccessKeyLabel
)
;
nsresult
GetDraggable
(
PRB
ool
*
aDraggable
)
;
nsresult
SetDraggable
(
PRB
ool
aDraggable
)
;
nsresult
GetDraggable
(
b
ool
*
aDraggable
)
;
nsresult
SetDraggable
(
b
ool
aDraggable
)
;
nsresult
GetContentEditable
(
nsAString
*
aContentEditable
)
;
nsresult
SetContentEditable
(
const
nsAString
*
aContentEditable
)
;
nsresult
GetIsContentEditable
(
PRB
ool
*
aIsContentEditable
)
;
nsresult
GetIsContentEditable
(
b
ool
*
aIsContentEditable
)
;
nsresult
GetContextMenu
(
nsIDOMHTMLMenuElement
**
aContextMenu
)
;
nsresult
GetSpellcheck
(
PRB
ool
*
aSpellcheck
)
;
nsresult
SetSpellcheck
(
PRB
ool
aSpellcheck
)
;
nsresult
GetSpellcheck
(
b
ool
*
aSpellcheck
)
;
nsresult
SetSpellcheck
(
b
ool
aSpellcheck
)
;
nsresult
GetInnerHTML
(
nsAString
*
aInnerHTML
)
;
nsresult
SetInnerHTML
(
const
nsAString
*
aInnerHTML
)
;
nsresult
GetOuterHTML
(
nsAString
*
aInnerHTML
)
;
nsresult
SetOuterHTML
(
const
nsAString
*
aInnerHTML
)
;
nsresult
InsertAdjacentHTML
(
const
nsAString
*
position
,
const
nsAString
*
text
)
;
nsresult
ScrollIntoView
(
PRB
ool
top
,
PRUint8
_argc
)
;
nsresult
ScrollIntoView
(
b
ool
top
,
PRUint8
_argc
)
;
nsresult
GetOffsetParent
(
nsIDOMElement
*
*
aOffsetParent
)
;
nsresult
GetOffsetTop
(
PRInt32
*
aOffsetTop
)
;
nsresult
GetOffsetLeft
(
PRInt32
*
aOffsetLeft
)
;
...
...
@@ -1091,7 +1092,7 @@ interface nsIDOMDocument : nsIDOMNode
nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data, nsIDOMProcessingInstruction **_retval);
nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
nsresult ImportNode(nsIDOMNode *importedNode,
PRB
ool deep, PRUint8 _argc, nsIDOMNode **_retval);
nsresult ImportNode(nsIDOMNode *importedNode,
b
ool deep, PRUint8 _argc, nsIDOMNode **_retval);
nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMElement **_retval);
nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMAttr **_retval);
nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsIDOMNodeList **_retval);
...
...
@@ -1101,9 +1102,9 @@ interface nsIDOMDocument : nsIDOMNode
nsresult AdoptNode(nsIDOMNode *source, nsIDOMNode **_retval);
nsresult CreateRange(nsIDOMRange **_retval);
nsresult CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter,
PRB
ool entityReferenceExpansion, nsIDOMNodeIterator **_retval);
b
ool entityReferenceExpansion, nsIDOMNodeIterator **_retval);
nsresult CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter,
PRB
ool entityReferenceExpansion, nsIDOMTreeWalker **_retval);
b
ool entityReferenceExpansion, nsIDOMTreeWalker **_retval);
cpp_quote("#undef CreateEvent")
nsresult CreateEvent(const nsAString *eventType, nsIDOMEvent **_retval);
nsresult GetDefaultView(nsIDOMWindow **aDefaultView);
...
...
@@ -1116,7 +1117,7 @@ interface nsIDOMDocument : nsIDOMNode
nsresult GetReadyState(nsAString *aReadyState);
nsresult GetLastModified(nsAString *aLastModified);
nsresult GetReferrer(nsAString *aReferrer);
nsresult HasFocus(
PRB
ool *_retval);
nsresult HasFocus(
b
ool *_retval);
nsresult GetActiveElement(nsIDOMElement **aActiveElement);
nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval);
nsresult GetStyleSheets(nsIDOMStyleSheetList **aStyleSheets);
...
...
@@ -1128,21 +1129,21 @@ interface nsIDOMDocument : nsIDOMNode
nsresult EnableStyleSheetsForSet(const nsAString *name);
nsresult ElementFromPoint(float x, float y, nsIDOMElement **_retval);
nsresult GetContentType(nsAString *aContentType);
nsresult GetMozSyntheticDocument(
PRB
ool *aMozSyntheticDocument);
nsresult GetMozSyntheticDocument(
b
ool *aMozSyntheticDocument);
nsresult GetCurrentScript(nsIDOMElement **aCurrentScript);
nsresult ReleaseCapture();
nsresult MozSetImageElement(const nsAString *aImageElementId, nsIDOMElement *aImageElement);
nsresult GetMozFullScreenElement(nsIDOMHTMLElement **aMozFullScreenElement);
nsresult MozCancelFullScreen();
nsresult GetMozFullScreen(
PRB
ool *aMozFullScreen);
nsresult GetMozFullScreenEnabled(
PRB
ool *aMozFullScreenEnabled);
nsresult GetMozFullScreen(
b
ool *aMozFullScreen);
nsresult GetMozFullScreenEnabled(
b
ool *aMozFullScreenEnabled);
nsresult GetOnreadystatechange(JSContext* cx, jsval aOnreadystatechange);
nsresult SetOnreadystatechange(JSContext* cx, const jsval *aOnreadystatechange);
nsresult GetOnmouseenter(JSContext* cx, jsval *aOnmouseenter);
nsresult SetOnmouseenter(JSContext* cx, const jsval *aOnmouseenter);
nsresult GetOnmouseleave(JSContext* cx, jsval *aOnmouseleave) = 0;
nsresult SetOnmouseleave(JSContext* cx, const jsval *aOnmouseleave);
nsresult GetMozHidden(
PRB
ool *aMozHidden);
nsresult GetMozHidden(
b
ool *aMozHidden);
nsresult GetMozVisibilityState(nsAString *aMozVisibilityState);
}
...
...
@@ -1176,12 +1177,12 @@ interface nsIDOMHTMLDocument : nsIDOMDocument
nsresult Writeln(const nsAString *text, JSContext *cx);
nsresult GetDesignMode(nsAString *aDesignMode);
nsresult SetDesignMode(const nsAString *aDesignMode);
nsresult ExecCommand(const nsAString *commandID,
PRBool doShowUI, const nsAString *value, PRB
ool *_retval);
nsresult ExecCommandShowHelp(const nsAString *commandID,
PRB
ool *_retval);
nsresult QueryCommandEnabled(const nsAString *commandID,
PRB
ool *_retval);
nsresult QueryCommandIndeterm(const nsAString *commandID,
PRB
ool *_retval);
nsresult QueryCommandState(const nsAString *commandID,
PRB
ool *_retval);
nsresult QueryCommandSupported(const nsAString *commandID,
PRB
ool *_retval);
nsresult ExecCommand(const nsAString *commandID,
bool doShowUI, const nsAString *value, b
ool *_retval);
nsresult ExecCommandShowHelp(const nsAString *commandID,
b
ool *_retval);
nsresult QueryCommandEnabled(const nsAString *commandID,
b
ool *_retval);
nsresult QueryCommandIndeterm(const nsAString *commandID,
b
ool *_retval);
nsresult QueryCommandState(const nsAString *commandID,
b
ool *_retval);
nsresult QueryCommandSupported(const nsAString *commandID,
b
ool *_retval);
nsresult QueryCommandText(const nsAString *commandID, nsAString *_retval);
nsresult QueryCommandValue(const nsAString *commandID, nsAString *_retval);
nsresult GetFgColor(nsAString *aFgColor);
...
...
@@ -1221,7 +1222,7 @@ interface nsIDOMRange : nsISupports
nsresult GetStartOffset(PRInt32 *aStartOffset);
nsresult GetEndContainer(nsIDOMNode **aEndContainer);
nsresult GetEndOffset(PRInt32 *aEndOffset);
nsresult GetCollapsed(
PRB
ool *aCollapsed);
nsresult GetCollapsed(
b
ool *aCollapsed);
nsresult GetCommonAncestorContainer(nsIDOMNode **aCommonAncestorContainer);
nsresult SetStart(nsIDOMNode *refNode, PRInt32 offset);
nsresult SetEnd(nsIDOMNode *refNode, PRInt32 offset);
...
...
@@ -1229,7 +1230,7 @@ interface nsIDOMRange : nsISupports
nsresult SetStartAfter(nsIDOMNode *refNode);
nsresult SetEndBefore(nsIDOMNode *refNode);
nsresult SetEndAfter(nsIDOMNode *refNode);
nsresult Collapse(
PRB
ool toStart);
nsresult Collapse(
b
ool toStart);
nsresult SelectNode(nsIDOMNode *refNode);
nsresult SelectNodeContents(nsIDOMNode *refNode);
nsresult CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval);
...
...
@@ -1251,7 +1252,7 @@ interface nsIDOMRange : nsISupports
interface nsIDOMNSRange : nsISupports
{
nsresult CreateContextualFragment([in] const nsAString *fragment, [out] nsIDOMDocumentFragment **_retval);
nsresult IsPointInRange([in] nsIDOMNode *parent, [in] PRInt32 offset, [out]
PRB
ool *_retval);
nsresult IsPointInRange([in] nsIDOMNode *parent, [in] PRInt32 offset, [out]
b
ool *_retval);
nsresult ComparePoint([in] nsIDOMNode *parent, [in] PRInt32 offset, [out] PRInt16 *_retval);
nsresult GetClientRects(nsIDOMClientRectList **_retval);
nsresult GetBoundingClientRect(nsIDOMClientRect **_retval);
...
...
@@ -1269,20 +1270,20 @@ interface nsISelection : nsISupports
nsresult GetAnchorOffset(PRInt32 *aAnchorOffset);
nsresult GetFocusNode(nsIDOMNode **aFocusNode);
nsresult GetFocusOffset(PRInt32 *aFocusOffset);
nsresult GetIsCollapsed(
PRB
ool *aIsCollapsed);
nsresult GetIsCollapsed(
b
ool *aIsCollapsed);
nsresult GetRangeCount(PRInt32 *aRangeCount);
nsresult GetRangeAt(PRInt32 index, nsIDOMRange **_retval);
nsresult Collapse(nsIDOMNode *parentNode, PRInt32 offset);
nsresult Extend(nsIDOMNode *parentNode, PRInt32 offset);
nsresult CollapseToStart();
nsresult CollapseToEnd();
nsresult ContainsNode(nsIDOMNode *node,
PRBool entirelyContained, PRB
ool *_retval);
nsresult ContainsNode(nsIDOMNode *node,
bool entirelyContained, b
ool *_retval);
nsresult SelectAllChildren(nsIDOMNode *parentNode);
nsresult AddRange(nsIDOMRange *range);
nsresult RemoveRange(nsIDOMRange *range);
nsresult RemoveAllRanges();
nsresult DeleteFromDocument();
nsresult SelectionLanguageChange(
PRB
ool langRTL);
nsresult SelectionLanguageChange(
b
ool langRTL);
nsresult ToString(PRUnichar **_retval);
nsresult Modify(const nsAString *alter, const nsAString *direction, const nsAString *granularity);
}
...
...
@@ -1334,7 +1335,7 @@ interface nsIDOMWindow : nsISupports
nsresult GetNavigator(nsIDOMNavigator **aNavigator);
nsresult GetApplicationCache(nsIDOMOfflineResourceList **aApplicationCache);
nsresult Alert(const nsAString *text);
nsresult Confirm(const nsAString *text,
PRB
ool *_retval);
nsresult Confirm(const nsAString *text,
b
ool *_retval);
nsresult Prompt(const nsAString *aMessage, const nsAString *aInitial, nsAString *_retval);
nsresult Print();
nsresult ShowModalDialog(const nsAString *aURI, nsIVariant *aArgs, const nsAString *aOptions, nsIVariant **_retval);
...
...
@@ -1375,7 +1376,7 @@ interface nsIDOMWindow : nsISupports
nsresult SizeToContent();
nsresult GetContent(nsIDOMWindow **aContent);
nsresult GetPrompter(nsIPrompt **aPrompter);
nsresult GetClosed(
PRB
ool *aClosed);
nsresult GetClosed(
b
ool *aClosed);
nsresult GetCrypto(nsIDOMCrypto **aCrypto);
nsresult GetPkcs11(nsIDOMPkcs11 **aPkcs11);
nsresult GetControllers(nsIControllers **aControllers);
...
...
@@ -1385,8 +1386,8 @@ interface nsIDOMWindow : nsISupports
nsresult GetMozInnerScreenY(float *aMozInnerScreenY);
nsresult GetScrollMaxX(PRInt32 *aScrollMaxX);
nsresult GetScrollMaxY(PRInt32 *aScrollMaxY);
nsresult GetFullScreen(
PRB
ool *aFullScreen);
nsresult SetFullScreen(
PRB
ool aFullScreen);
nsresult GetFullScreen(
b
ool *aFullScreen);
nsresult SetFullScreen(
b
ool aFullScreen);
nsresult Back();
nsresult Forward();
nsresult Home();
...
...
@@ -1398,8 +1399,8 @@ interface nsIDOMWindow : nsISupports
nsresult OpenDialog(const nsAString *url, const nsAString *name, const nsAString *options, nsISupports *aExtraArgument,
nsIDOMWindow **_retval);
nsresult UpdateCommands(const nsAString *action);
nsresult Find(const nsAString *str,
PRBool caseSensitive, PRBool backwards, PRBool wrapAround, PRB
ool wholeWord,
PRBool searchInFrames, PRBool showDialog, PRB
ool *_retval);
nsresult Find(const nsAString *str,
bool caseSensitive, bool backwards, bool wrapAround, b
ool wholeWord,
bool searchInFrames, bool showDialog, b
ool *_retval);
nsresult GetMozPaintCount(PRUint64 *aMozPaintCount);
nsresult MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval);
nsresult MozCancelAnimationFrame(PRInt32 aHandle);
...
...
@@ -1507,15 +1508,15 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
nsresult SetMethod(const nsAString *aMethod);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetNoValidate(
PRB
ool *aNoValidate);
nsresult SetNoValidate(
PRB
ool aNoValidate);
nsresult GetNoValidate(
b
ool *aNoValidate);
nsresult SetNoValidate(
b
ool aNoValidate);
nsresult GetTarget(nsAString *aTarget);
nsresult SetTarget(const nsAString *aTarget);
nsresult GetElements(nsIDOMHTMLCollection **aElements);
nsresult GetLength(PRInt32 *aLength);
nsresult Submit();
nsresult Reset();
nsresult CheckValidity(
PRB
ool *_retval);
nsresult CheckValidity(
b
ool *_retval);
}
[
...
...
@@ -1531,14 +1532,14 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult SetAlt(const nsAString *aAlt);
nsresult GetAutocomplete(nsAString *aAutocomplete);
nsresult SetAutocomplete(const nsAString *aAutocomplete);
nsresult GetAutofocus(
PRB
ool *aAutofocus);
nsresult SetAutofocus(
PRB
ool aAutofocus);
nsresult GetDefaultChecked(
PRB
ool *aDefaultChecked);
nsresult SetDefaultChecked(
PRB
ool aDefaultChecked);
nsresult GetChecked(
PRB
ool *aChecked);
nsresult SetChecked(
PRB
ool aChecked);
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetAutofocus(
b
ool *aAutofocus);
nsresult SetAutofocus(
b
ool aAutofocus);
nsresult GetDefaultChecked(
b
ool *aDefaultChecked);
nsresult SetDefaultChecked(
b
ool aDefaultChecked);
nsresult GetChecked(
b
ool *aChecked);
nsresult SetChecked(
b
ool aChecked);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetFormAction(nsAString *aFormAction);
nsresult SetFormAction(const nsAString *aFormAction);
...
...
@@ -1546,28 +1547,28 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult SetFormEnctype(const nsAString *aFormEnctype);
nsresult GetFormMethod(nsAString *aFormMethod);
nsresult SetFormMethod(const nsAString *aFormMethod);
nsresult GetFormNoValidate(
PRB
ool *aFormNoValidate);
nsresult SetFormNoValidate(
PRB
ool aFormNoValidate);
nsresult GetFormNoValidate(
b
ool *aFormNoValidate);
nsresult SetFormNoValidate(
b
ool aFormNoValidate);
nsresult GetFormTarget(nsAString *aFormTarget);
nsresult SetFormTarget(const nsAString *aFormTarget);
nsresult GetFiles(nsIDOMFileList **aFiles);
nsresult GetIndeterminate(
PRB
ool *aIndeterminate);
nsresult SetIndeterminate(
PRB
ool aIndeterminate);
nsresult GetIndeterminate(
b
ool *aIndeterminate);
nsresult SetIndeterminate(
b
ool aIndeterminate);
nsresult GetList(nsIDOMHTMLElement **aList);
nsresult GetMaxLength(PRInt32 *aMaxLength);
nsresult SetMaxLength(PRInt32 aMaxLength);
nsresult GetMultiple(
PRB
ool *aMultiple);
nsresult SetMultiple(
PRB
ool aMultiple);
nsresult GetMultiple(
b
ool *aMultiple);
nsresult SetMultiple(
b
ool aMultiple);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetPattern(nsAString *aPattern);
nsresult SetPattern(const nsAString *aPattern);
nsresult GetPlaceholder(nsAString *aPlaceholder);
nsresult SetPlaceholder(const nsAString *aPlaceholder);
nsresult GetReadOnly(
PRB
ool *aReadOnly);
nsresult SetReadOnly(
PRB
ool aReadOnly);
nsresult GetRequired(
PRB
ool *aRequired);
nsresult SetRequired(
PRB
ool aRequired);
nsresult GetReadOnly(
b
ool *aReadOnly);
nsresult SetReadOnly(
b
ool aReadOnly);
nsresult GetRequired(
b
ool *aRequired);
nsresult SetRequired(
b
ool aRequired);
nsresult GetAlign(nsAString *aAlign);
nsresult SetAlign(const nsAString *aAlign);
nsresult GetSize(PRUint32 *aSize);
...
...
@@ -1580,10 +1581,10 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult SetDefaultValue(const nsAString *aDefaultValue);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetWillValidate(
PRB
ool *aWillValidate);
nsresult GetWillValidate(
b
ool *aWillValidate);
nsresult GetValidity(nsIDOMValidityState **aValidity);
nsresult GetValidationMessage(nsAString *aValidationMessage);
nsresult CheckValidity(
PRB
ool *_retval);
nsresult CheckValidity(
b
ool *_retval);
nsresult SetCustomValidity(const nsAString *error);
nsresult Select();
nsresult GetSelectionStart(PRInt32 *aSelectionStart);
...
...
@@ -1599,7 +1600,7 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult GetTextLength(PRInt32 *aTextLength);
nsresult MozGetFileNameArray(PRUint32 *aLength, PRUnichar ***aFileNames);
nsresult MozSetFileNameArray(const PRUnichar **aFileNames, PRUint32 aLength);
nsresult MozIsTextField(
PRBool aExcludePassword, PRB
ool *_retval);
nsresult MozIsTextField(
bool aExcludePassword, b
ool *_retval);
}
[
...
...
@@ -1609,15 +1610,15 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
]
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
{
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetLabel(nsAString *aLabel);
nsresult SetLabel(const nsAString *aLabel);
nsresult GetDefaultSelected(
PRB
ool *aDefaultSelected);
nsresult SetDefaultSelected(
PRB
ool aDefaultSelected);
nsresult GetSelected(
PRB
ool *aSelected);
nsresult SetSelected(
PRB
ool aSelected);
nsresult GetDefaultSelected(
b
ool *aDefaultSelected);
nsresult SetDefaultSelected(
b
ool aDefaultSelected);
nsresult GetSelected(
b
ool *aSelected);
nsresult SetSelected(
b
ool aSelected);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetText(nsAString *aText);
...
...
@@ -1654,13 +1655,13 @@ interface nsIDOMHTMLOptionsCollection : nsISupports
]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
nsresult GetAutofocus(
PRB
ool *aAutofocus);
nsresult SetAutofocus(
PRB
ool aAutofocus);
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetAutofocus(
b
ool *aAutofocus);
nsresult SetAutofocus(
b
ool aAutofocus);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetMultiple(
PRB
ool *aMultiple);
nsresult SetMultiple(
PRB
ool aMultiple);
nsresult GetMultiple(
b
ool *aMultiple);
nsresult SetMultiple(
b
ool aMultiple);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetSize(PRInt32 *aSize);
...
...
@@ -1677,13 +1678,13 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetWillValidate(
PRB
ool *aWillValidate);
nsresult GetWillValidate(
b
ool *aWillValidate);
nsresult GetValidity(nsIDOMValidityState **aValidity);
nsresult GetValidationMessage(nsAString *aValidationMessage);
nsresult CheckValidity(
PRB
ool *_retval);
nsresult CheckValidity(
b
ool *_retval);
nsresult SetCustomValidity(const nsAString *error);
nsresult GetRequired(
PRB
ool *aRequired);
nsresult SetRequired(
PRB
ool aRequired);
nsresult GetRequired(
b
ool *aRequired);
nsresult SetRequired(
b
ool aRequired);
}
[
...
...
@@ -1693,12 +1694,12 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
nsresult GetAutofocus(
PRB
ool *aAutofocus);
nsresult SetAutofocus(
PRB
ool aAutofocus);
nsresult GetAutofocus(
b
ool *aAutofocus);
nsresult SetAutofocus(
b
ool aAutofocus);
nsresult GetCols(PRUint32 *aCols);
nsresult SetCols(PRUint32 aCols);
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetMaxLength(PRInt32 *aMaxLength);
nsresult SetMaxLength(PRInt32 aMaxLength);
...
...
@@ -1706,10 +1707,10 @@ interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
nsresult SetName(const nsAString *aName);
nsresult GetPlaceholder(nsAString *aPlaceholder);
nsresult SetPlaceholder(const nsAString *aPlaceholder);
nsresult GetReadOnly(
PRB
ool *aReadOnly);
nsresult SetReadOnly(
PRB
ool aReadOnly);
nsresult GetRequired(
PRB
ool *aRequired);
nsresult SetRequired(
PRB
ool aRequired);
nsresult GetReadOnly(
b
ool *aReadOnly);
nsresult SetReadOnly(
b
ool aReadOnly);
nsresult GetRequired(
b
ool *aRequired);
nsresult SetRequired(
b
ool aRequired);
nsresult GetRows(PRUint32 *aRows);
nsresult SetRows(PRUint32 aRows);
nsresult GetWrap(nsAString *aWrap);
...
...
@@ -1720,10 +1721,10 @@ interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetTextLength(PRInt32 *aTextLength);
nsresult GetWillValidate(
PRB
ool *aWillValidate);
nsresult GetWillValidate(
b
ool *aWillValidate);
nsresult GetValidity(nsIDOMValidityState **aValidity);
nsresult GetValidationMessage(nsAString *aValidationMessage);
nsresult CheckValidity(
PRB
ool *_retval);
nsresult CheckValidity(
b
ool *_retval);
nsresult SetCustomValidity(const nsAString *error);
nsresult Select();
nsresult GetSelectionStart(PRInt32 *aSelectionStart);
...
...
@@ -1745,10 +1746,10 @@ interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
{
nsresult GetSrc(nsAString *aSrc);
nsresult SetSrc(const nsAString *aSrc);
nsresult GetAsync(
PRB
ool *aAsync);
nsresult SetAsync(
PRB
ool aAsync);
nsresult GetDefer(
PRB
ool *aDefer);
nsresult SetDefer(
PRB
ool aDefer);
nsresult GetAsync(
b
ool *aAsync);
nsresult SetAsync(
b
ool aAsync);
nsresult GetDefer(
b
ool *aDefer);
nsresult SetDefer(
b
ool aDefer);
nsresult GetType(nsAString *aType);
nsresult SetType(const nsAString *aType);
nsresult GetCharset(nsAString *aCharset);
...
...
@@ -1776,15 +1777,15 @@ interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
nsresult SetCrossOrigin(const nsAString *aCrossOrigin);
nsresult GetUseMap(nsAString *aUseMap);
nsresult SetUseMap(const nsAString *aUseMap);
nsresult GetIsMap(
PRB
ool *aIsMap);
nsresult SetIsMap(
PRB
ool aIsMap);
nsresult GetIsMap(
b
ool *aIsMap);
nsresult SetIsMap(
b
ool aIsMap);
nsresult GetWidth(PRUint32 *aWidth);
nsresult SetWidth(PRUint32 aWidth);
nsresult GetHeight(PRUint32 *aHeight);
nsresult SetHeight(PRUint32 aHeight);
nsresult GetNaturalWidth(PRUint32 *aNaturalWidth);
nsresult GetNaturalHeight(PRUint32 *aNaturalHeight);
nsresult GetComplete(
PRB
ool *aComplete);
nsresult GetComplete(
b
ool *aComplete);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetAlign(nsAString *aAlign);
...
...
@@ -1945,8 +1946,8 @@ interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
nsresult SetWidth(const nsAString *aWidth);
nsresult GetContentDocument(nsIDOMDocument **aContentDocument);
nsresult GetContentWindow(nsIDOMWindow **aContentWindow);
nsresult GetMozAllowFullScreen(
PRB
ool *aMozAllowFullScreen);
nsresult SetMozAllowFullScreen(
PRB
ool aMozAllowFullScreen);
nsresult GetMozAllowFullScreen(
b
ool *aMozAllowFullScreen);
nsresult SetMozAllowFullScreen(
b
ool aMozAllowFullScreen);
}
[
...
...
@@ -1966,8 +1967,8 @@ interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
nsresult SetMarginWidth(const nsAString *aMarginWidth);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetNoResize(
PRB
ool *aNoResize);
nsresult SetNoResize(
PRB
ool aNoResize);
nsresult GetNoResize(
b
ool *aNoResize);
nsresult SetNoResize(
b
ool aNoResize);
nsresult GetScrolling(nsAString *aScrolling);
nsresult SetScrolling(const nsAString *aScrolling);
nsresult GetSrc(nsAString *aSrc);
...
...
@@ -1998,8 +1999,8 @@ interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
nsresult SetCodeType(const nsAString *aCodeType);
nsresult GetData(nsAString *aData);
nsresult SetData(const nsAString *aData);
nsresult GetDeclare(
PRB
ool *aDeclare);
nsresult SetDeclare(
PRB
ool aDeclare);
nsresult GetDeclare(
b
ool *aDeclare);
nsresult SetDeclare(
b
ool aDeclare);
nsresult GetHeight(nsAString *aHeight);
nsresult SetHeight(const nsAString *aHeight);
nsresult GetHspace(PRInt32 *aHspace);
...
...
@@ -2017,10 +2018,10 @@ interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
nsresult GetWidth(nsAString *aWidth);
nsresult SetWidth(const nsAString *aWidth);
nsresult GetContentDocument(nsIDOMDocument **aContentDocument);
nsresult GetWillValidate(
PRB
ool *aWillValidate);
nsresult GetWillValidate(
b
ool *aWillValidate);
nsresult GetValidity(nsIDOMValidityState **aValidity);
nsresult GetValidationMessage(nsAString *aValidationMessage);
nsresult CheckValidity(
PRB
ool *_retval);
nsresult CheckValidity(
b
ool *_retval);
nsresult SetCustomValidity(const nsAString *error);
}
...
...
@@ -2048,8 +2049,8 @@ interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
nsresult GetDisabled(
PRB
ool *aDisabled);
nsresult SetDisabled(
PRB
ool aDisabled);
nsresult GetDisabled(
b
ool *aDisabled);
nsresult SetDisabled(
b
ool aDisabled);
nsresult GetMedia(nsAString *aMedia);
nsresult SetMedia(const nsAString *aMedia);
nsresult GetType(nsAString *aType);
...
...
@@ -2063,12 +2064,12 @@ interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
]
interface nsIURIContentListener : nsISupports
{
nsresult OnStartURIOpen(nsIURI *aURI,
PRB
ool *_retval);
nsresult DoContent(const char *aContentType,
PRB
ool aIsContentPreferred, nsIRequest *aRequest,
nsIStreamListener **aContentHandler,
PRB
ool *_retval);
nsresult IsPreferred(const char *aContentType, char **aDesiredContentType,
PRB
ool *_retval);
nsresult CanHandleContent(const char *aContentType,
PRB
ool aIsContentPreferred,
char **aDesiredContentType,
PRB
ool *_retval);
nsresult OnStartURIOpen(nsIURI *aURI,
b
ool *_retval);
nsresult DoContent(const char *aContentType,
b
ool aIsContentPreferred, nsIRequest *aRequest,
nsIStreamListener **aContentHandler,
b
ool *_retval);
nsresult IsPreferred(const char *aContentType, char **aDesiredContentType,
b
ool *_retval);
nsresult CanHandleContent(const char *aContentType,
b
ool aIsContentPreferred,
char **aDesiredContentType,
b
ool *_retval);
nsresult GetLoadCookie(nsISupports **aLoadCookie);
nsresult SetLoadCookie(nsISupports *aLoadCookie);
nsresult GetParentContentListener(nsIURIContentListener **aParentContentListener);
...
...
@@ -2100,8 +2101,8 @@ interface nsIWebBrowser : nsISupports
nsresult GetParentURIContentListener(nsIURIContentListener **aParentURIContentListener);
nsresult SetParentURIContentListener(nsIURIContentListener *aParentURIContentListener);
nsresult GetContentDOMWindow(nsIDOMWindow **aContentDOMWindow);
nsresult GetIsActive(
PRB
ool *aIsActive);
nsresult SetIsActive(
PRB
ool aIsActive);
nsresult GetIsActive(
b
ool *aIsActive);
nsresult SetIsActive(
b
ool aIsActive);
}
cpp_quote("#define SETUP_ALLOW_JAVASCRIPT 2")
...
...
@@ -2132,19 +2133,19 @@ interface nsIBaseWindow : nsISupports
nsresult Destroy();
nsresult SetPosition(PRInt32 x, PRInt32 y);
nsresult GetPosition(PRInt32 *x, PRInt32 *y);
nsresult SetSize(PRInt32 cx, PRInt32 cy,
PRB
ool fRepaint);
nsresult SetSize(PRInt32 cx, PRInt32 cy,
b
ool fRepaint);
nsresult GetSize(PRInt32 *cx, PRInt32 *cy);
nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy,
PRB
ool fRepaint);
nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy,
b
ool fRepaint);
nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
nsresult Repaint(
PRB
ool force);
nsresult Repaint(
b
ool force);
nsresult GetParentWidget(nsIWidget **aParentWidget);
nsresult SetParentWidget(nsIWidget *aParentWidget);
nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow);
nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow);
nsresult GetVisibility(
PRB
ool *aVisibility);
nsresult SetVisibility(
PRB
ool aVisibility);
nsresult GetEnabled(
PRB
ool *aEnabled);
nsresult SetEnabled(
PRB
ool aEnabled);
nsresult GetVisibility(
b
ool *aVisibility);
nsresult SetVisibility(
b
ool aVisibility);
nsresult GetEnabled(
b
ool *aEnabled);
nsresult SetEnabled(
b
ool aEnabled);
nsresult GetMainWidget(nsIWidget **aMainWidget);
nsresult SetFocus();
nsresult GetTitle(PRUnichar **aTitle);
...
...
@@ -2162,8 +2163,8 @@ cpp_quote("#define LOAD_INITIAL_DOCUMENT_URI 0x00080000")
]
interface nsIWebNavigation : nsISupports
{
nsresult GetCanGoBack(
PRB
ool *aCanGoBack);
nsresult GetCanGoForward(
PRB
ool *aCanGoForward);
nsresult GetCanGoBack(
b
ool *aCanGoBack);
nsresult GetCanGoForward(
b
ool *aCanGoForward);
nsresult GoBack();
nsresult GoForward();
nsresult GotoIndex(PRInt32 index);
...
...
@@ -2188,7 +2189,7 @@ interface nsIWebProgress : nsISupports
nsresult AddProgressListener(nsIWebProgressListener *aListener, PRUint32 aNotifyMask);
nsresult RemoveProgressListener(nsIWebProgressListener *aListener);
nsresult GetDOMWindow(nsIDOMWindow **aDOMWindow);
nsresult GetIsLoadingDocument(
PRB
ool *aIsLoadingDocument);
nsresult GetIsLoadingDocument(
b
ool *aIsLoadingDocument);
}
[
...
...
@@ -2200,8 +2201,8 @@ interface nsIPrintSettings : nsISupports
{
typedef struct { char dummy; } nsIntMargin;
nsresult SetPrintOptions(PRInt32 aType,
PRB
ool aTurnOnOff);
nsresult GetPrintOptions(PRInt32 aType,
PRB
ool *_retval);
nsresult SetPrintOptions(PRInt32 aType,
b
ool aTurnOnOff);
nsresult GetPrintOptions(PRInt32 aType,
b
ool *_retval);
nsresult GetPrintOptionsBits(PRInt32 *_retval);
nsresult GetEffectivePageSize(double *aWidth, double *aHeight);
nsresult Clone(nsIPrintSettings **_retval);
...
...
@@ -2238,10 +2239,10 @@ interface nsIPrintSettings : nsISupports
nsresult SetUnwriteableMarginRight(double aUnwriteableMarginRight);
nsresult GetScaling(double *aScaling);
nsresult SetScaling(double aScaling);
nsresult GetPrintBGColors(
PRB
ool *aPrintBGColors);
nsresult SetPrintBGColors(
PRB
ool aPrintBGColors);
nsresult GetPrintBGImages(
PRB
ool *aPrintBGImages);
nsresult SetPrintBGImages(
PRB
ool aPrintBGImages);
nsresult GetPrintBGColors(
b
ool *aPrintBGColors);
nsresult SetPrintBGColors(
b
ool aPrintBGColors);
nsresult GetPrintBGImages(
b
ool *aPrintBGImages);
nsresult SetPrintBGImages(
b
ool aPrintBGImages);
nsresult GetPrintRange(PRInt16 *aPrintRange);
nsresult SetPrintRange(PRInt16 aPrintRange);
nsresult GetTitle(PRUnichar **aTitle);
...
...
@@ -2262,18 +2263,18 @@ interface nsIPrintSettings : nsISupports
nsresult SetFooterStrRight(const PRUnichar *aFooterStrRight);
nsresult GetHowToEnableFrameUI(PRInt16 *aHowToEnableFrameUI);
nsresult SetHowToEnableFrameUI(PRInt16 aHowToEnableFrameUI);
nsresult GetIsCancelled(
PRB
ool *aIsCancelled);
nsresult SetIsCancelled(
PRB
ool aIsCancelled);
nsresult GetIsCancelled(
b
ool *aIsCancelled);
nsresult SetIsCancelled(
b
ool aIsCancelled);
nsresult GetPrintFrameTypeUsage(PRInt16 *aPrintFrameTypeUsage);
nsresult SetPrintFrameTypeUsage(PRInt16 aPrintFrameTypeUsage);
nsresult GetPrintFrameType(PRInt16 *aPrintFrameType);
nsresult SetPrintFrameType(PRInt16 aPrintFrameType);
nsresult GetPrintSilent(
PRB
ool *aPrintSilent);
nsresult SetPrintSilent(
PRB
ool aPrintSilent);
nsresult GetShrinkToFit(
PRB
ool *aShrinkToFit);
nsresult SetShrinkToFit(
PRB
ool aShrinkToFit);
nsresult GetShowPrintProgress(
PRB
ool *aShowPrintProgress);
nsresult SetShowPrintProgress(
PRB
ool aShowPrintProgress);
nsresult GetPrintSilent(
b
ool *aPrintSilent);
nsresult SetPrintSilent(
b
ool aPrintSilent);
nsresult GetShrinkToFit(
b
ool *aShrinkToFit);
nsresult SetShrinkToFit(
b
ool aShrinkToFit);
nsresult GetShowPrintProgress(
b
ool *aShowPrintProgress);
nsresult SetShowPrintProgress(
b
ool aShowPrintProgress);
nsresult GetPaperName(PRUnichar **aPaperName);
nsresult SetPaperName(const PRUnichar *aPaperName);
nsresult GetPaperSizeType(PRInt16 *aPaperSizeType);
...
...
@@ -2292,12 +2293,12 @@ interface nsIPrintSettings : nsISupports
nsresult SetColorspace(const PRUnichar *aColorspace);
nsresult GetResolutionName(PRUnichar **aResolutionName);
nsresult SetResolutionName(const PRUnichar aResolutionName);
nsresult GetDownloadFonts(
PRB
ool *aDownloadFonts);
nsresult SetDownloadFonts(
PRB
ool aDownloadFonts);
nsresult GetPrintReversed(
PRB
ool *aPrintReversed);
nsresult SetPrintReversed(
PRB
ool aPrintReversed);
nsresult GetPrintInColor(
PRB
ool *aPrintInColor);
nsresult SetPrintInColor(
PRB
ool aPrintInColor);
nsresult GetDownloadFonts(
b
ool *aDownloadFonts);
nsresult SetDownloadFonts(
b
ool aDownloadFonts);
nsresult GetPrintReversed(
b
ool *aPrintReversed);
nsresult SetPrintReversed(
b
ool aPrintReversed);
nsresult GetPrintInColor(
b
ool *aPrintInColor);
nsresult SetPrintInColor(
b
ool aPrintInColor);
nsresult GetOrientation(PRInt32 *aOrientation);
nsresult SetOrientation(PRInt32 aOrientation);
nsresult GetPrintCommand(PRUnichar **aPrintCommand);
...
...
@@ -2306,18 +2307,18 @@ interface nsIPrintSettings : nsISupports
nsresult SetNumCopies(PRInt32 aNumCopies);
nsresult GetPrinterName(PRUnichar **aPrinterName);
nsresult SetPrinterName(const PRUnichar *aPrinterName);
nsresult GetPrintToFile(
PRB
ool *aPrintToFile);
nsresult SetPrintToFile(
PRB
ool aPrintToFile);
nsresult GetPrintToFile(
b
ool *aPrintToFile);
nsresult SetPrintToFile(
b
ool aPrintToFile);
nsresult GetToFileName(PRUnichar **aToFileName);
nsresult SetToFileName(const PRUnichar *aToFileName);
nsresult GetOutputFormat(PRInt16 *aOutputFormat);
nsresult SetOutputFormat(PRInt16 aOutputFormat);
nsresult GetPrintPageDelay(PRInt32 *aPrintPageDelay);
nsresult SetPrintPageDelay(PRInt32 aPrintPageDelay);
nsresult GetIsInitializedFromPrinter(
PRB
ool *aIsInitializedFromPrinter);
nsresult SetIsInitializedFromPrinter(
PRB
ool aIsInitializedFromPrinter);
nsresult GetIsInitializedFromPrefs(
PRB
ool *aIsInitializedFromPrefs);
nsresult SetIsInitializedFromPrefs(
PRB
ool aIsInitializedFromPrefs);
nsresult GetIsInitializedFromPrinter(
b
ool *aIsInitializedFromPrinter);
nsresult SetIsInitializedFromPrinter(
b
ool aIsInitializedFromPrinter);
nsresult GetIsInitializedFromPrefs(
b
ool *aIsInitializedFromPrefs);
nsresult SetIsInitializedFromPrefs(
b
ool aIsInitializedFromPrefs);
nsresult SetMarginInTwips(nsIntMargin *aMargin);
nsresult SetEdgeInTwips(nsIntMargin *aEdge);
nsresult GetMarginInTwips(nsIntMargin *aMargin);
...
...
@@ -2338,12 +2339,12 @@ interface nsIWebBrowserPrint : nsISupports
nsresult GetGlobalPrintSettings(nsIPrintSettings **aGlobalPrintSettings);
nsresult GetCurrentPrintSettings(nsIPrintSettings **aCurrentPrintSettings);
nsresult GetCurrentChildDOMWindow(nsIDOMWindow **aCurrentChildDOMWindow);
nsresult GetDoingPrint(
PRB
ool *aDoingPrint);
nsresult GetDoingPrintPreview(
PRB
ool *aDoingPrintPreview);
nsresult GetIsFramesetDocument(
PRB
ool *aIsFramesetDocument);
nsresult GetIsFramesetFrameSelected(
PRB
ool *aIsFramesetFrameSelected);
nsresult GetIsIFrameSelected(
PRB
ool *aIsIFrameSelected);
nsresult GetIsRangeSelection(
PRB
ool *aIsRangeSelection);
nsresult GetDoingPrint(
b
ool *aDoingPrint);
nsresult GetDoingPrintPreview(
b
ool *aDoingPrintPreview);
nsresult GetIsFramesetDocument(
b
ool *aIsFramesetDocument);
nsresult GetIsFramesetFrameSelected(
b
ool *aIsFramesetFrameSelected);
nsresult GetIsIFrameSelected(
b
ool *aIsIFrameSelected);
nsresult GetIsRangeSelection(
b
ool *aIsRangeSelection);
nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages);
nsresult Print(nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener);
nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin,
...
...
@@ -2381,7 +2382,7 @@ interface nsIScrollable : nsISupports
PRInt32 minVerticalPos, PRInt32 maxVerticalPos);
nsresult GetDefaultScrollbarPreferences(PRInt32 scrollOrientation, PRInt32 *scrollbarPref);
nsresult SetDefaultScrollbarPreferences(PRInt32 scrollOrientation, PRInt32 scrollbarPref);
nsresult GetScrollbarVisibility(
PRBool *verticalVisible, PRB
ool *horizontalVisible);
nsresult GetScrollbarVisibility(
bool *verticalVisible, b
ool *horizontalVisible);
}
[
...
...
@@ -2405,7 +2406,7 @@ interface nsIFile : nsISupports
nsresult CopyToFollowingLinksNative(nsIFile *newParentDir, const nsAString *newName);
nsresult MoveTo(nsIFile *newParentDir, const nsAString *newName);
nsresult MoveToNative(nsIFile *newParentDir, const nsAString *newName);
nsresult Remove(
PRB
ool recursive);
nsresult Remove(
b
ool recursive);
nsresult GetPermissions(PRUint32 *aPermissions);
nsresult SetPermissions(PRUint32 pPermissions);
nsresult GetPermissionsOfLink(PRUint32 *aPermissions);
...
...
@@ -2421,19 +2422,19 @@ interface nsIFile : nsISupports
nsresult GetNativeTarget(nsACString *aNativeTarget);
nsresult GetPath(nsAString *aPath);
nsresult GetNativePath(nsACString *aNativePath);
nsresult Exists(
PRB
ool *_retval);
nsresult IsWritable(
PRB
ool *_retval);
nsresult IsReadable(
PRB
ool *_retval);
nsresult IsExecutable(
PRB
ool *_retval);
nsresult IsHidden(
PRB
ool *_retval);
nsresult IsDirectory(
PRB
ool *_retval);
nsresult IsFile(
PRB
ool *_retval);
nsresult IsSymlink(
PRB
ool *_retval);
nsresult IsSpecial(
PRB
ool *_retval);
nsresult Exists(
b
ool *_retval);
nsresult IsWritable(
b
ool *_retval);
nsresult IsReadable(
b
ool *_retval);
nsresult IsExecutable(
b
ool *_retval);
nsresult IsHidden(
b
ool *_retval);
nsresult IsDirectory(
b
ool *_retval);
nsresult IsFile(
b
ool *_retval);
nsresult IsSymlink(
b
ool *_retval);
nsresult IsSpecial(
b
ool *_retval);
nsresult CreateUnique(PRUint32 type, PRUint32 permission);
nsresult Clone(nsIFile **_retval);
nsresult Equals(nsIFile *inFile,
PRB
ool *_retval);
nsresult Contains(nsIFile *inFile,
PRBool recir, PRB
ool *_retval);
nsresult Equals(nsIFile *inFile,
b
ool *_retval);
nsresult Contains(nsIFile *inFile,
bool recir, b
ool *_retval);
nsresult GetParent(nsIFile **aParent);
nsresult GetDirectoryEntries(nsISimpleEnumerator **aDirectoryEntries);
}
...
...
@@ -2447,8 +2448,8 @@ interface nsIPrefBranch : nsISupports
{
nsresult GetRoot(char **aRoot);
nsresult GetPrefType(const char *aPrefName, PRInt32 *_retval);
nsresult GetBoolPref(const char *aPrefName,
PRB
ool *_retval);
nsresult SetBoolPref(const char *aPrefName,
PRB
ool aValue);
nsresult GetBoolPref(const char *aPrefName,
b
ool *_retval);
nsresult SetBoolPref(const char *aPrefName,
b
ool aValue);
nsresult GetCharPref(const char *aPrefName, char **_retval);
nsresult SetCharPref(const char *aPrefName, const char *aValue);
nsresult GetIntPref(const char *aPrefName, PRInt32 *_retval);
...
...
@@ -2457,8 +2458,8 @@ interface nsIPrefBranch : nsISupports
nsresult SetComplexValue(const char *aPrefName, const nsIID *aType, nsISupports *aValue);
nsresult ClearUserPref(const char *aPrefName);
nsresult LockPref(const char *aPrefName);
nsresult PrefHasUserValue(const char *aPrefName,
PRB
ool *_retval);
nsresult PrefIsLocked(const char *aPrefName,
PRB
ool *_retval);
nsresult PrefHasUserValue(const char *aPrefName,
b
ool *_retval);
nsresult PrefIsLocked(const char *aPrefName,
b
ool *_retval);
nsresult UnlockPref(const char *aPrefName);
nsresult DeleteBranch(const char *aStartingAt);
nsresult GetChildList(const char *aStartingAt, PRUint32 *aCount, char ***aChildArray);
...
...
@@ -2472,7 +2473,7 @@ interface nsIPrefBranch : nsISupports
]
interface nsIDirectoryServiceProvider : nsISupports
{
nsresult GetFile(const char *prop,
PRB
ool *persistent, nsIFile **_retval);
nsresult GetFile(const char *prop,
b
ool *persistent, nsIFile **_retval);
}
[
...
...
@@ -2488,7 +2489,7 @@ interface nsIProtocolHandler : nsISupports
nsresult NewURI(const nsACString *aSpec, const char *aOriginCharset,
nsIURI *aBaseURI, nsIURI **_retval);
nsresult NewChannel(nsIURI *aURI, nsIChannel **_retval);
nsresult AllowPort(PRInt32 port, const char *scheme,
PRB
ool *_retval);
nsresult AllowPort(PRInt32 port, const char *scheme,
b
ool *_retval);
}
[
...
...
@@ -2498,7 +2499,7 @@ interface nsIProtocolHandler : nsISupports
]
interface nsIExternalProtocolHandler : nsIProtocolHandler
{
nsresult ExternalAppExistsForScheme(const nsACString *scheme,
PRB
ool *_retval);
nsresult ExternalAppExistsForScheme(const nsACString *scheme,
b
ool *_retval);
}
[
...
...
@@ -2516,9 +2517,9 @@ interface nsIIOService : nsISupports
nsresult NewChannelFromURI(nsIURI *aURI, nsIChannel **_retval);
nsresult NewChannel(const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI,
nsIChannel **_retval);
nsresult GetOffline(
PRB
ool *aOffline);
nsresult SetOffline(
PRB
ool aOffline);
nsresult AllowPort(PRInt32 aPort, const char *aScheme,
PRB
ool *_retval);
nsresult GetOffline(
b
ool *aOffline);
nsresult SetOffline(
b
ool aOffline);
nsresult AllowPort(PRInt32 aPort, const char *aScheme,
b
ool *_retval);
nsresult ExtractScheme(const nsACString *urlString, nsACString *_retval);
}
...
...
@@ -2530,16 +2531,16 @@ interface nsIIOService : nsISupports
interface nsINetUtil : nsISupports
{
nsresult ParseContentType(const nsACString *aTypeHeader, nsACString *aCharset,
PRB
ool *aHadCharset, nsACString *_retval);
nsresult ProtocolHasFlags(nsIURI *aURI, PRUint32 aFlag,
PRB
ool *_retval);
nsresult URIChainHasFlags(nsIURI *aURI, PRUint32 aFlags,
PRB
ool *_retval);
b
ool *aHadCharset, nsACString *_retval);
nsresult ProtocolHasFlags(nsIURI *aURI, PRUint32 aFlag,
b
ool *_retval);
nsresult URIChainHasFlags(nsIURI *aURI, PRUint32 aFlags,
b
ool *_retval);
nsresult ToImmutableURI(nsIURI *aURI, nsIURI **_retval);
nsresult NewSimpleNestedURI(nsIURI *aURI, nsIURI **_retval);
nsresult EscapeString(const nsACString *aString, PRUint32 aEscapeType, nsACString *_retval);
nsresult EscapeURL(const nsACString *aStr, PRUint32 aFlags, nsACString *_retval);
nsresult UnescapeString(const nsACString *aStr, PRUint32 aFlags, nsACString *_retval);
nsresult ExtractCharsetFromContentType(const nsACString *aTypeHeader, nsACString *aCharset,
PRInt32 *aCharsetStart, PRInt32 *aCharsetEnd,
PRB
ool *_retval);
PRInt32 *aCharsetStart, PRInt32 *aCharsetEnd,
b
ool *_retval);
}
[
...
...
@@ -2574,7 +2575,7 @@ interface nsIWebBrowserChrome : nsISupports
nsresult DestroyBrowserWindow();
nsresult SizeBrowserTo(PRInt32 aCX, PRInt32 aCY);
nsresult ShowAsModal();
nsresult IsWindowModal(
PRB
ool *_retval);
nsresult IsWindowModal(
b
ool *_retval);
nsresult ExitModalEventLoop(nsresult aStatus);
}
...
...
@@ -2595,11 +2596,11 @@ interface nsIDOMEventListener : nsISupports
]
interface nsIDOMEventTarget : nsISupports
{
nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener,
PRBool useCapture, PRB
ool wantsUntrusted, PRUint8 _argc);
nsresult AddSystemEventListener(const nsAString *type, nsIDOMEventListener *listener,
PRBool aUseCapture, PRB
ool aWantsUntrusted, PRUint8 _argc);
nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener,
PRB
ool useCapture);
nsresult RemoveSystemEventListener(const nsAString *type, nsIDOMEventListener *listener,
PRB
ool aUseCapture);
nsresult DispatchEvent(nsIDOMEvent *evt,
PRB
ool *_retval);
nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener,
bool useCapture, b
ool wantsUntrusted, PRUint8 _argc);
nsresult AddSystemEventListener(const nsAString *type, nsIDOMEventListener *listener,
bool aUseCapture, b
ool aWantsUntrusted, PRUint8 _argc);
nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener,
b
ool useCapture);
nsresult RemoveSystemEventListener(const nsAString *type, nsIDOMEventListener *listener,
b
ool aUseCapture);
nsresult DispatchEvent(nsIDOMEvent *evt,
b
ool *_retval);
/* Followed by methods we should try to avoid using */
}
...
...
@@ -2615,13 +2616,13 @@ interface nsIDOMEvent : nsISupports
nsresult GetTarget(nsIDOMEventTarget **aTarget);
nsresult GetCurrentTarget(nsIDOMEventTarget **aCurrentTarget);
nsresult GetEventPhase(PRUint16 *aEventPhase);
nsresult GetBubbles(
PRB
ool *aBubbles);
nsresult GetCancelable(
PRB
ool *aCancelable);
nsresult GetBubbles(
b
ool *aBubbles);
nsresult GetCancelable(
b
ool *aCancelable);
nsresult GetTimeStamp(DOMTimeStamp *aTimeStamp);
nsresult StopPropagation();
nsresult PreventDefault();
nsresult InitEvent(const nsAString *eventTypeArg,
PRBool canBubbleArg, PRB
ool cancelableArg);
nsresult GetDefaultPrevented(
PRB
ool *aDefaultPrevented);
nsresult InitEvent(const nsAString *eventTypeArg,
bool canBubbleArg, b
ool cancelableArg);
nsresult GetDefaultPrevented(
b
ool *aDefaultPrevented);
nsresult StopImmediatePropagation();
}
...
...
@@ -2652,7 +2653,7 @@ interface nsIDOMUIEvent : nsIDOMEvent
{
nsresult GetView(nsIDOMWindow **aView);
nsresult GetDetail(PRInt32 *aDetail);
nsresult InitUIEvent(const nsAString *typeArg,
PRBool canBubbleArg, PRB
ool cancelableArg,
nsresult InitUIEvent(const nsAString *typeArg,
bool canBubbleArg, b
ool cancelableArg,
nsIDOMWindow *viewArg, PRInt32 detailArg);
nsresult GetLayerX(PRInt32 *aLayerX);
nsresult GetLayerY(PRInt32 *aLayerY);
...
...
@@ -2661,9 +2662,9 @@ interface nsIDOMUIEvent : nsIDOMEvent
nsresult GetWhich(PRUint32 *aWhich);
nsresult GetRangeParent(nsIDOMNode * *aRangeParent);
nsresult GetRangeOffset(PRInt32 *aRangeOffset);
nsresult GetCancelBubble(
PRB
ool *aCancelBubble);
nsresult SetCancelBubble(
PRB
ool aCancelBubble);
nsresult GetIsChar(
PRB
ool *aIsChar);
nsresult GetCancelBubble(
b
ool *aCancelBubble);
nsresult SetCancelBubble(
b
ool aCancelBubble);
nsresult GetIsChar(
b
ool *aIsChar);
}
[
...
...
@@ -2677,23 +2678,23 @@ interface nsIDOMMouseEvent : nsIDOMUIEvent
nsresult GetScreenY(PRInt32 *aScreenY);
nsresult GetClientX(PRInt32 *aClientX);
nsresult GetClientY(PRInt32 *aClientY);
nsresult GetCtrlKey(
PRB
ool *aCtrlKey);
nsresult GetShiftKey(
PRB
ool *aShiftKey);
nsresult GetAltKey(
PRB
ool *aAltKey);
nsresult GetMetaKey(
PRB
ool *aMetaKey);
nsresult GetCtrlKey(
b
ool *aCtrlKey);
nsresult GetShiftKey(
b
ool *aShiftKey);
nsresult GetAltKey(
b
ool *aAltKey);
nsresult GetMetaKey(
b
ool *aMetaKey);
nsresult GetButton(PRUint16 *aButton);
nsresult GetRelatedTarget(nsIDOMEventTarget **aRelatedTarget);
nsresult InitMouseEvent(const nsAString *typeArg,
PRBool canBubbleArg, PRB
ool cancelableArg,
nsresult InitMouseEvent(const nsAString *typeArg,
bool canBubbleArg, b
ool cancelableArg,
nsIDOMWindow *viewArg, PRInt32 detailArg, PRInt32 screenXArg, PRInt32 screenYArg,
PRInt32 clientXArg, PRInt32 clientYArg,
PRBool ctrlKeyArg, PRB
ool altKeyArg,
PRBool shiftKeyArg, PRB
ool metaKeyArg, PRUint16 buttonArg,
PRInt32 clientXArg, PRInt32 clientYArg,
bool ctrlKeyArg, b
ool altKeyArg,
bool shiftKeyArg, b
ool metaKeyArg, PRUint16 buttonArg,
nsIDOMEventTarget *relatedTargetArg);
nsresult GetMozPressure(float *aMozPressure);
nsresult GetMozInputSource(PRUint16 *aMozInputSource);
nsresult InitNSMouseEvent(const nsAString *typeArg,
PRBool canBubbleArg, PRB
ool cancelableArg,
nsresult InitNSMouseEvent(const nsAString *typeArg,
bool canBubbleArg, b
ool cancelableArg,
nsIDOMWindow *viewArg, PRInt32 detailArg, PRInt32 screenXArg, PRInt32 screenYArg,
PRInt32 clientXArg, PRInt32 clientYArg,
PRBool ctrlKeyArg, PRBool altKeyArg, PRB
ool shiftKeyArg,
PRB
ool metaKeyArg, PRUint16 buttonArg, nsIDOMEventTarget *relatedTargetArg, float pressure,
PRInt32 clientXArg, PRInt32 clientYArg,
bool ctrlKeyArg, bool altKeyArg, b
ool shiftKeyArg,
b
ool metaKeyArg, PRUint16 buttonArg, nsIDOMEventTarget *relatedTargetArg, float pressure,
PRUint16 inputSourceArg);
}
...
...
@@ -2706,13 +2707,13 @@ interface nsIDOMKeyEvent : nsIDOMUIEvent
{
nsresult GetCharCode(PRUint32 *aCharCode);
nsresult GetKeyCode(PRUint32 *aKeyCode);
nsresult GetAltKey(
PRB
ool *aAltKey);
nsresult GetCtrlKey(
PRB
ool *aCtrlKey);
nsresult GetShiftKey(
PRB
ool *aShiftKey);
nsresult GetMetaKey(
PRB
ool *aMetaKey);
nsresult InitKeyEvent(const nsAString *typeArg,
PRB
ool canBubbleArg,
PRBool cancelableArg, nsIDOMWindow *viewArg, PRB
ool ctrlKeyArg,
PRBool altKeyArg, PRBool shiftKeyArg, PRB
ool metaKeyArg, PRUint32 keyCodeArg,
nsresult GetAltKey(
b
ool *aAltKey);
nsresult GetCtrlKey(
b
ool *aCtrlKey);
nsresult GetShiftKey(
b
ool *aShiftKey);
nsresult GetMetaKey(
b
ool *aMetaKey);
nsresult InitKeyEvent(const nsAString *typeArg,
b
ool canBubbleArg,
bool cancelableArg, nsIDOMWindow *viewArg, b
ool ctrlKeyArg,
bool altKeyArg, bool shiftKeyArg, b
ool metaKeyArg, PRUint32 keyCodeArg,
PRUint32 charCodeArg);
}
...
...
@@ -2726,8 +2727,8 @@ interface nsIEmbeddingSiteWindow : nsISupports
nsresult SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy);
nsresult GetDimensions(PRUint32 flags, PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
nsresult SetFocus();
nsresult GetVisibility(
PRB
ool *aVisibility);
nsresult SetVisibility(
PRB
ool aVisibility);
nsresult GetVisibility(
b
ool *aVisibility);
nsresult SetVisibility(
b
ool aVisibility);
nsresult GetTitle(PRUnichar **aTitle);
nsresult SetTitle(const PRUnichar *aTitle);
nsresult GetSiteWindow(void **aSiteWindow);
...
...
@@ -2749,8 +2750,8 @@ interface nsIComponentRegistrar : nsISupports
const char *aContractID, nsIFile *aFile, const char *aLoaderStr,
const char *aType);
nsresult UnregisterFactoryLocation(const nsCID *aClass, nsIFile *aFile);
nsresult IsCIDRegistered(const nsCID *aClass,
PRB
ool *_retval);
nsresult IsContractIDRegistered(const char *aContractID,
PRB
ool *_retval);
nsresult IsCIDRegistered(const nsCID *aClass,
b
ool *_retval);
nsresult IsContractIDRegistered(const char *aContractID,
b
ool *_retval);
nsresult EnumerateCIDs(nsISimpleEnumerator **_retval);
nsresult EnumerateContractIDs(nsISimpleEnumerator **_retval);
nsresult CIDToContractID(const nsCID *aClass, char **_retval);
...
...
@@ -2767,28 +2768,28 @@ interface nsIPromptService : nsISupports
nsresult Alert(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText);
nsresult AlertCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, const PRUnichar *aCheckMsg,
PRB
ool *aCheckState);
const PRUnichar *aText, const PRUnichar *aCheckMsg,
b
ool *aCheckState);
nsresult Confirm(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText,
PRB
ool *_retval);
const PRUnichar *aText,
b
ool *_retval);
nsresult ConfirmCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, const PRUnichar *aCheckMsg,
PRB
ool *aCheckState,
PRB
ool *_retval);
const PRUnichar *aText, const PRUnichar *aCheckMsg,
b
ool *aCheckState,
b
ool *_retval);
nsresult ConfirmEx(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, PRUint32 aButtonFlags, const PRUnichar *aButton0Title,
const PRUnichar *aButton1Title, const PRUnichar *aButton2Title,
const PRUnichar *aCheckMsg,
PRB
ool *aCheckState, PRInt32 *_retval);
const PRUnichar *aCheckMsg,
b
ool *aCheckState, PRInt32 *_retval);
nsresult Prompt(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, PRUnichar **aValue, const PRUnichar *aCheckMsg,
PRBool *aCheckState, PRB
ool *_retval);
bool *aCheckState, b
ool *_retval);
nsresult PromptUsernameAndPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, PRUnichar **aUsername, PRUnichar **aPassword,
const PRUnichar *aCheckMsg,
PRBool *aCheckState, PRB
ool *_retval);
const PRUnichar *aCheckMsg,
bool *aCheckState, b
ool *_retval);
nsresult PromptPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, PRUnichar **aPassword, const PRUnichar *aCheckMsg,
PRBool *aCheckState, PRB
ool *_retval);
bool *aCheckState, b
ool *_retval);
nsresult Select(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
const PRUnichar *aText, PRUint32 aCount, const PRUnichar **aSelectList,
PRInt32 *aOutSelection,
PRB
ool *_retval);
PRInt32 *aOutSelection,
b
ool *_retval);
}
[
...
...
@@ -2798,7 +2799,7 @@ interface nsIPromptService : nsISupports
]
interface nsITooltipTextProvider : nsISupports
{
nsresult GetNodeText(nsIDOMNode *aNode, PRUnichar **aText,
PRB
ool *_retval);
nsresult GetNodeText(nsIDOMNode *aNode, PRUnichar **aText,
b
ool *_retval);
}
[
...
...
@@ -2810,15 +2811,15 @@ interface nsIProfile : nsISupports
{
nsresult GetProfileCount(PRInt32 *aProfileCount);
nsresult GetProfileList(PRUint32 *length, PRUnichar ***profileNames);
nsresult ProfileExists(const PRUnichar *profileName,
PRB
ool *_retval);
nsresult ProfileExists(const PRUnichar *profileName,
b
ool *_retval);
nsresult GetCurrentProfile(PRUnichar **aCurrentProfile);
nsresult SetCurrentProfile(const PRUnichar *aCurrentProfile);
nsresult ShutDownCurrentProfile(PRUint32 shutDownType);
nsresult CreateNewProfile(const PRUnichar *profileName,
const PRUnichar *nativeProfileDir, const PRUnichar *langcode,
PRB
ool useExistingDir);
b
ool useExistingDir);
nsresult RenameProfile(const PRUnichar *oldName, const PRUnichar *newName);
nsresult DeleteProfile(const PRUnichar *name,
PRB
ool canDeleteFiles);
nsresult DeleteProfile(const PRUnichar *name,
b
ool canDeleteFiles);
nsresult CloneProfile(const PRUnichar *profileName);
}
...
...
@@ -2841,7 +2842,7 @@ interface nsIWindowCreator : nsISupports
interface nsIWindowCreator2 : nsIWindowCreator
{
nsresult CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags,
PRUint32 contextFlags, nsIURI *uri,
PRB
ool *cancel,
PRUint32 contextFlags, nsIURI *uri,
b
ool *cancel,
nsIWebBrowserChrome **_retval);
}
...
...
@@ -2876,8 +2877,8 @@ interface nsIEditingSession : nsISupports
{
nsresult GetEditorStatus(PRUint32 *aEditorStatus);
nsresult MakeWindowEditable(nsIDOMWindow *window, const char *aEditorType,
PRBool doAfterUriLoad, PRBool aMakeWholeDocumentEditable, PRB
ool aInteractive);
nsresult WindowIsEditable(nsIDOMWindow *window,
PRB
ool *_retval);
bool doAfterUriLoad, bool aMakeWholeDocumentEditable, b
ool aInteractive);
nsresult WindowIsEditable(nsIDOMWindow *window,
b
ool *_retval);
nsresult GetEditorForWindow(nsIDOMWindow *window, nsIEditor **_retval);
nsresult SetupEditorOnWindow(nsIDOMWindow *window);
nsresult TearDownEditorOnWindow(nsIDOMWindow *window);
...
...
@@ -2886,7 +2887,7 @@ interface nsIEditingSession : nsISupports
nsresult RestoreJSAndPlugins(nsIDOMWindow *aWindow);
nsresult DetachFromWindow(nsIDOMWindow *aWindow);
nsresult ReattachToWindow(nsIDOMWindow *aWindow);
nsresult GetJsAndPluginsDisabled(
PRB
ool *aJsAndPluginsDisabled);
nsresult GetJsAndPluginsDisabled(
b
ool *aJsAndPluginsDisabled);
}
[
...
...
@@ -2897,20 +2898,20 @@ interface nsIEditingSession : nsISupports
interface nsICommandParams : nsISupports
{
nsresult GetValueType(const char *name, PRInt16 *_retval);
nsresult GetBooleanValue(const char *name,
PRB
ool *_retval);
nsresult GetBooleanValue(const char *name,
b
ool *_retval);
nsresult GetLongValue(const char *name, PRInt32 *_retval);
nsresult GetDoubleValue(const char *name, double *_retval);
nsresult GetStringValue(const char *name, nsAString *_retval);
nsresult GetCStringValue(const char *name, char **_retval);
nsresult GetISupportsValue(const char *name, nsISupports **_retval);
nsresult SetBooleanValue(const char *name,
PRB
ool value);
nsresult SetBooleanValue(const char *name,
b
ool value);
nsresult SetLongValue(const char *name, PRInt32 value);
nsresult SetDoubleValue(const char *name, double value);
nsresult SetStringValue(const char *name, const nsAString *value);
nsresult SetCStringValue(const char *name, const char *value);
nsresult SetISupportsValue(const char *name, nsISupports *value);
nsresult RemoveValue(const char *name);
nsresult HasMoreElements(
PRB
ool *_retval);
nsresult HasMoreElements(
b
ool *_retval);
nsresult First();
nsresult GetNext(char **_retval);
}
...
...
@@ -2924,8 +2925,8 @@ interface nsICommandManager : nsISupports
{
nsresult AddCommandObserver(nsIObserver *aCommandObserver, const char *aCommandToObserve);
nsresult RemoveCommandObserver(nsIObserver *aCommandObserver, const char *aCommandObserved);
nsresult IsCommandSupported(const char *aCommandName, nsIDOMWindow *aTargetWindow,
PRB
ool *_retval);
nsresult IsCommandEnabled(const char *aCommandName, nsIDOMWindow *aTargetWindow,
PRB
ool *_retval);
nsresult IsCommandSupported(const char *aCommandName, nsIDOMWindow *aTargetWindow,
b
ool *_retval);
nsresult IsCommandEnabled(const char *aCommandName, nsIDOMWindow *aTargetWindow,
b
ool *_retval);
nsresult GetCommandState(const char *aCommandName, nsIDOMWindow *aTargetWindow,
nsICommandParams *aCommandParams);
nsresult DoCommand(const char *aCommandName, nsICommandParams *aCommandParams,
...
...
@@ -2950,8 +2951,8 @@ interface nsIControllerContext : nsISupports
]
interface nsIController : nsISupports
{
nsresult IsCommandEnabled(const char *command,
PRB
ool *_retval);
nsresult SupportsCommand(const char *command,
PRB
ool *_retval);
nsresult IsCommandEnabled(const char *command,
b
ool *_retval);
nsresult SupportsCommand(const char *command,
b
ool *_retval);
nsresult DoCommand(const char *command);
nsresult OnEvent(const char *eventName);
}
...
...
@@ -2983,8 +2984,8 @@ interface nsIDocument : nsISupports
]
interface nsIContentSerializer : nsISupports
{
nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char *aCharSet,
PRB
ool aIsCopying,
PRB
ool aIsWholeDocument);
nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char *aCharSet,
b
ool aIsCopying,
b
ool aIsWholeDocument);
nsresult AppendText(nsIContent *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendCDATASection(nsIContent *aCDATASection, PRInt32 aStartOffset,
PRInt32 aEndOffset, nsAString *aStr);
...
...
@@ -3011,22 +3012,22 @@ interface nsIEditor : nsISupports
nsresult GetSelection([out] nsISelection *_retval);
nsresult Init([in] nsIDOMDocument *doc, [in] nsIContentPtr aRoot, [in] nsISelectionController *aSelCon, [in] PRUint32 aFlags);
nsresult SetAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in] const nsAString *sourceAttrValue, [in]
PRB
ool aSuppressTransaction);
nsresult RemoveAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in]
PRB
ool aSuppressTransaction);
nsresult SetAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in] const nsAString *sourceAttrValue, [in]
b
ool aSuppressTransaction);
nsresult RemoveAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in]
b
ool aSuppressTransaction);
nsresult PostCreate();
nsresult PreDestroy();
nsresult GetFlags([out] PRUint32 *_retval);
nsresult SetFlags([in] PRUint32 val);
nsresult GetContentsMIMEType([out] char **_retval);
nsresult SetContentsMIMEType([in] const char *val);
nsresult GetIsDocumentEditable([out]
PRB
ool *_retval);
nsresult GetIsSelectionEditable(
PRB
ool *aIsSelectionEditable);
nsresult GetIsDocumentEditable([out]
b
ool *_retval);
nsresult GetIsSelectionEditable(
b
ool *aIsSelectionEditable);
nsresult GetDocument([out] nsIDOMDocument **_retval);
nsresult GetRootElement([out] nsIDOMElement **_retval);
nsresult GetSelectionController([out] nsISelectionController **_retval);
nsresult DeleteSelection([in] PRInt16 action);
nsresult GetDocumentIsEmpty([out]
PRB
ool *_retval);
nsresult GetDocumentModified([out]
PRB
ool *_retval);
nsresult GetDocumentIsEmpty([out]
b
ool *_retval);
nsresult GetDocumentModified([out]
b
ool *_retval);
nsresult GetDocumentCharacterSet([out] nsACString *_retval);
nsresult SetDocumentCharacterSet([in] const nsACString *val);
nsresult ResetModificationCount();
...
...
@@ -3035,36 +3036,36 @@ interface nsIEditor : nsISupports
nsresult GetTransactionManager([out] nsITransactionManager **_retval);
nsresult SetTransactionManager(nsITransactionManager *aTransactionManager);
nsresult DoTransaction([in] nsITransaction *txn);
nsresult EnableUndo([in]
PRB
ool enable);
nsresult EnableUndo([in]
b
ool enable);
nsresult Undo([in] PRUint32 count);
nsresult CanUndo([out]
PRBool *isEnabled, [out] PRB
ool *canUndo);
nsresult CanUndo([out]
bool *isEnabled, [out] b
ool *canUndo);
nsresult Redo([in] PRUint32 count);
nsresult CanRedo([out]
PRBool *isEnabled, [out] PRB
ool *canRedo);
nsresult CanRedo([out]
bool *isEnabled, [out] b
ool *canRedo);
nsresult BeginTransaction();
nsresult EndTransaction();
nsresult BeginPlaceHolderTransaction([in] nsIAtom *name);
nsresult EndPlaceHolderTransaction();
nsresult ShouldTxnSetSelection([out]
PRB
ool *_retval);
nsresult SetShouldTxnSetSelection([in]
PRB
ool should);
nsresult ShouldTxnSetSelection([out]
b
ool *_retval);
nsresult SetShouldTxnSetSelection([in]
b
ool should);
nsresult GetInlineSpellChecker([out] nsIInlineSpellChecker **_retval);
nsresult SyncRealTimeSpell();
nsresult SetSpellcheckUserOverride(
PRB
ool enable);
nsresult SetSpellcheckUserOverride(
b
ool enable);
nsresult Cut();
nsresult CanCut([out]
PRB
ool *_retval);
nsresult CanCut([out]
b
ool *_retval);
nsresult Copy();
nsresult CanCopy([out]
PRB
ool *_retval);
nsresult CanCopy([out]
b
ool *_retval);
nsresult Paste([in] PRInt32 aSelectionType);
nsresult PasteTransferable(nsITransferable *aTransferable);
nsresult CanPaste([in] PRInt32 aSelectionType, [out]
PRB
ool *_retval);
nsresult CanPasteTransferable(nsITransferable *aTransferable,
PRB
ool *_retval);
nsresult CanPaste([in] PRInt32 aSelectionType, [out]
b
ool *_retval);
nsresult CanPasteTransferable(nsITransferable *aTransferable,
b
ool *_retval);
nsresult SelectAll();
nsresult BeginningOfDocument();
nsresult EndOfDocument();
nsresult CanDrag([in] nsIDOMEvent *aEvent, [out]
PRB
ool *_retval);
nsresult CanDrag([in] nsIDOMEvent *aEvent, [out]
b
ool *_retval);
nsresult DoDrag([in] nsIDOMEvent *aEvent);
nsresult InsertFromDrop([in] nsIDOMEvent *aEvent);
nsresult SetAttribute([in] nsIDOMElement *aElement, [in] const nsAString *attributestr, [in] const nsAString *attvalue);
nsresult GetAttributeValue([in] nsIDOMElement *aElement, [in] const nsAString *attributestr, [out] nsAString *resultValue,
PRB
ool *_retval);
nsresult GetAttributeValue([in] nsIDOMElement *aElement, [in] const nsAString *attributestr, [out] nsAString *resultValue,
b
ool *_retval);
nsresult RemoveAttribute([in] nsIDOMElement *aElement, [in] const nsAString *aAttribute);
nsresult CloneAttribute([in] const nsAString *aAttribute, [in] nsIDOMNode *aDestNode, [in] nsIDOMNode *aSourceNode);
nsresult CloneAttributes([in] nsIDOMNode *destNode, [in] nsIDOMNode *sourceNode);
...
...
@@ -3086,8 +3087,8 @@ interface nsIEditor : nsISupports
nsresult DumpContentTree();
nsresult DebugDumpContent();
nsresult DebugUnitTests([out] PRInt32 *outNumTests, [out] PRInt32 *outNumTestsFailed);
PRB
ool IsModifiableNode(nsIDOMNode *aNode);
nsresult GetLastKeypressEventTrusted(
PRB
ool *aLastKeypressEventTrusted);
b
ool IsModifiableNode(nsIDOMNode *aNode);
nsresult GetLastKeypressEventTrusted(
b
ool *aLastKeypressEventTrusted);
}
[
...
...
@@ -3102,36 +3103,36 @@ interface nsIHTMLEditor : nsISupports
nsresult RemoveAllDefaultProperties();
nsresult SetCSSInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult SetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult GetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out]
PRBool *aFirst, [out] PRBool *aAny, [out] PRB
ool *aAll);
nsresult GetInlinePropertyWithAttrValue([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out]
PRBool *aFirst, [out] PRBool *aAny, [out] PRB
ool *aAll, [out] nsAString *_retval);
nsresult GetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out]
bool *aFirst, [out] bool *aAny, [out] b
ool *aAll);
nsresult GetInlinePropertyWithAttrValue([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out]
bool *aFirst, [out] bool *aAny, [out] b
ool *aAll, [out] nsAString *_retval);
nsresult RemoveAllInlineProperties();
nsresult RemoveInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute);
nsresult IncreaseFontSize();
nsresult DecreaseFontSize();
nsresult CanDrag([in] nsIDOMEvent *aEvent, [out]
PRB
ool *_retval);
nsresult CanDrag([in] nsIDOMEvent *aEvent, [out]
b
ool *_retval);
nsresult DoDrag([in] nsIDOMEvent *aEvent);
nsresult InsertFromDrop([in] nsIDOMEvent *aEvent);
nsresult NodeIsBlock([in] nsIDOMNode *node,
PRB
ool *_retval);
nsresult NodeIsBlock([in] nsIDOMNode *node,
b
ool *_retval);
nsresult InsertHTML([in] nsAString *aInputString);
nsresult PasteNoFormatting([in] PRInt32 aSelectionType);
nsresult RebuildDocumentFromSource([in] nsAString *aSourceString);
nsresult InsertHTMLWithContext([in] nsAString *aInputString, [in] nsAString *aContextStr, [in] nsAString *aInfoStr, [in] nsAString *aFlavor, [in] nsIDOMDocument *aSourceDoc, [in] nsIDOMNode *aDestinationNode, [in] PRInt32 aDestinationOffset, [in]
PRB
ool aDeleteSelection);
nsresult InsertElementAtSelection([in] nsIDOMElement *aElement, [in]
PRB
ool aDeleteSelection);
nsresult InsertHTMLWithContext([in] nsAString *aInputString, [in] nsAString *aContextStr, [in] nsAString *aInfoStr, [in] nsAString *aFlavor, [in] nsIDOMDocument *aSourceDoc, [in] nsIDOMNode *aDestinationNode, [in] PRInt32 aDestinationOffset, [in]
b
ool aDeleteSelection);
nsresult InsertElementAtSelection([in] nsIDOMElement *aElement, [in]
b
ool aDeleteSelection);
nsresult SetDocumentTitle([in] nsAString *aTitle);
nsresult UpdateBaseURL();
nsresult SelectElement([in] nsIDOMElement *aElement);
nsresult SetCaretAfterElement([in] nsIDOMElement *aElement);
nsresult SetParagraphFormat([in] nsAString *aParagraphFormat);
nsresult GetParagraphState([out]
PRB
ool *aMixed, [out] nsAString *_retval);
nsresult GetFontFaceState([out]
PRB
ool *aMixed, [out] nsAString *_retval);
nsresult GetFontColorState([out]
PRB
ool *aMixed, [out] nsAString *_retval);
nsresult GetBackgroundColorState([out]
PRB
ool *aMixed, [out] nsAString *_retval);
nsresult GetHighlightColorState([out]
PRB
ool *aMixed, [out] nsAString *_retval);
nsresult GetListState([out]
PRBool *aMixed, [out] PRBool *aOL, [out] PRBool *aUL, [out] PRB
ool *aDL);
nsresult GetListItemState([out]
PRBool *aMixed, [out] PRBool *aLI, [out] PRBool *aDT, [out] PRB
ool *aDD);
nsresult GetAlignment([out]
PRB
ool *aMixed, [out] PRInt16 *aAlign);
nsresult GetIndentState([out]
PRBool *aCanIndent, [out] PRB
ool *aCanOutdent);
nsresult MakeOrChangeList([in] nsAString *aListType, [in]
PRB
ool entireList, [in] nsAString *aBulletType);
nsresult GetParagraphState([out]
b
ool *aMixed, [out] nsAString *_retval);
nsresult GetFontFaceState([out]
b
ool *aMixed, [out] nsAString *_retval);
nsresult GetFontColorState([out]
b
ool *aMixed, [out] nsAString *_retval);
nsresult GetBackgroundColorState([out]
b
ool *aMixed, [out] nsAString *_retval);
nsresult GetHighlightColorState([out]
b
ool *aMixed, [out] nsAString *_retval);
nsresult GetListState([out]
bool *aMixed, [out] bool *aOL, [out] bool *aUL, [out] b
ool *aDL);
nsresult GetListItemState([out]
bool *aMixed, [out] bool *aLI, [out] bool *aDT, [out] b
ool *aDD);
nsresult GetAlignment([out]
b
ool *aMixed, [out] PRInt16 *aAlign);
nsresult GetIndentState([out]
bool *aCanIndent, [out] b
ool *aCanOutdent);
nsresult MakeOrChangeList([in] nsAString *aListType, [in]
b
ool entireList, [in] nsAString *aBulletType);
nsresult RemoveList([in] nsAString *aListType);
nsresult Indent([in] nsAString *aIndent);
nsresult Align([in] nsAString *aAlign);
...
...
@@ -3143,19 +3144,19 @@ interface nsIHTMLEditor : nsISupports
nsresult InsertLinkAroundSelection([in] nsIDOMElement *aAnchorElement);
nsresult SetBackgroundColor([in] nsAString *aColor);
nsresult SetBodyAttribute([in] nsAString *aAttr, [in] nsAString *aValue);
nsresult IgnoreSpuriousDragEvent([in]
PRB
ool aIgnoreSpuriousDragEvent);
nsresult IgnoreSpuriousDragEvent([in]
b
ool aIgnoreSpuriousDragEvent);
nsresult GetLinkedObjects([out] nsISupportsArray **_retval);
nsresult GetIsCSSEnabled([out]
PRB
ool *_retval);
nsresult SetIsCSSEnabled([in]
PRB
ool prb);
nsresult GetIsCSSEnabled([out]
b
ool *_retval);
nsresult SetIsCSSEnabled([in]
b
ool prb);
nsresult AddInsertionListener([in] nsIContentFilter *inFilter);
nsresult RemoveInsertionListener([in] nsIContentFilter *inFilter);
nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in]
PRB
ool aIsCreatedHidden, [out] nsIDOMElement **_retval);
nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in]
b
ool aIsCreatedHidden, [out] nsIDOMElement **_retval);
nsresult GetSelectionContainer([out] nsIDOMElement **_retval);
nsresult CheckSelectionStateForAnonymousButtons([in] nsISelection *aSelection);
nsresult IsAnonymousElement([in] nsIDOMElement *aElement, [out]
PRB
ool *_retval);
nsresult GetReturnInParagraphCreatesNewParagraph([out]
PRB
ool *_retval);
nsresult SetReturnInParagraphCreatesNewParagraph([in]
PRB
ool prb);
nsresult BreakIsVisible(nsIDOMNode *aNode,
PRB
ool *_retval);
nsresult IsAnonymousElement([in] nsIDOMElement *aElement, [out]
b
ool *_retval);
nsresult GetReturnInParagraphCreatesNewParagraph([out]
b
ool *_retval);
nsresult SetReturnInParagraphCreatesNewParagraph([in]
b
ool prb);
nsresult BreakIsVisible(nsIDOMNode *aNode,
b
ool *_retval);
nsIContent *GetActiveEditingHost();
}
...
...
@@ -3166,17 +3167,17 @@ interface nsIHTMLEditor : nsISupports
]
interface nsIDocShell : nsISupports
{
nsresult LoadURI(nsIURI *uri, nsIDocShellLoadInfo *loadInfo, PRUint32 aLoadFlags,
PRB
ool firstParty);
nsresult LoadURI(nsIURI *uri, nsIDocShellLoadInfo *loadInfo, PRUint32 aLoadFlags,
b
ool firstParty);
nsresult LoadStream(nsIInputStream *aStream, nsIURI *aURI, const nsACString *aContentType,
const nsACString *aContentCharset, nsIDocShellLoadInfo *aLoadInfo);
nsresult InternalLoad(nsIURI *aURI, nsIURI *aReferrer, nsISupports *aOwner, PRUint32 aFlags, const PRUnichar *aWindowTarget,
const char *aTypeHint, nsIInputStream *aPostDataStream, nsIInputStream *aHeadersStream, PRUint32 aLoadFlags,
nsISHEntry *aSHEntry,
PRB
ool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest);
nsresult AddState(nsIVariant *aData, const nsAString *aTitle, const nsAString *aURL,
PRB
ool aReplace, JSContext *cx);
nsISHEntry *aSHEntry,
b
ool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest);
nsresult AddState(nsIVariant *aData, const nsAString *aTitle, const nsAString *aURL,
b
ool aReplace, JSContext *cx);
nsresult CreateLoadInfo(nsIDocShellLoadInfo **loadInfo);
nsresult PrepareForNewContentModel();
nsresult SetCurrentURI(nsIURI *aURI);
nsresult FirePageHideNotification(
PRB
ool isUnload);
nsresult FirePageHideNotification(
b
ool isUnload);
nsresult GetPresContext(void /*nsPresContext*/ **aPresContext);
nsresult GetPresShell(nsIPresShell **aPresShell);
nsresult GetEldestPresShell(nsIPresShell **aEldestPresShell);
...
...
@@ -3185,70 +3186,70 @@ interface nsIDocShell : nsISupports
nsresult SetChromeEventHandler(nsIDOMEventTarget *aChromeEventHandler);
nsresult GetDocumentCharsetInfo(nsIDocumentCharsetInfo **aDocumentCharsetInfo);
nsresult SetDocumentCharsetInfo(nsIDocumentCharsetInfo *aDocumentCharsetInfo);
nsresult GetAllowPlugins(
PRB
ool *aAllowPlugins);
nsresult SetAllowPlugins(
PRB
ool aAllowPlugins);
nsresult GetAllowJavascript(
PRB
ool *aAllowJavascript);
nsresult SetAllowJavascript(
PRB
ool aAllowJavascript);
nsresult GetAllowMetaRedirects(
PRB
ool *aAllowMetaRedirects);
nsresult SetAllowMetaRedirects(
PRB
ool aAllowMetaRedirects);
nsresult GetAllowSubframes(
PRB
ool *aAllowSubframes);
nsresult SetAllowSubframes(
PRB
ool aAllowSubframes);
nsresult GetAllowImages(
PRB
ool *aAllowImages);
nsresult SetAllowImages(
PRB
ool aAllowImages);
nsresult GetAllowDNSPrefetch(
PRB
ool *aAllowDNSPrefetch);
nsresult SetAllowDNSPrefetch(
PRB
ool aAllowDNSPrefetch);
nsresult GetAllowWindowControl(
PRB
ool *aAllowWindowControl);
nsresult SetAllowWindowControl(
PRB
ool aAllowWindowControl);
nsresult GetAllowPlugins(
b
ool *aAllowPlugins);
nsresult SetAllowPlugins(
b
ool aAllowPlugins);
nsresult GetAllowJavascript(
b
ool *aAllowJavascript);
nsresult SetAllowJavascript(
b
ool aAllowJavascript);
nsresult GetAllowMetaRedirects(
b
ool *aAllowMetaRedirects);
nsresult SetAllowMetaRedirects(
b
ool aAllowMetaRedirects);
nsresult GetAllowSubframes(
b
ool *aAllowSubframes);
nsresult SetAllowSubframes(
b
ool aAllowSubframes);
nsresult GetAllowImages(
b
ool *aAllowImages);
nsresult SetAllowImages(
b
ool aAllowImages);
nsresult GetAllowDNSPrefetch(
b
ool *aAllowDNSPrefetch);
nsresult SetAllowDNSPrefetch(
b
ool aAllowDNSPrefetch);
nsresult GetAllowWindowControl(
b
ool *aAllowWindowControl);
nsresult SetAllowWindowControl(
b
ool aAllowWindowControl);
nsresult GetDocShellEnumerator(PRInt32 aItemType, PRInt32 aDirection, nsISimpleEnumerator **_retval);
nsresult GetAppType(PRUint32 *aAppType);
nsresult SetAppType(PRUint32 aAppType);
nsresult GetAllowAuth(
PRB
ool *aAllowAuth);
nsresult SetAllowAuth(
PRB
ool aAllowAuth);
nsresult GetAllowAuth(
b
ool *aAllowAuth);
nsresult SetAllowAuth(
b
ool aAllowAuth);
nsresult GetZoom(float *aZoom);
nsresult SetZoom(float aZoom);
nsresult GetMarginWidth(PRInt32 *aMarginWidth);
nsresult SetMarginWidth(PRInt32 aMarginWidth);
nsresult GetMarginHeight(PRInt32 *aMarginHeight);
nsresult SetMarginHeight(PRInt32 aMarginHeight);
nsresult TabToTreeOwner(
PRBool forward, PRB
ool *tookFocus);
nsresult TabToTreeOwner(
bool forward, b
ool *tookFocus);
nsresult GetBusyFlags(PRUint32 *aBusyFlags);
nsresult GetLoadType(PRUint32 *aLoadType);
nsresult SetLoadType(PRUint32 aLoadType);
nsresult IsBeingDestroyed(
PRB
ool *_retval);
nsresult GetIsExecutingOnLoadHandler(
PRB
ool *aIsExecutingOnLoadHandler);
nsresult IsBeingDestroyed(
b
ool *_retval);
nsresult GetIsExecutingOnLoadHandler(
b
ool *aIsExecutingOnLoadHandler);
nsresult GetLayoutHistoryState(nsILayoutHistoryState **aLayoutHistoryState);
nsresult SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState);
nsresult GetShouldSaveLayoutState(
PRB
ool *aShouldSaveLayoutState);
nsresult GetShouldSaveLayoutState(
b
ool *aShouldSaveLayoutState);
nsresult GetSecurityUI(nsISecureBrowserUI **aSecurityUI);
nsresult SetSecurityUI(nsISecureBrowserUI *aSecurityUI);
nsresult SuspendRefreshURIs();
nsresult ResumeRefreshURIs();
nsresult BeginRestore(nsIContentViewer *viewer,
PRB
ool top);
nsresult BeginRestore(nsIContentViewer *viewer,
b
ool top);
nsresult FinishRestore();
nsresult GetRestoringDocument(
PRB
ool *aRestoringDocument);
nsresult GetUseErrorPages(
PRB
ool *aUseErrorPages);
nsresult SetUseErrorPages(
PRB
ool aUseErrorPages);
nsresult GetRestoringDocument(
b
ool *aRestoringDocument);
nsresult GetUseErrorPages(
b
ool *aUseErrorPages);
nsresult SetUseErrorPages(
b
ool aUseErrorPages);
nsresult GetPreviousTransIndex(PRInt32 *aPreviousTransIndex);
nsresult GetLoadedTransIndex(PRInt32 *aLoadedTransIndex);
nsresult HistoryPurged(PRInt32 numEntries);
nsresult GetSessionStorageForURI(nsIURI *uri, const nsAString *documentURI, nsIDOMStorage **_retval);
nsresult GetSessionStorageForPrincipal(nsIPrincipal *principal, const nsAString *documentURI,
PRB
ool create, nsIDOMStorage **_retval);
b
ool create, nsIDOMStorage **_retval);
nsresult AddSessionStorage(nsIPrincipal *principal, nsIDOMStorage *storage);
nsresult GetCurrentDocumentChannel(nsIChannel **aCurrentDocumentChannel);
nsresult SetChildOffset(PRUint32 offset);
nsresult GetIsInUnload(
PRB
ool *aIsInUnload);
nsresult GetChannelIsUnsafe(
PRB
ool *aChannelIsUnsafe);
nsresult GetIsInUnload(
b
ool *aIsInUnload);
nsresult GetChannelIsUnsafe(
b
ool *aChannelIsUnsafe);
void DetachEditorFromWindow();
nsresult GetIsOffScreenBrowser(
PRB
ool *aIsOffScreenBrowser);
nsresult SetIsOffScreenBrowser(
PRB
ool aIsOffScreenBrowser);
nsresult GetIsOffScreenBrowser(
b
ool *aIsOffScreenBrowser);
nsresult SetIsOffScreenBrowser(
b
ool aIsOffScreenBrowser);
nsresult GetPrintPreview(nsIWebBrowserPrint **aPrintPreview);
nsresult GetCanExecuteScripts(
PRB
ool *aCanExecuteScripts);
nsresult GetIsActive(
PRB
ool *aIsActive);
nsresult SetIsActive(
PRB
ool aIsActive);
nsresult GetCanExecuteScripts(
b
ool *aCanExecuteScripts);
nsresult GetIsActive(
b
ool *aIsActive);
nsresult SetIsActive(
b
ool aIsActive);
nsresult GetHistoryID(PRUint64 *aHistoryID);
nsresult GetIsAppTab(
PRB
ool *aIsAppTab);
nsresult SetIsAppTab(
PRB
ool aIsAppTab);
nsresult GetIsAppTab(
b
ool *aIsAppTab);
nsresult SetIsAppTab(
b
ool aIsAppTab);
nsresult CreateAboutBlankContentViewer(nsIPrincipal *aPrincipal);
}
...
...
@@ -3301,22 +3302,22 @@ interface nsIParser : nsISupports
nsresult ContinueInterruptedParsing();
void BlockParser();
void UnblockParser();
PRB
ool IsParserEnabled();
PRB
ool IsComplete();
b
ool IsParserEnabled();
b
ool IsComplete();
nsresult Parse(nsIURI *aURL, nsIRequestObserver *aListener, void *aKey, nsDTDMode aMode);
nsresult Parse2(const nsAString *aSourceBuffer, void *aKey, const nsACString *aMimeType,
PRB
ool aLastCall, nsDTDMode aMode);
nsresult Parse2(const nsAString *aSourceBuffer, void *aKey, const nsACString *aMimeType,
b
ool aLastCall, nsDTDMode aMode);
void *GetRootContextKey();
nsresult Terminate();
nsresult ParseFragment(const nsAString *aSourceBuffer, void /*nsTArray<nsString>*/ *aTagStack);
nsresult BuildModel();
nsresult CancelParsingEvents();
void Reset();
PRB
ool CanInterrupt();
PRB
ool IsInsertionPointDefined();
b
ool CanInterrupt();
b
ool IsInsertionPointDefined();
void BeginEvaluatingParserInsertedScript();
void EndEvaluatingParserInsertedScript();
void MarkAsNotScriptCreated(const char *aCommand);
PRB
ool IsScriptCreated();
b
ool IsScriptCreated();
}
[
...
...
@@ -3338,16 +3339,16 @@ interface nsIDocumentObserver : nsIMutationObserver
void EndLoad(nsIDocument *aDocument);
void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent, nsEventStates *aStateMask);
void DocumentStatesChanged(nsIDocument *aDocument, nsEventStates *aStateMask);
void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
PRB
ool aDocumentSheet);
void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
PRB
ool aDocumentSheet);
void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
b
ool aDocumentSheet);
void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
b
ool aDocumentSheet);
void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
PRB
ool aApplicable);
b
ool aApplicable);
void StyleRuleChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aOldStyleRule,
nsIStyleRule *aNewStyleRule);
void StyleRuleAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule);
void StyleRuleRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule);
void BindToDocument(nsIDocument *aDocument, nsIContent *aContent);
void AttemptToExecuteScript(nsIContent *aContent, nsIParser *aParser,
PRB
ool *aBlock);
void AttemptToExecuteScript(nsIContent *aContent, nsIParser *aParser,
b
ool *aBlock);
}
[
...
...
@@ -3357,7 +3358,7 @@ interface nsIDocumentObserver : nsIMutationObserver
]
interface nsIContentUtils : nsISupports
{
PRB
ool IsSafeToRunScript();
b
ool IsSafeToRunScript();
nsresult AddDocumentObserver(nsIDocument *aDocument, nsIDocumentObserver *aObserver);
nsresult RemoveDocumentObserver(nsIDocument *aDocument, nsIDocumentObserver *aObserver);
nsresult AddMutationObserver(nsINode *aNode, nsIMutationObserver *aObserver);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment