Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan

Comment-only so DONTBUILD.
This commit is contained in:
Birunthan Mohanathas 2015-08-04 16:17:36 -07:00
parent 829ceaab9c
commit 9b6236a10a
147 changed files with 11 additions and 1201 deletions

View File

@ -47,7 +47,6 @@ nsDefaultURIFixup::~nsDefaultURIFixup()
{
}
/* nsIURI createExposableURI (in nsIURI aURI); */
NS_IMETHODIMP
nsDefaultURIFixup::CreateExposableURI(nsIURI* aURI, nsIURI** aReturn)
{
@ -111,7 +110,6 @@ nsDefaultURIFixup::CreateExposableURI(nsIURI* aURI, nsIURI** aReturn)
return NS_OK;
}
/* nsIURI createFixupURI (in nsAUTF8String aURIText, in unsigned long aFixupFlags); */
NS_IMETHODIMP
nsDefaultURIFixup::CreateFixupURI(const nsACString& aStringURI,
uint32_t aFixupFlags,

View File

@ -1988,7 +1988,6 @@ nsDocShell::GetChromeEventHandler(nsIDOMEventTarget** aChromeEventHandler)
return NS_OK;
}
/* void setCurrentURI (in nsIURI uri); */
NS_IMETHODIMP
nsDocShell::SetCurrentURI(nsIURI* aURI)
{
@ -7118,7 +7117,6 @@ nsDocShell::Embed(nsIContentViewer* aContentViewer,
return NS_OK;
}
/* void setIsPrinting (in boolean aIsPrinting); */
NS_IMETHODIMP
nsDocShell::SetIsPrinting(bool aIsPrinting)
{
@ -12808,7 +12806,6 @@ nsDocShell::IsFrame()
return !!parent;
}
/* boolean IsBeingDestroyed (); */
NS_IMETHODIMP
nsDocShell::IsBeingDestroyed(bool* aDoomed)
{

View File

@ -23,7 +23,6 @@ nsDocShellEnumerator::~nsDocShellEnumerator()
NS_IMPL_ISUPPORTS(nsDocShellEnumerator, nsISimpleEnumerator)
/* nsISupports getNext (); */
NS_IMETHODIMP
nsDocShellEnumerator::GetNext(nsISupports** aResult)
{
@ -45,7 +44,6 @@ nsDocShellEnumerator::GetNext(nsISupports** aResult)
return rv;
}
/* boolean hasMoreElements (); */
NS_IMETHODIMP
nsDocShellEnumerator::HasMoreElements(bool* aResult)
{

View File

@ -165,7 +165,6 @@ nsDocShellLoadInfo::SetPostDataStream(nsIInputStream* aStream)
return NS_OK;
}
/* attribute nsIInputStream headersStream; */
NS_IMETHODIMP
nsDocShellLoadInfo::GetHeadersStream(nsIInputStream** aHeadersStream)
{

View File

@ -53,7 +53,6 @@ AudioChannelAgent::Shutdown()
}
}
/* readonly attribute long audioChannelType; */
NS_IMETHODIMP AudioChannelAgent::GetAudioChannelType(int32_t *aAudioChannelType)
{
*aAudioChannelType = mAudioChannelType;
@ -128,7 +127,6 @@ AudioChannelAgent::InitInternal(nsIDOMWindow* aWindow, int32_t aChannelType,
return NS_OK;
}
/* boolean notifyStartedPlaying (); */
NS_IMETHODIMP AudioChannelAgent::NotifyStartedPlaying(float *aVolume,
bool* aMuted)
{
@ -150,7 +148,6 @@ NS_IMETHODIMP AudioChannelAgent::NotifyStartedPlaying(float *aVolume,
return NS_OK;
}
/* void notifyStoppedPlaying (); */
NS_IMETHODIMP AudioChannelAgent::NotifyStoppedPlaying(void)
{
if (mAudioChannelType == AUDIO_AGENT_CHANNEL_ERROR ||

View File

@ -294,7 +294,6 @@ Exception::StowJSVal(JS::Value& aVp)
}
}
/* readonly attribute AUTF8String message; */
NS_IMETHODIMP
Exception::GetMessageMoz(nsACString& aMessage)
{
@ -304,7 +303,6 @@ Exception::GetMessageMoz(nsACString& aMessage)
return NS_OK;
}
/* readonly attribute nsresult result; */
NS_IMETHODIMP
Exception::GetResult(nsresult* aResult)
{
@ -315,7 +313,6 @@ Exception::GetResult(nsresult* aResult)
return NS_OK;
}
/* readonly attribute AUTF8String name; */
NS_IMETHODIMP
Exception::GetName(nsACString& aName)
{
@ -337,7 +334,6 @@ Exception::GetName(nsACString& aName)
return NS_OK;
}
/* readonly attribute AString filename; */
NS_IMETHODIMP
Exception::GetFilename(nsAString& aFilename)
{
@ -351,7 +347,6 @@ Exception::GetFilename(nsAString& aFilename)
return NS_OK;
}
/* readonly attribute uint32_t lineNumber; */
NS_IMETHODIMP
Exception::GetLineNumber(uint32_t *aLineNumber)
{
@ -369,7 +364,6 @@ Exception::GetLineNumber(uint32_t *aLineNumber)
return NS_OK;
}
/* readonly attribute uint32_t columnNumber; */
NS_IMETHODIMP
Exception::GetColumnNumber(uint32_t* aColumnNumber)
{
@ -380,7 +374,6 @@ Exception::GetColumnNumber(uint32_t* aColumnNumber)
return NS_OK;
}
/* readonly attribute nsIStackFrame location; */
NS_IMETHODIMP
Exception::GetLocation(nsIStackFrame** aLocation)
{
@ -392,7 +385,6 @@ Exception::GetLocation(nsIStackFrame** aLocation)
return NS_OK;
}
/* readonly attribute nsISupports data; */
NS_IMETHODIMP
Exception::GetData(nsISupports** aData)
{
@ -404,7 +396,6 @@ Exception::GetData(nsISupports** aData)
return NS_OK;
}
/* readonly attribute nsIException inner; */
NS_IMETHODIMP
Exception::GetInner(nsIException** aException)
{
@ -416,7 +407,6 @@ Exception::GetInner(nsIException** aException)
return NS_OK;
}
/* AUTF8String toString (); */
NS_IMETHODIMP
Exception::ToString(nsACString& _retval)
{

View File

@ -179,21 +179,18 @@ NS_INTERFACE_MAP_END
NS_IMPL_CYCLE_COLLECTING_ADDREF(NodeIterator)
NS_IMPL_CYCLE_COLLECTING_RELEASE(NodeIterator)
/* readonly attribute nsIDOMNode root; */
NS_IMETHODIMP NodeIterator::GetRoot(nsIDOMNode * *aRoot)
{
NS_ADDREF(*aRoot = Root()->AsDOMNode());
return NS_OK;
}
/* readonly attribute unsigned long whatToShow; */
NS_IMETHODIMP NodeIterator::GetWhatToShow(uint32_t *aWhatToShow)
{
*aWhatToShow = WhatToShow();
return NS_OK;
}
/* readonly attribute nsIDOMNodeFilter filter; */
NS_IMETHODIMP NodeIterator::GetFilter(nsIDOMNodeFilter **aFilter)
{
NS_ENSURE_ARG_POINTER(aFilter);
@ -203,13 +200,11 @@ NS_IMETHODIMP NodeIterator::GetFilter(nsIDOMNodeFilter **aFilter)
return NS_OK;
}
/* nsIDOMNode nextNode () raises (DOMException); */
NS_IMETHODIMP NodeIterator::NextNode(nsIDOMNode **_retval)
{
return ImplNodeGetter(&NodeIterator::NextNode, _retval);
}
/* nsIDOMNode previousNode () raises (DOMException); */
NS_IMETHODIMP NodeIterator::PreviousNode(nsIDOMNode **_retval)
{
return ImplNodeGetter(&NodeIterator::PreviousNode, _retval);
@ -248,7 +243,6 @@ NodeIterator::NextOrPrevNode(NodePointer::MoveToMethodType aMove,
return nullptr;
}
/* void detach (); */
NS_IMETHODIMP NodeIterator::Detach(void)
{
if (mRoot) {
@ -257,7 +251,6 @@ NS_IMETHODIMP NodeIterator::Detach(void)
return NS_OK;
}
/* readonly attribute nsIDOMNode referenceNode; */
NS_IMETHODIMP NodeIterator::GetReferenceNode(nsIDOMNode * *aRefNode)
{
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(GetReferenceNode()));
@ -265,7 +258,6 @@ NS_IMETHODIMP NodeIterator::GetReferenceNode(nsIDOMNode * *aRefNode)
return NS_OK;
}
/* readonly attribute boolean pointerBeforeReferenceNode; */
NS_IMETHODIMP NodeIterator::GetPointerBeforeReferenceNode(bool *aBeforeNode)
{
*aBeforeNode = PointerBeforeReferenceNode();

View File

@ -37,7 +37,6 @@ ProcessGlobal::Get()
return static_cast<ProcessGlobal*>(service.get());
}
/* [notxpcom] boolean markForCC (); */
// This method isn't automatically forwarded safely because it's notxpcom, so
// the IDL binding doesn't know what value to return.
NS_IMETHODIMP_(bool)

View File

@ -61,21 +61,18 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(dom::TreeWalker)
* nsIDOMTreeWalker Getters/Setters
*/
/* readonly attribute nsIDOMNode root; */
NS_IMETHODIMP TreeWalker::GetRoot(nsIDOMNode * *aRoot)
{
NS_ADDREF(*aRoot = Root()->AsDOMNode());
return NS_OK;
}
/* readonly attribute unsigned long whatToShow; */
NS_IMETHODIMP TreeWalker::GetWhatToShow(uint32_t *aWhatToShow)
{
*aWhatToShow = WhatToShow();
return NS_OK;
}
/* readonly attribute nsIDOMNodeFilter filter; */
NS_IMETHODIMP TreeWalker::GetFilter(nsIDOMNodeFilter * *aFilter)
{
NS_ENSURE_ARG_POINTER(aFilter);
@ -85,7 +82,6 @@ NS_IMETHODIMP TreeWalker::GetFilter(nsIDOMNodeFilter * *aFilter)
return NS_OK;
}
/* attribute nsIDOMNode currentNode; */
NS_IMETHODIMP TreeWalker::GetCurrentNode(nsIDOMNode * *aCurrentNode)
{
if (mCurrentNode) {
@ -124,7 +120,6 @@ TreeWalker::SetCurrentNode(nsINode& aNode, ErrorResult& aResult)
* nsIDOMTreeWalker functions
*/
/* nsIDOMNode parentNode (); */
NS_IMETHODIMP TreeWalker::ParentNode(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::ParentNode, _retval);
@ -153,7 +148,6 @@ TreeWalker::ParentNode(ErrorResult& aResult)
return nullptr;
}
/* nsIDOMNode firstChild (); */
NS_IMETHODIMP TreeWalker::FirstChild(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::FirstChild, _retval);
@ -165,7 +159,6 @@ TreeWalker::FirstChild(ErrorResult& aResult)
return FirstChildInternal(false, aResult);
}
/* nsIDOMNode lastChild (); */
NS_IMETHODIMP TreeWalker::LastChild(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::LastChild, _retval);
@ -177,7 +170,6 @@ TreeWalker::LastChild(ErrorResult& aResult)
return FirstChildInternal(true, aResult);
}
/* nsIDOMNode previousSibling (); */
NS_IMETHODIMP TreeWalker::PreviousSibling(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::PreviousSibling, _retval);
@ -189,7 +181,6 @@ TreeWalker::PreviousSibling(ErrorResult& aResult)
return NextSiblingInternal(true, aResult);
}
/* nsIDOMNode nextSibling (); */
NS_IMETHODIMP TreeWalker::NextSibling(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::NextSibling, _retval);
@ -201,7 +192,6 @@ TreeWalker::NextSibling(ErrorResult& aResult)
return NextSiblingInternal(false, aResult);
}
/* nsIDOMNode previousNode (); */
NS_IMETHODIMP TreeWalker::PreviousNode(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::PreviousNode, _retval);
@ -260,7 +250,6 @@ TreeWalker::PreviousNode(ErrorResult& aResult)
return nullptr;
}
/* nsIDOMNode nextNode (); */
NS_IMETHODIMP TreeWalker::NextNode(nsIDOMNode **_retval)
{
return ImplNodeGetter(&TreeWalker::NextNode, _retval);

View File

@ -174,7 +174,6 @@ public:
NS_IMPL_ISUPPORTS(nsSelectionCommandsBase, nsIControllerCommand)
/* boolean isCommandEnabled (in string aCommandName, in nsISupports aCommandContext); */
NS_IMETHODIMP
nsSelectionCommandsBase::IsCommandEnabled(const char * aCommandName,
nsISupports *aCommandContext,
@ -186,7 +185,6 @@ nsSelectionCommandsBase::IsCommandEnabled(const char * aCommandName,
return NS_OK;
}
/* void getCommandStateParams (in string aCommandName, in nsICommandParams aParams, in nsISupports aCommandContext); */
NS_IMETHODIMP
nsSelectionCommandsBase::GetCommandStateParams(const char *aCommandName,
nsICommandParams *aParams, nsISupports *aCommandContext)
@ -195,7 +193,6 @@ nsSelectionCommandsBase::GetCommandStateParams(const char *aCommandName,
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void doCommandParams (in string aCommandName, in nsICommandParams aParams, in nsISupports aCommandContext); */
NS_IMETHODIMP
nsSelectionCommandsBase::DoCommandParams(const char *aCommandName,
nsICommandParams *aParams, nsISupports *aCommandContext)
@ -845,7 +842,6 @@ nsWebNavigationBaseCommand::DoCommand(const char *aCommandName,
return DoWebNavCommand(aCommandName, webNav);
}
/* void doCommandParams (in string aCommandName, in nsICommandParams aParams, in nsISupports aCommandContext); */
NS_IMETHODIMP
nsWebNavigationBaseCommand::DoCommandParams(const char *aCommandName,
nsICommandParams *aParams, nsISupports *aCommandContext)

View File

@ -113,7 +113,6 @@ nsInProcessTabChildGlobal::~nsInProcessTabChildGlobal()
mozilla::DropJSObjects(this);
}
/* [notxpcom] boolean markForCC (); */
// This method isn't automatically forwarded safely because it's notxpcom, so
// the IDL binding doesn't know what value to return.
NS_IMETHODIMP_(bool)

View File

@ -3045,7 +3045,6 @@ NS_IMETHODIMP nsJSArgArray::GetLength(uint32_t *aLength)
return NS_OK;
}
/* void queryElementAt (in unsigned long index, in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result); */
NS_IMETHODIMP nsJSArgArray::QueryElementAt(uint32_t index, const nsIID & uuid, void * *result)
{
*result = nullptr;
@ -3062,13 +3061,11 @@ NS_IMETHODIMP nsJSArgArray::QueryElementAt(uint32_t index, const nsIID & uuid, v
return NS_ERROR_NO_INTERFACE;
}
/* unsigned long indexOf (in unsigned long startIndex, in nsISupports element); */
NS_IMETHODIMP nsJSArgArray::IndexOf(uint32_t startIndex, nsISupports *element, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator enumerate (); */
NS_IMETHODIMP nsJSArgArray::Enumerate(nsISimpleEnumerator **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -16,7 +16,6 @@ nsOpenURIInFrameParams::nsOpenURIInFrameParams() :
nsOpenURIInFrameParams::~nsOpenURIInFrameParams() {
}
/* attribute DOMString referrer; */
NS_IMETHODIMP
nsOpenURIInFrameParams::GetReferrer(nsAString& aReferrer)
{
@ -30,7 +29,6 @@ nsOpenURIInFrameParams::SetReferrer(const nsAString& aReferrer)
return NS_OK;
}
/* attribute boolean isPrivate; */
NS_IMETHODIMP
nsOpenURIInFrameParams::GetIsPrivate(bool* aIsPrivate)
{

View File

@ -580,7 +580,6 @@ nsXMLHttpRequest::SizeOfEventTargetIncludingThis(
// - lots
}
/* readonly attribute nsIChannel channel; */
NS_IMETHODIMP
nsXMLHttpRequest::GetChannel(nsIChannel **aChannel)
{
@ -602,7 +601,6 @@ static void LogMessage(const char* aWarning, nsPIDOMWindow* aWindow)
aWarning);
}
/* readonly attribute nsIDOMDocument responseXML; */
NS_IMETHODIMP
nsXMLHttpRequest::GetResponseXML(nsIDOMDocument **aResponseXML)
{
@ -716,7 +714,6 @@ nsXMLHttpRequest::AppendToResponseText(const char * aSrcBuffer,
return NS_OK;
}
/* readonly attribute AString responseText; */
NS_IMETHODIMP
nsXMLHttpRequest::GetResponseText(nsAString& aResponseText)
{
@ -834,7 +831,6 @@ nsXMLHttpRequest::CreatePartialBlob()
mResponseBlob = mBlobSet->GetBlobInternal(GetOwner(), contentType);
}
/* attribute AString responseType; */
NS_IMETHODIMP nsXMLHttpRequest::GetResponseType(nsAString& aResponseType)
{
switch (mResponseType) {
@ -895,7 +891,6 @@ nsXMLHttpRequest::StaticAssertions()
}
#endif
/* attribute AString responseType; */
NS_IMETHODIMP nsXMLHttpRequest::SetResponseType(const nsAString& aResponseType)
{
nsXMLHttpRequest::ResponseTypeEnum responseType;
@ -964,7 +959,6 @@ nsXMLHttpRequest::SetResponseType(nsXMLHttpRequest::ResponseTypeEnum aResponseTy
}
/* readonly attribute jsval response; */
NS_IMETHODIMP
nsXMLHttpRequest::GetResponse(JSContext *aCx, JS::MutableHandle<JS::Value> aResult)
{
@ -1093,7 +1087,6 @@ nsXMLHttpRequest::IsDeniedCrossSiteRequest()
return false;
}
/* readonly attribute AString responseURL; */
void
nsXMLHttpRequest::GetResponseURL(nsAString& aUrl)
{
@ -1122,7 +1115,6 @@ nsXMLHttpRequest::GetResponseURL(nsAString& aUrl)
CopyUTF8toUTF16(temp, aUrl);
}
/* readonly attribute unsigned long status; */
NS_IMETHODIMP
nsXMLHttpRequest::GetStatus(uint32_t *aStatus)
{
@ -1259,7 +1251,6 @@ nsXMLHttpRequest::CloseRequestWithError(const nsAString& aType,
mState &= ~XML_HTTP_REQUEST_SYNCLOOPING;
}
/* void abort (); */
void
nsXMLHttpRequest::Abort()
{
@ -1329,7 +1320,6 @@ nsXMLHttpRequest::IsSafeHeader(const nsACString& header, nsIHttpChannel* httpCha
return isSafe;
}
/* ByteString getAllResponseHeaders(); */
IMPL_CSTRING_GETTER(GetAllResponseHeaders)
void
nsXMLHttpRequest::GetAllResponseHeaders(nsCString& aResponseHeaders)
@ -1984,7 +1974,6 @@ nsXMLHttpRequest::OnDataAvailable(nsIRequest *request,
return NS_OK;
}
/* void onStartRequest (in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
nsXMLHttpRequest::OnStartRequest(nsIRequest *request, nsISupports *ctxt)
{
@ -2219,7 +2208,6 @@ nsXMLHttpRequest::OnStartRequest(nsIRequest *request, nsISupports *ctxt)
return NS_OK;
}
/* void onStopRequest (in nsIRequest request, in nsISupports ctxt, in nsresult status, in wstring statusArg); */
NS_IMETHODIMP
nsXMLHttpRequest::OnStopRequest(nsIRequest *request, nsISupports *ctxt, nsresult status)
{
@ -2634,7 +2622,6 @@ nsXMLHttpRequest::GetRequestBody(nsIVariant* aVariant,
return NS_OK;
}
/* void send (in nsIVariant aBody); */
NS_IMETHODIMP
nsXMLHttpRequest::Send(nsIVariant *aBody)
{
@ -3038,7 +3025,6 @@ nsXMLHttpRequest::Send(nsIVariant* aVariant, const Nullable<RequestBody>& aBody)
return rv;
}
/* void setRequestHeader (in ByteString header, in ByteString value); */
// http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-xmlhttprequest-setrequestheader
NS_IMETHODIMP
nsXMLHttpRequest::SetRequestHeader(const nsACString& header,
@ -3144,7 +3130,6 @@ nsXMLHttpRequest::SetRequestHeader(const nsACString& header,
return rv;
}
/* attribute unsigned long timeout; */
NS_IMETHODIMP
nsXMLHttpRequest::GetTimeout(uint32_t *aTimeout)
{
@ -3208,7 +3193,6 @@ nsXMLHttpRequest::StartTimeoutTimer()
);
}
/* readonly attribute unsigned short readyState; */
NS_IMETHODIMP
nsXMLHttpRequest::GetReadyState(uint16_t *aState)
{
@ -3236,7 +3220,6 @@ nsXMLHttpRequest::ReadyState()
return DONE;
}
/* void overrideMimeType(in DOMString mimetype); */
NS_IMETHODIMP
nsXMLHttpRequest::SlowOverrideMimeType(const nsAString& aMimeType)
{
@ -3244,7 +3227,6 @@ nsXMLHttpRequest::SlowOverrideMimeType(const nsAString& aMimeType)
return NS_OK;
}
/* attribute boolean mozBackgroundRequest; */
NS_IMETHODIMP
nsXMLHttpRequest::GetMozBackgroundRequest(bool *_retval)
{
@ -3287,7 +3269,6 @@ nsXMLHttpRequest::SetMozBackgroundRequest(bool aMozBackgroundRequest, nsresult&
}
}
/* attribute boolean withCredentials; */
NS_IMETHODIMP
nsXMLHttpRequest::GetWithCredentials(bool *_retval)
{

View File

@ -352,14 +352,12 @@ NS_IMPL_RELEASE_INHERITED(JSStackFrame, StackFrame)
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(JSStackFrame)
NS_INTERFACE_MAP_END_INHERITING(StackFrame)
/* readonly attribute uint32_t language; */
NS_IMETHODIMP StackFrame::GetLanguage(uint32_t* aLanguage)
{
*aLanguage = mLanguage;
return NS_OK;
}
/* readonly attribute string languageName; */
NS_IMETHODIMP StackFrame::GetLanguageName(nsACString& aLanguageName)
{
aLanguageName.AssignLiteral("C++");
@ -409,7 +407,6 @@ GetValueIfNotCached(JSContext* aCx, JSObject* aStack,
aPropGetter(aCx, stack, aValue);
}
/* readonly attribute AString filename; */
NS_IMETHODIMP JSStackFrame::GetFilename(nsAString& aFilename)
{
if (!mStack) {
@ -454,7 +451,6 @@ NS_IMETHODIMP StackFrame::GetFilename(nsAString& aFilename)
return NS_OK;
}
/* readonly attribute AString name; */
NS_IMETHODIMP JSStackFrame::GetName(nsAString& aFunction)
{
if (!mStack) {
@ -531,7 +527,6 @@ JSStackFrame::GetLineno()
return line;
}
/* readonly attribute int32_t lineNumber; */
NS_IMETHODIMP StackFrame::GetLineNumber(int32_t* aLineNumber)
{
*aLineNumber = GetLineno();
@ -564,21 +559,18 @@ JSStackFrame::GetColNo()
return col;
}
/* readonly attribute int32_t columnNumber; */
NS_IMETHODIMP StackFrame::GetColumnNumber(int32_t* aColumnNumber)
{
*aColumnNumber = GetColNo();
return NS_OK;
}
/* readonly attribute AUTF8String sourceLine; */
NS_IMETHODIMP StackFrame::GetSourceLine(nsACString& aSourceLine)
{
aSourceLine.Truncate();
return NS_OK;
}
/* readonly attribute AString asyncCause; */
NS_IMETHODIMP JSStackFrame::GetAsyncCause(nsAString& aAsyncCause)
{
if (!mStack) {
@ -629,7 +621,6 @@ NS_IMETHODIMP StackFrame::GetAsyncCause(nsAString& aAsyncCause)
return NS_OK;
}
/* readonly attribute nsIStackFrame asyncCaller; */
NS_IMETHODIMP JSStackFrame::GetAsyncCaller(nsIStackFrame** aAsyncCaller)
{
if (!mStack) {
@ -666,7 +657,6 @@ NS_IMETHODIMP StackFrame::GetAsyncCaller(nsIStackFrame** aAsyncCaller)
return NS_OK;
}
/* readonly attribute nsIStackFrame caller; */
NS_IMETHODIMP JSStackFrame::GetCaller(nsIStackFrame** aCaller)
{
if (!mStack) {
@ -764,7 +754,6 @@ NS_IMETHODIMP StackFrame::GetFormattedStack(nsAString& aStack)
return NS_OK;
}
/* readonly attribute jsval nativeSavedFrame; */
NS_IMETHODIMP JSStackFrame::GetNativeSavedFrame(JS::MutableHandle<JS::Value> aSavedFrame)
{
aSavedFrame.setObjectOrNull(mStack);
@ -777,7 +766,6 @@ NS_IMETHODIMP StackFrame::GetNativeSavedFrame(JS::MutableHandle<JS::Value> aSave
return NS_OK;
}
/* AUTF8String toString (); */
NS_IMETHODIMP StackFrame::ToString(nsACString& _retval)
{
_retval.Truncate();

View File

@ -1308,7 +1308,6 @@ WebGLContext::GetContextAttributes(dom::Nullable<dom::WebGLContextAttributes>& r
result.mFailIfMajorPerformanceCaveat = mOptions.failIfMajorPerformanceCaveat;
}
/* [noscript] DOMString mozGetUnderlyingParamString(in GLenum pname); */
NS_IMETHODIMP
WebGLContext::MozGetUnderlyingParamString(uint32_t pname, nsAString& retval)
{

View File

@ -27,7 +27,6 @@ FocusEvent::FocusEvent(EventTarget* aOwner,
}
}
/* readonly attribute nsIDOMEventTarget relatedTarget; */
NS_IMETHODIMP
FocusEvent::GetRelatedTarget(nsIDOMEventTarget** aRelatedTarget)
{

View File

@ -39,7 +39,6 @@ NS_INTERFACE_MAP_BEGIN(SimpleGestureEvent)
NS_INTERFACE_MAP_ENTRY(nsIDOMSimpleGestureEvent)
NS_INTERFACE_MAP_END_INHERITING(MouseEvent)
/* attribute unsigned long allowedDirections; */
uint32_t
SimpleGestureEvent::AllowedDirections()
{
@ -61,7 +60,6 @@ SimpleGestureEvent::SetAllowedDirections(uint32_t aAllowedDirections)
return NS_OK;
}
/* readonly attribute unsigned long direction; */
uint32_t
SimpleGestureEvent::Direction()
{
@ -76,7 +74,6 @@ SimpleGestureEvent::GetDirection(uint32_t* aDirection)
return NS_OK;
}
/* readonly attribute float delta; */
double
SimpleGestureEvent::Delta()
{
@ -91,7 +88,6 @@ SimpleGestureEvent::GetDelta(double* aDelta)
return NS_OK;
}
/* readonly attribute unsigned long clickCount; */
uint32_t
SimpleGestureEvent::ClickCount()
{

View File

@ -39,7 +39,6 @@ GamepadServiceTest::~GamepadServiceTest()
{
}
/* uint32_t addGamepad(in unsigned long index, in string id, in unsigned long mapping, in unsigned long numButtons, in unsigned long numAxes); */
NS_IMETHODIMP
GamepadServiceTest::AddGamepad(const char* aID,
uint32_t aMapping,
@ -54,7 +53,6 @@ GamepadServiceTest::AddGamepad(const char* aID,
return NS_OK;
}
/* void removeGamepad (in uint32_t index); */
NS_IMETHODIMP GamepadServiceTest::RemoveGamepad(uint32_t aIndex)
{
GamepadFunctions::RemoveGamepad(aIndex);

View File

@ -573,7 +573,6 @@ HTMLMediaElement::SetMozSrcObject(DOMMediaStream* aValue)
DoLoad();
}
/* readonly attribute nsIDOMHTMLMediaElement mozAutoplayEnabled; */
NS_IMETHODIMP HTMLMediaElement::GetMozAutoplayEnabled(bool *aAutoplayEnabled)
{
*aAutoplayEnabled = mAutoplayEnabled;
@ -581,7 +580,6 @@ NS_IMETHODIMP HTMLMediaElement::GetMozAutoplayEnabled(bool *aAutoplayEnabled)
return NS_OK;
}
/* readonly attribute nsIDOMMediaError error; */
NS_IMETHODIMP HTMLMediaElement::GetError(nsIDOMMediaError * *aError)
{
NS_IF_ADDREF(*aError = mError);
@ -589,7 +587,6 @@ NS_IMETHODIMP HTMLMediaElement::GetError(nsIDOMMediaError * *aError)
return NS_OK;
}
/* readonly attribute boolean ended; */
bool
HTMLMediaElement::Ended()
{
@ -610,7 +607,6 @@ NS_IMETHODIMP HTMLMediaElement::GetEnded(bool* aEnded)
return NS_OK;
}
/* readonly attribute DOMString currentSrc; */
NS_IMETHODIMP HTMLMediaElement::GetCurrentSrc(nsAString & aCurrentSrc)
{
nsAutoCString src;
@ -619,7 +615,6 @@ NS_IMETHODIMP HTMLMediaElement::GetCurrentSrc(nsAString & aCurrentSrc)
return NS_OK;
}
/* readonly attribute unsigned short networkState; */
NS_IMETHODIMP HTMLMediaElement::GetNetworkState(uint16_t* aNetworkState)
{
*aNetworkState = NetworkState();
@ -811,7 +806,6 @@ void HTMLMediaElement::QueueSelectResourceTask()
NS_NewRunnableMethod(this, &HTMLMediaElement::SelectResourceWrapper));
}
/* void load (); */
NS_IMETHODIMP HTMLMediaElement::Load()
{
if (mIsRunningLoadMethod) {
@ -1347,7 +1341,6 @@ nsresult HTMLMediaElement::LoadWithChannel(nsIChannel* aChannel,
return NS_OK;
}
/* readonly attribute unsigned short readyState; */
NS_IMETHODIMP HTMLMediaElement::GetReadyState(uint16_t* aReadyState)
{
*aReadyState = ReadyState();
@ -1355,7 +1348,6 @@ NS_IMETHODIMP HTMLMediaElement::GetReadyState(uint16_t* aReadyState)
return NS_OK;
}
/* readonly attribute boolean seeking; */
bool
HTMLMediaElement::Seeking() const
{
@ -1368,7 +1360,6 @@ NS_IMETHODIMP HTMLMediaElement::GetSeeking(bool* aSeeking)
return NS_OK;
}
/* attribute double currentTime; */
double
HTMLMediaElement::CurrentTime() const
{
@ -1590,7 +1581,6 @@ NS_IMETHODIMP HTMLMediaElement::SetCurrentTime(double aCurrentTime)
return rv.StealNSResult();
}
/* readonly attribute double duration; */
double
HTMLMediaElement::Duration() const
{
@ -1621,7 +1611,6 @@ HTMLMediaElement::Seekable() const
return ranges.forget();
}
/* readonly attribute nsIDOMHTMLTimeRanges seekable; */
NS_IMETHODIMP HTMLMediaElement::GetSeekable(nsIDOMTimeRanges** aSeekable)
{
nsRefPtr<TimeRanges> ranges = Seekable();
@ -1629,7 +1618,6 @@ NS_IMETHODIMP HTMLMediaElement::GetSeekable(nsIDOMTimeRanges** aSeekable)
return NS_OK;
}
/* readonly attribute boolean paused; */
NS_IMETHODIMP HTMLMediaElement::GetPaused(bool* aPaused)
{
*aPaused = Paused();
@ -1665,7 +1653,6 @@ HTMLMediaElement::Played()
return ranges.forget();
}
/* readonly attribute nsIDOMHTMLTimeRanges played; */
NS_IMETHODIMP HTMLMediaElement::GetPlayed(nsIDOMTimeRanges** aPlayed)
{
nsRefPtr<TimeRanges> ranges = Played();
@ -1673,7 +1660,6 @@ NS_IMETHODIMP HTMLMediaElement::GetPlayed(nsIDOMTimeRanges** aPlayed)
return NS_OK;
}
/* void pause (); */
void
HTMLMediaElement::Pause(ErrorResult& aRv)
{
@ -1709,7 +1695,6 @@ NS_IMETHODIMP HTMLMediaElement::Pause()
return rv.StealNSResult();
}
/* attribute double volume; */
NS_IMETHODIMP HTMLMediaElement::GetVolume(double* aVolume)
{
*aVolume = Volume();
@ -1788,7 +1773,6 @@ HTMLMediaElement::MozGetMetadata(JSContext* cx, JS::MutableHandle<JS::Value> aVa
return rv.StealNSResult();
}
/* attribute boolean muted; */
NS_IMETHODIMP HTMLMediaElement::GetMuted(bool* aMuted)
{
*aMuted = Muted();
@ -4337,7 +4321,6 @@ void HTMLMediaElement::GetCurrentSpec(nsCString& aString)
}
}
/* attribute double mozFragmentEnd; */
double
HTMLMediaElement::MozFragmentEnd()
{
@ -4368,7 +4351,6 @@ static double ClampPlaybackRate(double aPlaybackRate)
return aPlaybackRate;
}
/* attribute double defaultPlaybackRate; */
NS_IMETHODIMP HTMLMediaElement::GetDefaultPlaybackRate(double* aDefaultPlaybackRate)
{
*aDefaultPlaybackRate = DefaultPlaybackRate();
@ -4394,7 +4376,6 @@ NS_IMETHODIMP HTMLMediaElement::SetDefaultPlaybackRate(double aDefaultPlaybackRa
return rv.StealNSResult();
}
/* attribute double playbackRate; */
NS_IMETHODIMP HTMLMediaElement::GetPlaybackRate(double* aPlaybackRate)
{
*aPlaybackRate = PlaybackRate();
@ -4434,7 +4415,6 @@ NS_IMETHODIMP HTMLMediaElement::SetPlaybackRate(double aPlaybackRate)
return rv.StealNSResult();
}
/* attribute bool mozPreservesPitch; */
NS_IMETHODIMP HTMLMediaElement::GetMozPreservesPitch(bool* aPreservesPitch)
{
*aPreservesPitch = MozPreservesPitch();
@ -4766,7 +4746,6 @@ HTMLMediaElement::VideoTracks()
return mVideoTrackList;
}
/* readonly attribute TextTrackList? textTracks; */
TextTrackList*
HTMLMediaElement::GetTextTracks()
{

View File

@ -57,7 +57,6 @@ protected:
virtual ~UndoTxn() {}
};
/* void doTransaction (); */
NS_IMETHODIMP
UndoTxn::DoTransaction()
{
@ -66,21 +65,18 @@ UndoTxn::DoTransaction()
return NS_OK;
}
/* void doTransaction (); */
NS_IMETHODIMP
UndoTxn::RedoTransaction()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void doTransaction (); */
NS_IMETHODIMP
UndoTxn::UndoTransaction()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isTransient; */
NS_IMETHODIMP
UndoTxn::GetIsTransient(bool* aIsTransient)
{
@ -88,7 +84,6 @@ UndoTxn::GetIsTransient(bool* aIsTransient)
return NS_OK;
}
/* boolean merge (in nsITransaction aTransaction); */
NS_IMETHODIMP
UndoTxn::Merge(nsITransaction* aTransaction, bool* aResult)
{

View File

@ -2476,7 +2476,6 @@ nsHTMLDocument::GenerateParserKey(void)
return script;
}
/* attribute DOMString designMode; */
NS_IMETHODIMP
nsHTMLDocument::GetDesignMode(nsAString & aDesignMode)
{
@ -3329,7 +3328,6 @@ nsHTMLDocument::ExecCommand(const nsAString& commandID,
return !rv.Failed();
}
/* boolean queryCommandEnabled(in DOMString commandID); */
NS_IMETHODIMP
nsHTMLDocument::QueryCommandEnabled(const nsAString& commandID,
bool* _retval)
@ -3384,7 +3382,6 @@ nsHTMLDocument::QueryCommandEnabled(const nsAString& commandID, ErrorResult& rv)
return retval;
}
/* boolean queryCommandIndeterm (in DOMString commandID); */
NS_IMETHODIMP
nsHTMLDocument::QueryCommandIndeterm(const nsAString & commandID,
bool *_retval)
@ -3442,7 +3439,6 @@ nsHTMLDocument::QueryCommandIndeterm(const nsAString& commandID, ErrorResult& rv
return retval;
}
/* boolean queryCommandState(in DOMString commandID); */
NS_IMETHODIMP
nsHTMLDocument::QueryCommandState(const nsAString & commandID, bool *_retval)
{
@ -3526,7 +3522,6 @@ nsHTMLDocument::QueryCommandState(const nsAString& commandID, ErrorResult& rv)
return retval;
}
/* boolean queryCommandSupported(in DOMString commandID); */
NS_IMETHODIMP
nsHTMLDocument::QueryCommandSupported(const nsAString & commandID,
bool *_retval)
@ -3561,7 +3556,6 @@ nsHTMLDocument::QueryCommandSupported(const nsAString& commandID)
return ConvertToMidasInternalCommand(commandID, cmdToDispatch);
}
/* DOMString queryCommandValue(in DOMString commandID); */
NS_IMETHODIMP
nsHTMLDocument::QueryCommandValue(const nsAString & commandID,
nsAString &_retval)

View File

@ -3046,7 +3046,6 @@ NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper)
NS_IMPL_ADDREF_INHERITED(TabChildGlobal, DOMEventTargetHelper)
NS_IMPL_RELEASE_INHERITED(TabChildGlobal, DOMEventTargetHelper)
/* [notxpcom] boolean markForCC (); */
// This method isn't automatically forwarded safely because it's notxpcom, so
// the IDL binding doesn't know what value to return.
NS_IMETHODIMP_(bool)

View File

@ -77,7 +77,6 @@ SVGGradientElement::GradientUnits()
return mEnumAttributes[GRADIENTUNITS].ToDOMAnimatedEnum(this);
}
/* readonly attribute SVGAnimatedTransformList gradientTransform; */
already_AddRefed<SVGAnimatedTransformList>
SVGGradientElement::GradientTransform()
{

View File

@ -291,14 +291,12 @@ SVGSVGElement::SuspendRedraw(uint32_t max_wait_milliseconds)
return 1;
}
/* void unsuspendRedraw (in unsigned long suspend_handle_id); */
void
SVGSVGElement::UnsuspendRedraw(uint32_t suspend_handle_id)
{
// no-op
}
/* void unsuspendRedrawAll (); */
void
SVGSVGElement::UnsuspendRedrawAll()
{

View File

@ -101,7 +101,6 @@ nsSVGElement::WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto)
//----------------------------------------------------------------------
/* readonly attribute SVGAnimatedString className; */
NS_IMETHODIMP
nsSVGElement::GetSVGClassName(nsISupports** aClassName)
{
@ -109,7 +108,6 @@ nsSVGElement::GetSVGClassName(nsISupports** aClassName)
return NS_OK;
}
/* readonly attribute nsIDOMCSSStyleDeclaration style; */
NS_IMETHODIMP
nsSVGElement::GetStyle(nsIDOMCSSStyleDeclaration** aStyle)
{
@ -1084,7 +1082,6 @@ nsSVGElement::sMaskMap[] = {
//----------------------------------------------------------------------
// nsIDOMSVGElement methods
/* readonly attribute nsIDOMSVGSVGElement ownerSVGElement; */
NS_IMETHODIMP
nsSVGElement::GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement)
{
@ -1098,7 +1095,6 @@ nsSVGElement::GetOwnerSVGElement()
return GetCtx(); // this may return nullptr
}
/* readonly attribute nsIDOMSVGElement viewportElement; */
NS_IMETHODIMP
nsSVGElement::GetViewportElement(nsIDOMSVGElement * *aViewportElement)
{

View File

@ -81,7 +81,6 @@ nsresult nsVolumeMountLock::Init()
return Lock(vol);
}
/* void unlock (); */
NS_IMETHODIMP nsVolumeMountLock::Unlock()
{
LOG("nsVolumeMountLock released for '%s'",

View File

@ -17,14 +17,12 @@ nsVolumeStat::nsVolumeStat(const nsAString& aPath)
}
}
/* readonly attribute long long totalBytes; */
NS_IMETHODIMP nsVolumeStat::GetTotalBytes(int64_t* aTotalBytes)
{
*aTotalBytes = mStat.f_blocks * mStat.f_bsize;
return NS_OK;
}
/* readonly attribute long long freeBytes; */
NS_IMETHODIMP nsVolumeStat::GetFreeBytes(int64_t* aFreeBytes)
{
*aFreeBytes = mStat.f_bfree * mStat.f_bsize;

View File

@ -201,7 +201,6 @@ nsXULControllers::RemoveController(nsIController *controller)
return NS_ERROR_FAILURE; // right thing to return if no controller found?
}
/* unsigned long getControllerId (in nsIController controller); */
NS_IMETHODIMP
nsXULControllers::GetControllerId(nsIController *controller, uint32_t *_retval)
{
@ -225,7 +224,6 @@ nsXULControllers::GetControllerId(nsIController *controller, uint32_t *_retval)
return NS_ERROR_FAILURE; // none found
}
/* nsIController getControllerById (in unsigned long controllerID); */
NS_IMETHODIMP
nsXULControllers::GetControllerById(uint32_t controllerID, nsIController **_retval)
{

View File

@ -1840,7 +1840,6 @@ nsXULTreeBuilder::SortSubtree(nsTreeRows::Subtree* aSubtree)
}
/* boolean canDrop (in long index, in long orientation); */
NS_IMETHODIMP
nsXULTreeBuilder::CanDrop(int32_t index, int32_t orientation,
nsIDOMDataTransfer* dataTransfer, bool *_retval)

View File

@ -666,7 +666,6 @@ nsEditorSpellCheck::UninitSpellChecker()
}
/* void setFilter (in nsITextServicesFilter filter); */
NS_IMETHODIMP
nsEditorSpellCheck::SetFilter(nsITextServicesFilter *filter)
{

View File

@ -600,7 +600,6 @@ nsEditor::GetWidget()
return widget.forget();
}
/* attribute string contentsMIMEType; */
NS_IMETHODIMP
nsEditor::GetContentsMIMEType(char * *aContentsMIMEType)
{

View File

@ -39,7 +39,6 @@ nsTransactionList::~nsTransactionList()
mTxnItem = 0;
}
/* readonly attribute long numItems; */
NS_IMETHODIMP nsTransactionList::GetNumItems(int32_t *aNumItems)
{
NS_ENSURE_TRUE(aNumItems, NS_ERROR_NULL_POINTER);
@ -60,7 +59,6 @@ NS_IMETHODIMP nsTransactionList::GetNumItems(int32_t *aNumItems)
return result;
}
/* boolean itemIsBatch (in long aIndex); */
NS_IMETHODIMP nsTransactionList::ItemIsBatch(int32_t aIndex, bool *aIsBatch)
{
NS_ENSURE_TRUE(aIsBatch, NS_ERROR_NULL_POINTER);
@ -123,7 +121,6 @@ NS_IMETHODIMP nsTransactionList::GetData(int32_t aIndex,
return NS_OK;
}
/* nsITransaction getItem (in long aIndex); */
NS_IMETHODIMP nsTransactionList::GetItem(int32_t aIndex, nsITransaction **aItem)
{
NS_ENSURE_TRUE(aItem, NS_ERROR_NULL_POINTER);
@ -152,7 +149,6 @@ NS_IMETHODIMP nsTransactionList::GetItem(int32_t aIndex, nsITransaction **aItem)
return NS_OK;
}
/* long getNumChildrenForItem (in long aIndex); */
NS_IMETHODIMP nsTransactionList::GetNumChildrenForItem(int32_t aIndex, int32_t *aNumChildren)
{
NS_ENSURE_TRUE(aNumChildren, NS_ERROR_NULL_POINTER);
@ -179,7 +175,6 @@ NS_IMETHODIMP nsTransactionList::GetNumChildrenForItem(int32_t aIndex, int32_t *
return item->GetNumberOfChildren(aNumChildren);
}
/* nsITransactionList getChildListForItem (in long aIndex); */
NS_IMETHODIMP nsTransactionList::GetChildListForItem(int32_t aIndex, nsITransactionList **aTxnList)
{
NS_ENSURE_TRUE(aTxnList, NS_ERROR_NULL_POINTER);

View File

@ -35,7 +35,6 @@ nsPrintProgress::~nsPrintProgress()
(void)ReleaseListeners();
}
/* void openProgressDialog (in nsIDOMWindow parent, in string dialogURL, in nsISupports parameters); */
NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
const char *dialogURL,
nsISupports *parameters,
@ -49,7 +48,6 @@ NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void closeProgressDialog (in boolean forceClose); */
NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
{
MOZ_ASSERT_UNREACHABLE("The nsPrintingPromptService::ShowProgress "
@ -59,7 +57,6 @@ NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIPrompt GetPrompter (); */
NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
{
NS_ENSURE_ARG_POINTER(_retval);
@ -71,7 +68,6 @@ NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
return NS_ERROR_FAILURE;
}
/* attribute boolean processCanceledByUser; */
NS_IMETHODIMP nsPrintProgress::GetProcessCanceledByUser(bool *aProcessCanceledByUser)
{
NS_ENSURE_ARG_POINTER(aProcessCanceledByUser);
@ -85,7 +81,6 @@ NS_IMETHODIMP nsPrintProgress::SetProcessCanceledByUser(bool aProcessCanceledByU
return NS_OK;
}
/* void RegisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listener)
{
if (!listener) //Nothing to do with a null listener!
@ -105,7 +100,6 @@ NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listene
return NS_OK;
}
/* void UnregisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listener)
{
if (listener)
@ -114,7 +108,6 @@ NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listen
return NS_OK;
}
/* void doneIniting (); */
NS_IMETHODIMP nsPrintProgress::DoneIniting()
{
if (m_observer) {
@ -123,7 +116,6 @@ NS_IMETHODIMP nsPrintProgress::DoneIniting()
return NS_OK;
}
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus); */
NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus)
{
m_pendingStateFlags = aStateFlags;
@ -140,7 +132,6 @@ NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRe
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, int32_t aCurSelfProgress, int32_t aMaxSelfProgress, int32_t aCurTotalProgress, int32_t aMaxTotalProgress)
{
uint32_t count = m_listenerList.Count();
@ -154,13 +145,11 @@ NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, ns
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location, in unsigned long aFlags); */
NS_IMETHODIMP nsPrintProgress::OnLocationChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location, uint32_t aFlags)
{
return NS_OK;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsresult aStatus, const char16_t *aMessage)
{
if (aMessage && *aMessage)
@ -177,7 +166,6 @@ NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIR
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP nsPrintProgress::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t state)
{
return NS_OK;
@ -194,31 +182,26 @@ NS_IMETHODIMP nsPrintProgress::ShowStatusString(const char16_t *status)
return OnStatusChange(nullptr, nullptr, NS_OK, status);
}
/* void startMeteors (); */
NS_IMETHODIMP nsPrintProgress::StartMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stopMeteors (); */
NS_IMETHODIMP nsPrintProgress::StopMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showProgress (in long percent); */
NS_IMETHODIMP nsPrintProgress::ShowProgress(int32_t percent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void setDocShell (in nsIDocShell shell, in nsIDOMWindow window); */
NS_IMETHODIMP nsPrintProgress::SetDocShell(nsIDocShell *shell, nsIDOMWindow *window)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void closeWindow (); */
NS_IMETHODIMP nsPrintProgress::CloseWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -17,7 +17,6 @@ nsPrintProgressParams::~nsPrintProgressParams()
{
}
/* attribute wstring docTitle; */
NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(char16_t * *aDocTitle)
{
NS_ENSURE_ARG(aDocTitle);
@ -32,7 +31,6 @@ NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const char16_t * aDocTitle)
return NS_OK;
}
/* attribute wstring docURL; */
NS_IMETHODIMP nsPrintProgressParams::GetDocURL(char16_t * *aDocURL)
{
NS_ENSURE_ARG(aDocURL);

View File

@ -42,7 +42,6 @@ nsPrintProgress::~nsPrintProgress()
(void)ReleaseListeners();
}
/* void openProgressDialog (in nsIDOMWindow parent, in string dialogURL, in nsISupports parameters); */
NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
const char *dialogURL,
nsISupports *parameters,
@ -105,7 +104,6 @@ NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
return rv;
}
/* void closeProgressDialog (in boolean forceClose); */
NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
{
m_closeProgress = true;
@ -114,7 +112,6 @@ NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
(nsresult)forceClose);
}
/* nsIPrompt GetPrompter (); */
NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
{
NS_ENSURE_ARG_POINTER(_retval);
@ -126,7 +123,6 @@ NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
return NS_ERROR_FAILURE;
}
/* attribute boolean processCanceledByUser; */
NS_IMETHODIMP nsPrintProgress::GetProcessCanceledByUser(bool *aProcessCanceledByUser)
{
NS_ENSURE_ARG_POINTER(aProcessCanceledByUser);
@ -142,7 +138,6 @@ NS_IMETHODIMP nsPrintProgress::SetProcessCanceledByUser(bool aProcessCanceledByU
return NS_OK;
}
/* void RegisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listener)
{
if (!listener) //Nothing to do with a null listener!
@ -161,7 +156,6 @@ NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listene
return NS_OK;
}
/* void UnregisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listener)
{
if (listener)
@ -170,7 +164,6 @@ NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listen
return NS_OK;
}
/* void doneIniting (); */
NS_IMETHODIMP nsPrintProgress::DoneIniting()
{
if (m_observer) {
@ -179,7 +172,6 @@ NS_IMETHODIMP nsPrintProgress::DoneIniting()
return NS_OK;
}
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus); */
NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus)
{
m_pendingStateFlags = aStateFlags;
@ -196,7 +188,6 @@ NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRe
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, int32_t aCurSelfProgress, int32_t aMaxSelfProgress, int32_t aCurTotalProgress, int32_t aMaxTotalProgress)
{
uint32_t count = m_listenerList.Count();
@ -210,13 +201,11 @@ NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, ns
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location, in unsigned long aFlags); */
NS_IMETHODIMP nsPrintProgress::OnLocationChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location, uint32_t aFlags)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsresult aStatus, const char16_t *aMessage)
{
if (aMessage && *aMessage)
@ -233,7 +222,6 @@ NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIR
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP nsPrintProgress::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t state)
{
return NS_OK;
@ -251,31 +239,26 @@ NS_IMETHODIMP nsPrintProgress::ShowStatusString(const char16_t *status)
return OnStatusChange(nullptr, nullptr, NS_OK, status);
}
/* void startMeteors (); */
NS_IMETHODIMP nsPrintProgress::StartMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stopMeteors (); */
NS_IMETHODIMP nsPrintProgress::StopMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showProgress (in long percent); */
NS_IMETHODIMP nsPrintProgress::ShowProgress(int32_t percent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void setDocShell (in nsIDocShell shell, in nsIDOMWindow window); */
NS_IMETHODIMP nsPrintProgress::SetDocShell(nsIDocShell *shell, nsIDOMWindow *window)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void closeWindow (); */
NS_IMETHODIMP nsPrintProgress::CloseWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -17,7 +17,6 @@ nsPrintProgressParams::~nsPrintProgressParams()
{
}
/* attribute wstring docTitle; */
NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(char16_t * *aDocTitle)
{
NS_ENSURE_ARG(aDocTitle);
@ -32,7 +31,6 @@ NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const char16_t * aDocTitle)
return NS_OK;
}
/* attribute wstring docURL; */
NS_IMETHODIMP nsPrintProgressParams::GetDocURL(char16_t * *aDocURL)
{
NS_ENSURE_ARG(aDocURL);

View File

@ -71,7 +71,6 @@ nsPrintingPromptService::Init()
return rv;
}
/* void showPrintDialog (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings); */
NS_IMETHODIMP
nsPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings)
{
@ -94,7 +93,6 @@ nsPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrin
return DoDialog(parent, block, webBrowserPrint, printSettings, kPrintDialogURL);
}
/* void showProgress (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings, in nsIObserver openDialogObserver, in boolean isForPrinting, out nsIWebProgressListener webProgressListener, out nsIPrintProgressParams printProgressParams, out boolean notifyOnOpen); */
NS_IMETHODIMP
nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
nsIWebBrowserPrint* webBrowserPrint, // ok to be null
@ -135,7 +133,6 @@ nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
return NS_OK;
}
/* void showPageSetup (in nsIDOMWindow parent, in nsIPrintSettings printSettings); */
NS_IMETHODIMP
nsPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs)
{
@ -156,7 +153,6 @@ nsPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *p
return DoDialog(parent, block, nullptr, printSettings, kPageSetupDialogURL);
}
/* void showPrinterProperties (in nsIDOMWindow parent, in wstring printerName, in nsIPrintSettings printSettings); */
NS_IMETHODIMP
nsPrintingPromptService::ShowPrinterProperties(nsIDOMWindow *parent, const char16_t *printerName, nsIPrintSettings *printSettings)
{
@ -251,7 +247,6 @@ nsPrintingPromptService::DoDialog(nsIDOMWindow *aParent,
// nsIWebProgressListener
//////////////////////////////////////////////////////////////////////
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus); */
NS_IMETHODIMP
nsPrintingPromptService::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus)
{
@ -266,7 +261,6 @@ nsPrintingPromptService::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP
nsPrintingPromptService::OnProgressChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, int32_t aCurSelfProgress, int32_t aMaxSelfProgress, int32_t aCurTotalProgress, int32_t aMaxTotalProgress)
{
@ -276,7 +270,6 @@ nsPrintingPromptService::OnProgressChange(nsIWebProgress *aWebProgress, nsIReque
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location, in unsigned long aFlags); */
NS_IMETHODIMP
nsPrintingPromptService::OnLocationChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location, uint32_t aFlags)
{
@ -286,7 +279,6 @@ nsPrintingPromptService::OnLocationChange(nsIWebProgress *aWebProgress, nsIReque
return NS_OK;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP
nsPrintingPromptService::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsresult aStatus, const char16_t *aMessage)
{
@ -296,7 +288,6 @@ nsPrintingPromptService::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP
nsPrintingPromptService::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t state)
{

View File

@ -69,7 +69,6 @@ nsPrintProgress::~nsPrintProgress()
(void)ReleaseListeners();
}
/* void openProgressDialog (in nsIDOMWindow parent, in string dialogURL, in nsISupports parameters); */
NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
const char *dialogURL,
nsISupports *parameters,
@ -132,7 +131,6 @@ NS_IMETHODIMP nsPrintProgress::OpenProgressDialog(nsIDOMWindow *parent,
return rv;
}
/* void closeProgressDialog (in boolean forceClose); */
NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
{
m_closeProgress = true;
@ -141,7 +139,6 @@ NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
static_cast<nsresult>(forceClose));
}
/* nsIPrompt GetPrompter (); */
NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
{
NS_ENSURE_ARG_POINTER(_retval);
@ -153,7 +150,6 @@ NS_IMETHODIMP nsPrintProgress::GetPrompter(nsIPrompt **_retval)
return NS_ERROR_FAILURE;
}
/* attribute boolean processCanceledByUser; */
NS_IMETHODIMP nsPrintProgress::GetProcessCanceledByUser(bool *aProcessCanceledByUser)
{
NS_ENSURE_ARG_POINTER(aProcessCanceledByUser);
@ -167,7 +163,6 @@ NS_IMETHODIMP nsPrintProgress::SetProcessCanceledByUser(bool aProcessCanceledByU
return NS_OK;
}
/* void RegisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listener)
{
if (!listener) //Nothing to do with a null listener!
@ -187,7 +182,6 @@ NS_IMETHODIMP nsPrintProgress::RegisterListener(nsIWebProgressListener * listene
return NS_OK;
}
/* void UnregisterListener (in nsIWebProgressListener listener); */
NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listener)
{
if (listener)
@ -196,7 +190,6 @@ NS_IMETHODIMP nsPrintProgress::UnregisterListener(nsIWebProgressListener *listen
return NS_OK;
}
/* void doneIniting (); */
NS_IMETHODIMP nsPrintProgress::DoneIniting()
{
if (m_observer) {
@ -205,7 +198,6 @@ NS_IMETHODIMP nsPrintProgress::DoneIniting()
return NS_OK;
}
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus); */
NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus)
{
m_pendingStateFlags = aStateFlags;
@ -222,7 +214,6 @@ NS_IMETHODIMP nsPrintProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRe
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, int32_t aCurSelfProgress, int32_t aMaxSelfProgress, int32_t aCurTotalProgress, int32_t aMaxTotalProgress)
{
uint32_t count = m_listenerList.Count();
@ -236,13 +227,11 @@ NS_IMETHODIMP nsPrintProgress::OnProgressChange(nsIWebProgress *aWebProgress, ns
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location, in unsigned long aFlags); */
NS_IMETHODIMP nsPrintProgress::OnLocationChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location, uint32_t aFlags)
{
return NS_OK;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsresult aStatus, const char16_t *aMessage)
{
if (aMessage && *aMessage)
@ -259,7 +248,6 @@ NS_IMETHODIMP nsPrintProgress::OnStatusChange(nsIWebProgress *aWebProgress, nsIR
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP nsPrintProgress::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t state)
{
return NS_OK;
@ -276,31 +264,26 @@ NS_IMETHODIMP nsPrintProgress::ShowStatusString(const char16_t *status)
return OnStatusChange(nullptr, nullptr, NS_OK, status);
}
/* void startMeteors (); */
NS_IMETHODIMP nsPrintProgress::StartMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stopMeteors (); */
NS_IMETHODIMP nsPrintProgress::StopMeteors()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showProgress (in long percent); */
NS_IMETHODIMP nsPrintProgress::ShowProgress(int32_t percent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void setDocShell (in nsIDocShell shell, in nsIDOMWindow window); */
NS_IMETHODIMP nsPrintProgress::SetDocShell(nsIDocShell *shell, nsIDOMWindow *window)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void closeWindow (); */
NS_IMETHODIMP nsPrintProgress::CloseWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -17,7 +17,6 @@ nsPrintProgressParams::~nsPrintProgressParams()
{
}
/* attribute wstring docTitle; */
NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(char16_t * *aDocTitle)
{
NS_ENSURE_ARG(aDocTitle);
@ -32,7 +31,6 @@ NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const char16_t * aDocTitle)
return NS_OK;
}
/* attribute wstring docURL; */
NS_IMETHODIMP nsPrintProgressParams::GetDocURL(char16_t * *aDocURL)
{
NS_ENSURE_ARG(aDocURL);

View File

@ -157,7 +157,6 @@ nsPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrin
}
/* void showProgress (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings, in nsIObserver openDialogObserver, in boolean isForPrinting, out nsIWebProgressListener webProgressListener, out nsIPrintProgressParams printProgressParams, out boolean notifyOnOpen); */
NS_IMETHODIMP
nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
nsIWebBrowserPrint* webBrowserPrint, // ok to be null
@ -203,7 +202,6 @@ nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
return NS_OK;
}
/* void showPageSetup (in nsIDOMWindow parent, in nsIPrintSettings printSettings); */
NS_IMETHODIMP
nsPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs)
{
@ -229,7 +227,6 @@ nsPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *p
return rv;
}
/* void showPrinterProperties (in nsIDOMWindow parent, in wstring printerName, in nsIPrintSettings printSettings); */
NS_IMETHODIMP
nsPrintingPromptService::ShowPrinterProperties(nsIDOMWindow *parent, const char16_t *printerName, nsIPrintSettings *printSettings)
{
@ -293,7 +290,6 @@ nsPrintingPromptService::DoDialog(nsIDOMWindow *aParent,
// nsIWebProgressListener
//////////////////////////////////////////////////////////////////////
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in nsresult aStatus); */
NS_IMETHODIMP
nsPrintingPromptService::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus)
{
@ -310,7 +306,6 @@ nsPrintingPromptService::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP
nsPrintingPromptService::OnProgressChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, int32_t aCurSelfProgress, int32_t aMaxSelfProgress, int32_t aCurTotalProgress, int32_t aMaxTotalProgress)
{
@ -321,7 +316,6 @@ nsPrintingPromptService::OnProgressChange(nsIWebProgress *aWebProgress, nsIReque
return NS_ERROR_FAILURE;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location, in unsigned long aFlags); */
NS_IMETHODIMP
nsPrintingPromptService::OnLocationChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location, uint32_t aFlags)
{
@ -332,7 +326,6 @@ nsPrintingPromptService::OnLocationChange(nsIWebProgress *aWebProgress, nsIReque
return NS_ERROR_FAILURE;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP
nsPrintingPromptService::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsresult aStatus, const char16_t *aMessage)
{
@ -343,7 +336,6 @@ nsPrintingPromptService::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
return NS_ERROR_FAILURE;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP
nsPrintingPromptService::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t state)
{

View File

@ -270,7 +270,6 @@ NS_IMETHODIMP nsWebBrowserPersist::GetInterface(const nsIID & aIID, void **aIFac
// nsWebBrowserPersist::nsIWebBrowserPersist
//*****************************************************************************
/* attribute unsigned long persistFlags; */
NS_IMETHODIMP nsWebBrowserPersist::GetPersistFlags(uint32_t *aPersistFlags)
{
NS_ENSURE_ARG_POINTER(aPersistFlags);
@ -285,7 +284,6 @@ NS_IMETHODIMP nsWebBrowserPersist::SetPersistFlags(uint32_t aPersistFlags)
return NS_OK;
}
/* readonly attribute unsigned long currentState; */
NS_IMETHODIMP nsWebBrowserPersist::GetCurrentState(uint32_t *aCurrentState)
{
NS_ENSURE_ARG_POINTER(aCurrentState);
@ -304,7 +302,6 @@ NS_IMETHODIMP nsWebBrowserPersist::GetCurrentState(uint32_t *aCurrentState)
return NS_OK;
}
/* readonly attribute unsigned long result; */
NS_IMETHODIMP nsWebBrowserPersist::GetResult(nsresult *aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
@ -312,7 +309,6 @@ NS_IMETHODIMP nsWebBrowserPersist::GetResult(nsresult *aResult)
return NS_OK;
}
/* attribute nsIWebBrowserPersistProgress progressListener; */
NS_IMETHODIMP nsWebBrowserPersist::GetProgressListener(
nsIWebProgressListener * *aProgressListener)
{
@ -366,7 +362,6 @@ NS_IMETHODIMP nsWebBrowserPersist::SavePrivacyAwareURI(
return NS_FAILED(rv) ? rv : NS_OK;
}
/* void saveChannel (in nsIChannel aChannel, in nsISupports aFile); */
NS_IMETHODIMP nsWebBrowserPersist::SaveChannel(
nsIChannel *aChannel, nsISupports *aFile)
{
@ -480,7 +475,6 @@ NS_IMETHODIMP nsWebBrowserPersist::SaveDocument(
return rv;
}
/* void cancel(nsresult aReason); */
NS_IMETHODIMP nsWebBrowserPersist::Cancel(nsresult aReason)
{
mCancel = true;
@ -489,7 +483,6 @@ NS_IMETHODIMP nsWebBrowserPersist::Cancel(nsresult aReason)
}
/* void cancelSave(); */
NS_IMETHODIMP nsWebBrowserPersist::CancelSave()
{
return Cancel(NS_BINDING_ABORTED);

View File

@ -136,7 +136,6 @@ mozHunspell::~mozHunspell()
delete mHunspell;
}
/* attribute wstring dictionary; */
NS_IMETHODIMP mozHunspell::GetDictionary(char16_t **aDictionary)
{
NS_ENSURE_ARG_POINTER(aDictionary);
@ -237,7 +236,6 @@ NS_IMETHODIMP mozHunspell::SetDictionary(const char16_t *aDictionary)
return NS_OK;
}
/* readonly attribute wstring language; */
NS_IMETHODIMP mozHunspell::GetLanguage(char16_t **aLanguage)
{
NS_ENSURE_ARG_POINTER(aLanguage);
@ -249,7 +247,6 @@ NS_IMETHODIMP mozHunspell::GetLanguage(char16_t **aLanguage)
return *aLanguage ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute boolean providesPersonalDictionary; */
NS_IMETHODIMP mozHunspell::GetProvidesPersonalDictionary(bool *aProvidesPersonalDictionary)
{
NS_ENSURE_ARG_POINTER(aProvidesPersonalDictionary);
@ -258,7 +255,6 @@ NS_IMETHODIMP mozHunspell::GetProvidesPersonalDictionary(bool *aProvidesPersonal
return NS_OK;
}
/* readonly attribute boolean providesWordUtils; */
NS_IMETHODIMP mozHunspell::GetProvidesWordUtils(bool *aProvidesWordUtils)
{
NS_ENSURE_ARG_POINTER(aProvidesWordUtils);
@ -267,19 +263,16 @@ NS_IMETHODIMP mozHunspell::GetProvidesWordUtils(bool *aProvidesWordUtils)
return NS_OK;
}
/* readonly attribute wstring name; */
NS_IMETHODIMP mozHunspell::GetName(char16_t * *aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute wstring copyright; */
NS_IMETHODIMP mozHunspell::GetCopyright(char16_t * *aCopyright)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute mozIPersonalDictionary personalDictionary; */
NS_IMETHODIMP mozHunspell::GetPersonalDictionary(mozIPersonalDictionary * *aPersonalDictionary)
{
*aPersonalDictionary = mPersonalDictionary;
@ -314,7 +307,6 @@ AppendNewString(const nsAString& aString, nsIFile* aFile, void* aClosure)
return PL_DHASH_NEXT;
}
/* void GetDictionaryList ([array, size_is (count)] out wstring dictionaries, out uint32_t count); */
NS_IMETHODIMP mozHunspell::GetDictionaryList(char16_t ***aDictionaries,
uint32_t *aCount)
{
@ -519,7 +511,6 @@ nsresult mozHunspell::ConvertCharset(const char16_t* aStr, char ** aDst)
return rv;
}
/* boolean Check (in wstring word); */
NS_IMETHODIMP mozHunspell::Check(const char16_t *aWord, bool *aResult)
{
NS_ENSURE_ARG_POINTER(aWord);
@ -539,7 +530,6 @@ NS_IMETHODIMP mozHunspell::Check(const char16_t *aWord, bool *aResult)
return rv;
}
/* void Suggest (in wstring word, [array, size_is (count)] out wstring suggestions, out uint32_t count); */
NS_IMETHODIMP mozHunspell::Suggest(const char16_t *aWord, char16_t ***aSuggestions, uint32_t *aSuggestionCount)
{
NS_ENSURE_ARG_POINTER(aSuggestions);
@ -603,7 +593,6 @@ mozHunspell::Observe(nsISupports* aSubj, const char *aTopic,
return NS_OK;
}
/* void addDirectory(in nsIFile dir); */
NS_IMETHODIMP mozHunspell::AddDirectory(nsIFile *aDir)
{
mDynamicDirectories.AppendObject(aDir);
@ -611,7 +600,6 @@ NS_IMETHODIMP mozHunspell::AddDirectory(nsIFile *aDir)
return NS_OK;
}
/* void removeDirectory(in nsIFile dir); */
NS_IMETHODIMP mozHunspell::RemoveDirectory(nsIFile *aDir)
{
mDynamicDirectories.RemoveObject(aDir);

View File

@ -36,7 +36,6 @@ mozEnglishWordUtils::~mozEnglishWordUtils()
{
}
/* attribute wstring language; */
NS_IMETHODIMP mozEnglishWordUtils::GetLanguage(char16_t * *aLanguage)
{
nsresult rv = NS_OK;
@ -47,7 +46,6 @@ NS_IMETHODIMP mozEnglishWordUtils::GetLanguage(char16_t * *aLanguage)
return rv;
}
/* void GetRootForm (in wstring aWord, in uint32_t type, [array, size_is (count)] out wstring words, out uint32_t count); */
// return the possible root forms of aWord.
NS_IMETHODIMP mozEnglishWordUtils::GetRootForm(const char16_t *aWord, uint32_t type, char16_t ***words, uint32_t *count)
{
@ -138,7 +136,6 @@ bool mozEnglishWordUtils::ucIsAlpha(char16_t aChar)
return nsIUGenCategory::kLetter == mozilla::unicode::GetGenCategory(aChar);
}
/* void FindNextWord (in wstring word, in uint32_t length, in uint32_t offset, out uint32_t begin, out uint32_t end); */
NS_IMETHODIMP mozEnglishWordUtils::FindNextWord(const char16_t *word, uint32_t length, uint32_t offset, int32_t *begin, int32_t *end)
{
const char16_t *p = word + offset;

View File

@ -18,25 +18,21 @@ mozGenericWordUtils::~mozGenericWordUtils()
/* destructor code */
}
/* readonly attribute wstring language; */
NS_IMETHODIMP mozGenericWordUtils::GetLanguage(char16_t * *aLanguage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void GetRootForm (in wstring word, in uint32_t type, [array, size_is (count)] out wstring words, out uint32_t count); */
NS_IMETHODIMP mozGenericWordUtils::GetRootForm(const char16_t *word, uint32_t type, char16_t ***words, uint32_t *count)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void FromRootForm (in wstring word, [array, size_is (icount)] in wstring iwords, in uint32_t icount, [array, size_is (ocount)] out wstring owords, out uint32_t ocount); */
NS_IMETHODIMP mozGenericWordUtils::FromRootForm(const char16_t *word, const char16_t **iwords, uint32_t icount, char16_t ***owords, uint32_t *ocount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void FindNextWord (in wstring word, in uint32_t length, in uint32_t offset, out uint32_t begin, out uint32_t end); */
NS_IMETHODIMP mozGenericWordUtils::FindNextWord(const char16_t *word, uint32_t length, uint32_t offset, int32_t *begin, int32_t *end)
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -389,7 +389,6 @@ NS_IMETHODIMP mozPersonalDictionary::Save()
return res;
}
/* readonly attribute nsIStringEnumerator GetWordList() */
NS_IMETHODIMP mozPersonalDictionary::GetWordList(nsIStringEnumerator **aWords)
{
NS_ENSURE_ARG_POINTER(aWords);
@ -407,7 +406,6 @@ NS_IMETHODIMP mozPersonalDictionary::GetWordList(nsIStringEnumerator **aWords)
return NS_NewAdoptingStringEnumerator(aWords, array);
}
/* boolean Check (in wstring word, in wstring language); */
NS_IMETHODIMP mozPersonalDictionary::Check(const char16_t *aWord, const char16_t *aLanguage, bool *aResult)
{
NS_ENSURE_ARG_POINTER(aWord);
@ -419,7 +417,6 @@ NS_IMETHODIMP mozPersonalDictionary::Check(const char16_t *aWord, const char16_t
return NS_OK;
}
/* void AddWord (in wstring word); */
NS_IMETHODIMP mozPersonalDictionary::AddWord(const char16_t *aWord, const char16_t *aLang)
{
nsresult res;
@ -430,7 +427,6 @@ NS_IMETHODIMP mozPersonalDictionary::AddWord(const char16_t *aWord, const char16
return res;
}
/* void RemoveWord (in wstring word); */
NS_IMETHODIMP mozPersonalDictionary::RemoveWord(const char16_t *aWord, const char16_t *aLang)
{
nsresult res;
@ -441,7 +437,6 @@ NS_IMETHODIMP mozPersonalDictionary::RemoveWord(const char16_t *aWord, const cha
return res;
}
/* void IgnoreWord (in wstring word); */
NS_IMETHODIMP mozPersonalDictionary::IgnoreWord(const char16_t *aWord)
{
// avoid adding duplicate words to the ignore list
@ -450,7 +445,6 @@ NS_IMETHODIMP mozPersonalDictionary::IgnoreWord(const char16_t *aWord)
return NS_OK;
}
/* void EndSession (); */
NS_IMETHODIMP mozPersonalDictionary::EndSession()
{
WaitForLoad();
@ -460,25 +454,21 @@ NS_IMETHODIMP mozPersonalDictionary::EndSession()
return NS_OK;
}
/* void AddCorrection (in wstring word, in wstring correction); */
NS_IMETHODIMP mozPersonalDictionary::AddCorrection(const char16_t *word, const char16_t *correction, const char16_t *lang)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void RemoveCorrection (in wstring word, in wstring correction); */
NS_IMETHODIMP mozPersonalDictionary::RemoveCorrection(const char16_t *word, const char16_t *correction, const char16_t *lang)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void GetCorrection (in wstring word, [array, size_is (count)] out wstring words, out uint32_t count); */
NS_IMETHODIMP mozPersonalDictionary::GetCorrection(const char16_t *word, char16_t ***words, uint32_t *count)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void observe (in nsISupports aSubject, in string aTopic, in wstring aData); */
NS_IMETHODIMP mozPersonalDictionary::Observe(nsISupports *aSubject, const char *aTopic, const char16_t *aData)
{
if (!nsCRT::strcmp(aTopic, "profile-do-change")) {

View File

@ -20,7 +20,6 @@ mozSpellI18NManager::~mozSpellI18NManager()
/* destructor code */
}
/* mozISpellI18NUtil GetUtil (in wstring language); */
NS_IMETHODIMP mozSpellI18NManager::GetUtil(const char16_t *aLanguage, mozISpellI18NUtil **_retval)
{
if( nullptr == _retval) {

View File

@ -341,7 +341,6 @@ RasterImage::RequestRefresh(const TimeStamp& aTime)
}
//******************************************************************************
/* readonly attribute int32_t width; */
NS_IMETHODIMP
RasterImage::GetWidth(int32_t* aWidth)
{
@ -357,7 +356,6 @@ RasterImage::GetWidth(int32_t* aWidth)
}
//******************************************************************************
/* readonly attribute int32_t height; */
NS_IMETHODIMP
RasterImage::GetHeight(int32_t* aHeight)
{
@ -373,7 +371,6 @@ RasterImage::GetHeight(int32_t* aHeight)
}
//******************************************************************************
/* [noscript] readonly attribute nsSize intrinsicSize; */
NS_IMETHODIMP
RasterImage::GetIntrinsicSize(nsSize* aSize)
{
@ -387,7 +384,6 @@ RasterImage::GetIntrinsicSize(nsSize* aSize)
}
//******************************************************************************
/* [noscript] readonly attribute nsSize intrinsicRatio; */
NS_IMETHODIMP
RasterImage::GetIntrinsicRatio(nsSize* aRatio)
{
@ -406,7 +402,6 @@ RasterImage::GetOrientation()
}
//******************************************************************************
/* unsigned short GetType(); */
NS_IMETHODIMP
RasterImage::GetType(uint16_t* aType)
{
@ -570,7 +565,6 @@ RasterImage::OnSurfaceDiscarded()
}
//******************************************************************************
/* readonly attribute boolean animated; */
NS_IMETHODIMP
RasterImage::GetAnimated(bool* aAnimated)
{
@ -599,7 +593,6 @@ RasterImage::GetAnimated(bool* aAnimated)
}
//******************************************************************************
/* [notxpcom] int32_t getFirstFrameDelay (); */
NS_IMETHODIMP_(int32_t)
RasterImage::GetFirstFrameDelay()
{
@ -991,7 +984,7 @@ RasterImage::SetAnimationMode(uint16_t aAnimationMode)
}
//******************************************************************************
/* void StartAnimation () */
nsresult
RasterImage::StartAnimation()
{
@ -1023,7 +1016,6 @@ RasterImage::StartAnimation()
}
//******************************************************************************
/* void stopAnimation (); */
nsresult
RasterImage::StopAnimation()
{
@ -1041,7 +1033,6 @@ RasterImage::StopAnimation()
}
//******************************************************************************
/* void resetAnimation (); */
NS_IMETHODIMP
RasterImage::ResetAnimation()
{
@ -1284,14 +1275,14 @@ RasterImage::CanDiscard() {
}
//******************************************************************************
/* void requestDecode() */
NS_IMETHODIMP
RasterImage::RequestDecode()
{
return RequestDecodeForSize(mSize, DECODE_FLAGS_DEFAULT);
}
/* void startDecode() */
NS_IMETHODIMP
RasterImage::StartDecoding()
{
@ -1774,7 +1765,7 @@ RasterImage::Draw(gfxContext* aContext,
}
//******************************************************************************
/* void lockImage() */
NS_IMETHODIMP
RasterImage::LockImage()
{
@ -1796,7 +1787,7 @@ RasterImage::LockImage()
}
//******************************************************************************
/* void unlockImage() */
NS_IMETHODIMP
RasterImage::UnlockImage()
{
@ -1825,7 +1816,7 @@ RasterImage::UnlockImage()
}
//******************************************************************************
/* void requestDiscard() */
NS_IMETHODIMP
RasterImage::RequestDiscard()
{
@ -1905,7 +1896,6 @@ RasterImage::ShouldAnimate()
!mAnimationFinished;
}
/* readonly attribute uint32_t framesNotified; */
#ifdef DEBUG
NS_IMETHODIMP
RasterImage::GetFramesNotified(uint32_t* aFramesNotified)

View File

@ -214,7 +214,6 @@ SVGDocumentWrapper::OnDataAvailable(nsIRequest* aRequest, nsISupports* ctxt,
/** nsIRequestObserver methods **/
/* void onStartRequest (in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
SVGDocumentWrapper::OnStartRequest(nsIRequest* aRequest, nsISupports* ctxt)
{

View File

@ -492,7 +492,6 @@ VectorImage::SetAnimationStartTime(const TimeStamp& aTime)
// imgIContainer methods
//******************************************************************************
/* readonly attribute int32_t width; */
NS_IMETHODIMP
VectorImage::GetWidth(int32_t* aWidth)
{
@ -508,7 +507,6 @@ VectorImage::GetWidth(int32_t* aWidth)
}
//******************************************************************************
/* [notxpcom] void requestRefresh ([const] in TimeStamp aTime); */
NS_IMETHODIMP_(void)
VectorImage::RequestRefresh(const TimeStamp& aTime)
{
@ -558,7 +556,6 @@ VectorImage::GetImageSpaceInvalidationRect(const IntRect& aRect)
}
//******************************************************************************
/* readonly attribute int32_t height; */
NS_IMETHODIMP
VectorImage::GetHeight(int32_t* aHeight)
{
@ -574,7 +571,6 @@ VectorImage::GetHeight(int32_t* aHeight)
}
//******************************************************************************
/* [noscript] readonly attribute nsSize intrinsicSize; */
NS_IMETHODIMP
VectorImage::GetIntrinsicSize(nsSize* aSize)
{
@ -600,7 +596,6 @@ VectorImage::GetIntrinsicSize(nsSize* aSize)
}
//******************************************************************************
/* [noscript] readonly attribute nsSize intrinsicRatio; */
NS_IMETHODIMP
VectorImage::GetIntrinsicRatio(nsSize* aRatio)
{
@ -624,7 +619,6 @@ VectorImage::GetOrientation()
}
//******************************************************************************
/* readonly attribute unsigned short type; */
NS_IMETHODIMP
VectorImage::GetType(uint16_t* aType)
{
@ -635,7 +629,6 @@ VectorImage::GetType(uint16_t* aType)
}
//******************************************************************************
/* readonly attribute boolean animated; */
NS_IMETHODIMP
VectorImage::GetAnimated(bool* aAnimated)
{
@ -648,7 +641,6 @@ VectorImage::GetAnimated(bool* aAnimated)
}
//******************************************************************************
/* [notxpcom] int32_t getFirstFrameDelay (); */
int32_t
VectorImage::GetFirstFrameDelay()
{
@ -730,7 +722,6 @@ VectorImage::IsImageContainerAvailable(LayerManager* aManager, uint32_t aFlags)
}
//******************************************************************************
/* [noscript] ImageContainer getImageContainer(); */
NS_IMETHODIMP_(already_AddRefed<ImageContainer>)
VectorImage::GetImageContainer(LayerManager* aManager, uint32_t aFlags)
{
@ -958,7 +949,7 @@ VectorImage::RecoverFromLossOfSurfaces()
}
//******************************************************************************
/* void requestDecode() */
NS_IMETHODIMP
VectorImage::RequestDecode()
{
@ -983,7 +974,7 @@ VectorImage::RequestDecodeForSize(const nsIntSize& aSize, uint32_t aFlags)
}
//******************************************************************************
/* void lockImage() */
NS_IMETHODIMP
VectorImage::LockImage()
{
@ -1004,7 +995,7 @@ VectorImage::LockImage()
}
//******************************************************************************
/* void unlockImage() */
NS_IMETHODIMP
VectorImage::UnlockImage()
{
@ -1030,7 +1021,7 @@ VectorImage::UnlockImage()
}
//******************************************************************************
/* void requestDiscard() */
NS_IMETHODIMP
VectorImage::RequestDiscard()
{
@ -1055,7 +1046,6 @@ VectorImage::OnSurfaceDiscarded()
}
//******************************************************************************
/* void resetAnimation (); */
NS_IMETHODIMP
VectorImage::ResetAnimation()
{
@ -1085,7 +1075,6 @@ VectorImage::GetFrameIndex(uint32_t aWhichFrame)
// nsIRequestObserver methods
//******************************************************************************
/* void onStartRequest(in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
VectorImage::OnStartRequest(nsIRequest* aRequest, nsISupports* aCtxt)
{

View File

@ -238,7 +238,6 @@ nsJPEGEncoder::EndImageEncode()
}
/* void close (); */
NS_IMETHODIMP
nsJPEGEncoder::Close()
{
@ -252,7 +251,6 @@ nsJPEGEncoder::Close()
return NS_OK;
}
/* unsigned long available (); */
NS_IMETHODIMP
nsJPEGEncoder::Available(uint64_t* _retval)
{
@ -264,7 +262,6 @@ nsJPEGEncoder::Available(uint64_t* _retval)
return NS_OK;
}
/* [noscript] unsigned long read (in charPtr aBuf, in unsigned long aCount); */
NS_IMETHODIMP
nsJPEGEncoder::Read(char* aBuf, uint32_t aCount, uint32_t* _retval)
{
@ -302,7 +299,6 @@ nsJPEGEncoder::ReadSegments(nsWriteSegmentFun aWriter,
return NS_OK;
}
/* boolean isNonBlocking (); */
NS_IMETHODIMP
nsJPEGEncoder::IsNonBlocking(bool* _retval)
{

View File

@ -524,7 +524,6 @@ nsPNGEncoder::ParseOptions(const nsAString& aOptions,
}
/* void close (); */
NS_IMETHODIMP
nsPNGEncoder::Close()
{
@ -538,7 +537,6 @@ nsPNGEncoder::Close()
return NS_OK;
}
/* unsigned long available (); */
NS_IMETHODIMP
nsPNGEncoder::Available(uint64_t* _retval)
{
@ -592,7 +590,6 @@ nsPNGEncoder::ReadSegments(nsWriteSegmentFun aWriter,
return NS_OK;
}
/* boolean isNonBlocking (); */
NS_IMETHODIMP
nsPNGEncoder::IsNonBlocking(bool* _retval)
{

View File

@ -1316,7 +1316,6 @@ void imgLoader::ReadAcceptHeaderPref()
}
}
/* void clearCache (in boolean chrome); */
NS_IMETHODIMP
imgLoader::ClearCache(bool chrome)
{
@ -1327,7 +1326,6 @@ imgLoader::ClearCache(bool chrome)
}
}
/* void removeEntry(in nsIURI uri); */
NS_IMETHODIMP
imgLoader::RemoveEntry(nsIURI* aURI)
{
@ -1338,7 +1336,6 @@ imgLoader::RemoveEntry(nsIURI* aURI)
return NS_ERROR_NOT_AVAILABLE;
}
/* imgIRequest findEntry(in nsIURI uri); */
NS_IMETHODIMP
imgLoader::FindEntryProperties(nsIURI* uri, nsIProperties** _retval)
{
@ -2579,7 +2576,6 @@ ProxyListener::~ProxyListener()
/** nsIRequestObserver methods **/
/* void onStartRequest (in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
ProxyListener::OnStartRequest(nsIRequest* aRequest, nsISupports* ctxt)
{
@ -2726,7 +2722,6 @@ imgCacheValidator::AddProxy(imgRequestProxy* aProxy)
/** nsIRequestObserver methods **/
/* void onStartRequest (in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
imgCacheValidator::OnStartRequest(nsIRequest* aRequest, nsISupports* ctxt)
{

View File

@ -710,7 +710,6 @@ imgRequest::HadInsecureRedirect() const
/** nsIRequestObserver methods **/
/* void onStartRequest (in nsIRequest request, in nsISupports ctxt); */
NS_IMETHODIMP
imgRequest::OnStartRequest(nsIRequest* aRequest, nsISupports* ctxt)
{

View File

@ -281,7 +281,6 @@ imgRequestProxy::RemoveFromLoadGroup(bool releaseLoadGroup)
/** nsIRequest / imgIRequest methods **/
/* readonly attribute wstring name; */
NS_IMETHODIMP
imgRequestProxy::GetName(nsACString& aName)
{
@ -294,21 +293,18 @@ imgRequestProxy::GetName(nsACString& aName)
return NS_OK;
}
/* boolean isPending (); */
NS_IMETHODIMP
imgRequestProxy::IsPending(bool* _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsresult status; */
NS_IMETHODIMP
imgRequestProxy::GetStatus(nsresult* aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cancel (in nsresult status); */
NS_IMETHODIMP
imgRequestProxy::Cancel(nsresult status)
{
@ -334,7 +330,6 @@ imgRequestProxy::DoCancel(nsresult status)
NullOutListener();
}
/* void cancelAndForgetObserver (in nsresult aStatus); */
NS_IMETHODIMP
imgRequestProxy::CancelAndForgetObserver(nsresult aStatus)
{
@ -373,7 +368,6 @@ imgRequestProxy::CancelAndForgetObserver(nsresult aStatus)
return NS_OK;
}
/* void startDecode (); */
NS_IMETHODIMP
imgRequestProxy::StartDecoding()
{
@ -392,7 +386,6 @@ imgRequestProxy::StartDecoding()
return NS_OK;
}
/* void requestDecode (); */
NS_IMETHODIMP
imgRequestProxy::RequestDecode()
{
@ -412,7 +405,6 @@ imgRequestProxy::RequestDecode()
}
/* void lockImage (); */
NS_IMETHODIMP
imgRequestProxy::LockImage()
{
@ -424,7 +416,6 @@ imgRequestProxy::LockImage()
return NS_OK;
}
/* void unlockImage (); */
NS_IMETHODIMP
imgRequestProxy::UnlockImage()
{
@ -438,7 +429,6 @@ imgRequestProxy::UnlockImage()
return NS_OK;
}
/* void requestDiscard (); */
NS_IMETHODIMP
imgRequestProxy::RequestDiscard()
{
@ -487,21 +477,18 @@ imgRequestProxy::ClearAnimationConsumers()
}
}
/* void suspend (); */
NS_IMETHODIMP
imgRequestProxy::Suspend()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void resume (); */
NS_IMETHODIMP
imgRequestProxy::Resume()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILoadGroup loadGroup */
NS_IMETHODIMP
imgRequestProxy::GetLoadGroup(nsILoadGroup** loadGroup)
{
@ -515,7 +502,6 @@ imgRequestProxy::SetLoadGroup(nsILoadGroup* loadGroup)
return NS_OK;
}
/* attribute nsLoadFlags loadFlags */
NS_IMETHODIMP
imgRequestProxy::GetLoadFlags(nsLoadFlags* flags)
{
@ -531,7 +517,6 @@ imgRequestProxy::SetLoadFlags(nsLoadFlags flags)
/** imgIRequest methods **/
/* attribute imgIContainer image; */
NS_IMETHODIMP
imgRequestProxy::GetImage(imgIContainer** aImage)
{
@ -557,7 +542,6 @@ imgRequestProxy::GetImage(imgIContainer** aImage)
return NS_OK;
}
/* readonly attribute unsigned long imageStatus; */
NS_IMETHODIMP
imgRequestProxy::GetImageStatus(uint32_t* aStatus)
{
@ -567,7 +551,6 @@ imgRequestProxy::GetImageStatus(uint32_t* aStatus)
return NS_OK;
}
/* readonly attribute nresult imageErrorCode; */
NS_IMETHODIMP
imgRequestProxy::GetImageErrorCode(nsresult* aStatus)
{
@ -580,7 +563,6 @@ imgRequestProxy::GetImageErrorCode(nsresult* aStatus)
return NS_OK;
}
/* readonly attribute nsIURI URI; */
NS_IMETHODIMP
imgRequestProxy::GetURI(nsIURI** aURI)
{
@ -612,7 +594,6 @@ imgRequestProxy::GetURI(ImageURL** aURI)
return NS_OK;
}
/* readonly attribute imgINotificationObserver notificationObserver; */
NS_IMETHODIMP
imgRequestProxy::GetNotificationObserver(imgINotificationObserver** aObserver)
{
@ -621,7 +602,6 @@ imgRequestProxy::GetNotificationObserver(imgINotificationObserver** aObserver)
return NS_OK;
}
/* readonly attribute string mimeType; */
NS_IMETHODIMP
imgRequestProxy::GetMimeType(char** aMimeType)
{
@ -711,7 +691,6 @@ imgRequestProxy::PerformClone(imgINotificationObserver* aObserver,
return NS_OK;
}
/* readonly attribute nsIPrincipal imagePrincipal; */
NS_IMETHODIMP
imgRequestProxy::GetImagePrincipal(nsIPrincipal** aPrincipal)
{
@ -723,7 +702,6 @@ imgRequestProxy::GetImagePrincipal(nsIPrincipal** aPrincipal)
return NS_OK;
}
/* readonly attribute bool multipart; */
NS_IMETHODIMP
imgRequestProxy::GetMultipart(bool* aMultipart)
{
@ -736,7 +714,6 @@ imgRequestProxy::GetMultipart(bool* aMultipart)
return NS_OK;
}
/* readonly attribute int32_t CORSMode; */
NS_IMETHODIMP
imgRequestProxy::GetCORSMode(int32_t* aCorsMode)
{

View File

@ -18,14 +18,12 @@ nsSemanticUnitScanner::~nsSemanticUnitScanner()
}
/* void start (in string characterSet); */
NS_IMETHODIMP nsSemanticUnitScanner::Start(const char *characterSet)
{
// do nothing for now.
return NS_OK;
}
/* void next (in wstring text, in long length, in long pos, out boolean hasMoreUnits, out long begin, out long end); */
NS_IMETHODIMP nsSemanticUnitScanner::Next(const char16_t *text, int32_t length, int32_t pos, bool isLastBuffer, int32_t *begin, int32_t *end, bool *_retval)
{
// xxx need to bullet proff and check input pointer

View File

@ -191,7 +191,6 @@ nsStringBundle::FormatStringFromName(const char16_t *aName,
NS_IMPL_ISUPPORTS(nsStringBundle, nsIStringBundle)
/* void GetStringFromID (in long aID, out wstring aResult); */
NS_IMETHODIMP
nsStringBundle::GetStringFromID(int32_t aID, char16_t **aResult)
{
@ -211,7 +210,6 @@ nsStringBundle::GetStringFromID(int32_t aID, char16_t **aResult)
return NS_OK;
}
/* void GetStringFromName (in wstring aName, out wstring aResult); */
NS_IMETHODIMP
nsStringBundle::GetStringFromName(const char16_t *aName, char16_t **aResult)
{

View File

@ -55,7 +55,6 @@ nsScriptableUnicodeConverter::ConvertFromUnicodeWithLength(const nsAString& aSrc
return NS_ERROR_FAILURE;
}
/* ACString ConvertFromUnicode (in AString src); */
NS_IMETHODIMP
nsScriptableUnicodeConverter::ConvertFromUnicode(const nsAString& aSrc,
nsACString& _retval)
@ -95,7 +94,6 @@ nsScriptableUnicodeConverter::FinishWithLength(char **_retval, int32_t* aLength)
}
/* ACString Finish(); */
NS_IMETHODIMP
nsScriptableUnicodeConverter::Finish(nsACString& _retval)
{
@ -122,7 +120,6 @@ nsScriptableUnicodeConverter::Finish(nsACString& _retval)
return rv;
}
/* AString ConvertToUnicode (in ACString src); */
NS_IMETHODIMP
nsScriptableUnicodeConverter::ConvertToUnicode(const nsACString& aSrc, nsAString& _retval)
{
@ -203,7 +200,6 @@ nsScriptableUnicodeConverter::ConvertToByteArray(const nsAString& aString,
return NS_OK;
}
/* nsIInputStream convertToInputStream(in AString aString); */
NS_IMETHODIMP
nsScriptableUnicodeConverter::ConvertToInputStream(const nsAString& aString,
nsIInputStream** _retval)
@ -230,7 +226,6 @@ nsScriptableUnicodeConverter::ConvertToInputStream(const nsAString& aString,
return rv;
}
/* attribute string charset; */
NS_IMETHODIMP
nsScriptableUnicodeConverter::GetCharset(char * *aCharset)
{

View File

@ -1051,7 +1051,6 @@ mozJSComponentLoader::ImportInto(const nsACString& aLocation,
return NS_OK;
}
/* boolean isModuleLoaded (in AUTF8String registryLocation); */
NS_IMETHODIMP
mozJSComponentLoader::IsModuleLoaded(const nsACString& aLocation,
bool* retval)

View File

@ -73,7 +73,6 @@ XPC_MAP_CLASSNAME::GetScriptableFlags()
/**************************************************************/
#ifndef XPC_MAP_WANT_PRECREATE
/* void preCreate (in nsISupports nativeObj, in JSContextPtr cx, in JSObjectPtr globalObj, out JSObjectPtr parentObj); */
NS_IMETHODIMP XPC_MAP_CLASSNAME::PreCreate(nsISupports* nativeObj, JSContext * cx, JSObject * globalObj, JSObject * *parentObj)
{NS_ERROR("never called"); return NS_ERROR_NOT_IMPLEMENTED;}
#endif

View File

@ -233,7 +233,6 @@ XPCCallContext::~XPCCallContext()
}
}
/* readonly attribute nsISupports Callee; */
NS_IMETHODIMP
XPCCallContext::GetCallee(nsISupports * *aCallee)
{
@ -242,7 +241,6 @@ XPCCallContext::GetCallee(nsISupports * *aCallee)
return NS_OK;
}
/* readonly attribute uint16_t CalleeMethodIndex; */
NS_IMETHODIMP
XPCCallContext::GetCalleeMethodIndex(uint16_t* aCalleeMethodIndex)
{
@ -250,7 +248,6 @@ XPCCallContext::GetCalleeMethodIndex(uint16_t* aCalleeMethodIndex)
return NS_OK;
}
/* readonly attribute XPCNativeInterface CalleeInterface; */
NS_IMETHODIMP
XPCCallContext::GetCalleeInterface(nsIInterfaceInfo * *aCalleeInterface)
{
@ -259,7 +256,6 @@ XPCCallContext::GetCalleeInterface(nsIInterfaceInfo * *aCalleeInterface)
return NS_OK;
}
/* readonly attribute nsIClassInfo CalleeClassInfo; */
NS_IMETHODIMP
XPCCallContext::GetCalleeClassInfo(nsIClassInfo * *aCalleeClassInfo)
{
@ -268,7 +264,6 @@ XPCCallContext::GetCalleeClassInfo(nsIClassInfo * *aCalleeClassInfo)
return NS_OK;
}
/* readonly attribute JSContextPtr JSContext; */
NS_IMETHODIMP
XPCCallContext::GetJSContext(JSContext * *aJSContext)
{
@ -277,7 +272,6 @@ XPCCallContext::GetJSContext(JSContext * *aJSContext)
return NS_OK;
}
/* readonly attribute uint32_t Argc; */
NS_IMETHODIMP
XPCCallContext::GetArgc(uint32_t* aArgc)
{
@ -285,7 +279,6 @@ XPCCallContext::GetArgc(uint32_t* aArgc)
return NS_OK;
}
/* readonly attribute JSValPtr ArgvPtr; */
NS_IMETHODIMP
XPCCallContext::GetArgvPtr(Value** aArgvPtr)
{

View File

@ -149,7 +149,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -157,7 +156,6 @@ nsXPCComponents_Interfaces::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetContractID(char * *aContractID)
{
@ -165,7 +163,6 @@ nsXPCComponents_Interfaces::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetClassDescription(char * *aClassDescription)
{
@ -174,7 +171,6 @@ nsXPCComponents_Interfaces::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetClassID(nsCID * *aClassID)
{
@ -182,7 +178,6 @@ nsXPCComponents_Interfaces::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetFlags(uint32_t* aFlags)
{
@ -192,7 +187,6 @@ nsXPCComponents_Interfaces::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -382,7 +376,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -390,7 +383,6 @@ nsXPCComponents_InterfacesByID::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetContractID(char * *aContractID)
{
@ -398,7 +390,6 @@ nsXPCComponents_InterfacesByID::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetClassDescription(char * *aClassDescription)
{
@ -407,7 +398,6 @@ nsXPCComponents_InterfacesByID::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetClassID(nsCID * *aClassID)
{
@ -415,7 +405,6 @@ nsXPCComponents_InterfacesByID::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetFlags(uint32_t* aFlags)
{
@ -425,7 +414,6 @@ nsXPCComponents_InterfacesByID::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -617,7 +605,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_Classes::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -625,7 +612,6 @@ nsXPCComponents_Classes::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_Classes::GetContractID(char * *aContractID)
{
@ -633,7 +619,6 @@ nsXPCComponents_Classes::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_Classes::GetClassDescription(char * *aClassDescription)
{
@ -642,7 +627,6 @@ nsXPCComponents_Classes::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_Classes::GetClassID(nsCID * *aClassID)
{
@ -650,7 +634,6 @@ nsXPCComponents_Classes::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_Classes::GetFlags(uint32_t* aFlags)
{
@ -658,7 +641,6 @@ nsXPCComponents_Classes::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_Classes::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -832,7 +814,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -840,7 +821,6 @@ nsXPCComponents_ClassesByID::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetContractID(char * *aContractID)
{
@ -848,7 +828,6 @@ nsXPCComponents_ClassesByID::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetClassDescription(char * *aClassDescription)
{
@ -857,7 +836,6 @@ nsXPCComponents_ClassesByID::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetClassID(nsCID * *aClassID)
{
@ -865,7 +843,6 @@ nsXPCComponents_ClassesByID::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetFlags(uint32_t* aFlags)
{
@ -873,7 +850,6 @@ nsXPCComponents_ClassesByID::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_ClassesByID::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -1070,7 +1046,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_Results::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -1078,7 +1053,6 @@ nsXPCComponents_Results::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_Results::GetContractID(char * *aContractID)
{
@ -1086,7 +1060,6 @@ nsXPCComponents_Results::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_Results::GetClassDescription(char * *aClassDescription)
{
@ -1095,7 +1068,6 @@ nsXPCComponents_Results::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_Results::GetClassID(nsCID * *aClassID)
{
@ -1103,7 +1075,6 @@ nsXPCComponents_Results::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_Results::GetFlags(uint32_t* aFlags)
{
@ -1113,7 +1084,6 @@ nsXPCComponents_Results::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_Results::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -1268,7 +1238,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_ID::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -1276,7 +1245,6 @@ nsXPCComponents_ID::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_ID::GetContractID(char * *aContractID)
{
@ -1284,7 +1252,6 @@ nsXPCComponents_ID::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_ID::GetClassDescription(char * *aClassDescription)
{
@ -1293,7 +1260,6 @@ nsXPCComponents_ID::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_ID::GetClassID(nsCID * *aClassID)
{
@ -1301,7 +1267,6 @@ nsXPCComponents_ID::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_ID::GetFlags(uint32_t* aFlags)
{
@ -1309,7 +1274,6 @@ nsXPCComponents_ID::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_ID::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -1345,7 +1309,6 @@ NS_IMPL_RELEASE(nsXPCComponents_ID)
#include "xpc_map_end.h" /* This will #undef the above */
/* bool call (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_ID::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObject* objArg,
const CallArgs& args, bool* _retval)
@ -1354,7 +1317,6 @@ nsXPCComponents_ID::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSOb
return CallOrConstruct(wrapper, cx, obj, args, _retval);
}
/* bool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_ID::Construct(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObject* objArg,
const CallArgs& args, bool* _retval)
@ -1404,7 +1366,6 @@ nsXPCComponents_ID::CallOrConstruct(nsIXPConnectWrappedNative* wrapper,
return NS_OK;
}
/* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */
NS_IMETHODIMP
nsXPCComponents_ID::HasInstance(nsIXPConnectWrappedNative* wrapper,
JSContext* cx, JSObject* obj,
@ -1476,7 +1437,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_Exception::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -1484,7 +1444,6 @@ nsXPCComponents_Exception::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_Exception::GetContractID(char * *aContractID)
{
@ -1492,7 +1451,6 @@ nsXPCComponents_Exception::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_Exception::GetClassDescription(char * *aClassDescription)
{
@ -1501,7 +1459,6 @@ nsXPCComponents_Exception::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_Exception::GetClassID(nsCID * *aClassID)
{
@ -1509,7 +1466,6 @@ nsXPCComponents_Exception::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_Exception::GetFlags(uint32_t* aFlags)
{
@ -1517,7 +1473,6 @@ nsXPCComponents_Exception::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_Exception::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -1553,7 +1508,6 @@ NS_IMPL_RELEASE(nsXPCComponents_Exception)
#include "xpc_map_end.h" /* This will #undef the above */
/* bool call (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_Exception::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObject* objArg,
const CallArgs& args, bool* _retval)
@ -1562,7 +1516,6 @@ nsXPCComponents_Exception::Call(nsIXPConnectWrappedNative* wrapper, JSContext* c
return CallOrConstruct(wrapper, cx, obj, args, _retval);
}
/* bool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_Exception::Construct(nsIXPConnectWrappedNative* wrapper, JSContext* cx,
JSObject* objArg, const CallArgs& args, bool* _retval)
@ -1756,7 +1709,6 @@ nsXPCComponents_Exception::CallOrConstruct(nsIXPConnectWrappedNative* wrapper,
return NS_OK;
}
/* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */
NS_IMETHODIMP
nsXPCComponents_Exception::HasInstance(nsIXPConnectWrappedNative* wrapper,
JSContext * cx, JSObject * obj,
@ -1852,7 +1804,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCConstructor::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -1860,7 +1811,6 @@ nsXPCConstructor::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCConstructor::GetContractID(char * *aContractID)
{
@ -1868,7 +1818,6 @@ nsXPCConstructor::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCConstructor::GetClassDescription(char * *aClassDescription)
{
@ -1877,7 +1826,6 @@ nsXPCConstructor::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCConstructor::GetClassID(nsCID * *aClassID)
{
@ -1885,7 +1833,6 @@ nsXPCConstructor::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCConstructor::GetFlags(uint32_t* aFlags)
{
@ -1893,7 +1840,6 @@ nsXPCConstructor::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCConstructor::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -1917,7 +1863,6 @@ nsXPCConstructor::~nsXPCConstructor()
free(mInitializer);
}
/* readonly attribute nsIJSCID classID; */
NS_IMETHODIMP
nsXPCConstructor::GetClassID(nsIJSCID * *aClassID)
{
@ -1926,7 +1871,6 @@ nsXPCConstructor::GetClassID(nsIJSCID * *aClassID)
return NS_OK;
}
/* readonly attribute nsIJSIID interfaceID; */
NS_IMETHODIMP
nsXPCConstructor::GetInterfaceID(nsIJSIID * *aInterfaceID)
{
@ -1935,7 +1879,6 @@ nsXPCConstructor::GetInterfaceID(nsIJSIID * *aInterfaceID)
return NS_OK;
}
/* readonly attribute string initializer; */
NS_IMETHODIMP
nsXPCConstructor::GetInitializer(char * *aInitializer)
{
@ -1961,7 +1904,6 @@ NS_IMPL_RELEASE(nsXPCConstructor)
#include "xpc_map_end.h" /* This will #undef the above */
/* bool call (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCConstructor::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObject* objArg,
const CallArgs& args, bool* _retval)
@ -1971,7 +1913,6 @@ nsXPCConstructor::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObje
}
/* bool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCConstructor::Construct(nsIXPConnectWrappedNative* wrapper, JSContext* cx, JSObject* objArg,
const CallArgs& args, bool* _retval)
@ -2090,7 +2031,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper(); */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -2098,7 +2038,6 @@ nsXPCComponents_Constructor::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetContractID(char * *aContractID)
{
@ -2106,7 +2045,6 @@ nsXPCComponents_Constructor::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetClassDescription(char * *aClassDescription)
{
@ -2115,7 +2053,6 @@ nsXPCComponents_Constructor::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetClassID(nsCID * *aClassID)
{
@ -2123,7 +2060,6 @@ nsXPCComponents_Constructor::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetFlags(uint32_t* aFlags)
{
@ -2131,7 +2067,6 @@ nsXPCComponents_Constructor::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
nsXPCComponents_Constructor::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{
@ -2167,7 +2102,6 @@ NS_IMPL_RELEASE(nsXPCComponents_Constructor)
#include "xpc_map_end.h" /* This will #undef the above */
/* bool call (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_Constructor::Call(nsIXPConnectWrappedNative* wrapper, JSContext* cx,
JSObject* objArg, const CallArgs& args, bool* _retval)
@ -2176,7 +2110,6 @@ nsXPCComponents_Constructor::Call(nsIXPConnectWrappedNative* wrapper, JSContext*
return CallOrConstruct(wrapper, cx, obj, args, _retval);
}
/* bool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsXPCComponents_Constructor::Construct(nsIXPConnectWrappedNative* wrapper, JSContext* cx,
JSObject* objArg, const CallArgs& args, bool* _retval)
@ -2317,7 +2250,6 @@ nsXPCComponents_Constructor::CallOrConstruct(nsIXPConnectWrappedNative* wrapper,
return NS_OK;
}
/* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */
NS_IMETHODIMP
nsXPCComponents_Constructor::HasInstance(nsIXPConnectWrappedNative* wrapper,
JSContext * cx, JSObject * obj,
@ -2374,7 +2306,6 @@ nsXPCComponents_Utils::GetSandbox(nsIXPCComponents_utils_Sandbox** aSandbox)
return NS_OK;
}
/* void reportError (); */
NS_IMETHODIMP
nsXPCComponents_Utils::ReportError(HandleValue error, JSContext* cx)
{
@ -2444,7 +2375,6 @@ nsXPCComponents_Utils::ReportError(HandleValue error, JSContext* cx)
return NS_OK;
}
/* void evalInSandbox(in AString source, in nativeobj sandbox); */
NS_IMETHODIMP
nsXPCComponents_Utils::EvalInSandbox(const nsAString& source,
HandleValue sandboxVal,
@ -2626,7 +2556,6 @@ nsXPCComponents_Utils::ImportGlobalProperties(HandleValue aPropertyList,
return NS_OK;
}
/* xpcIJSWeakReference getWeakReference (); */
NS_IMETHODIMP
nsXPCComponents_Utils::GetWeakReference(HandleValue object, JSContext* cx,
xpcIJSWeakReference** _retval)
@ -2638,7 +2567,6 @@ nsXPCComponents_Utils::GetWeakReference(HandleValue object, JSContext* cx,
return NS_OK;
}
/* void forceGC (); */
NS_IMETHODIMP
nsXPCComponents_Utils::ForceGC()
{
@ -2648,7 +2576,6 @@ nsXPCComponents_Utils::ForceGC()
return NS_OK;
}
/* void forceCC (); */
NS_IMETHODIMP
nsXPCComponents_Utils::ForceCC(nsICycleCollectorListener* listener)
{
@ -2656,7 +2583,6 @@ nsXPCComponents_Utils::ForceCC(nsICycleCollectorListener* listener)
return NS_OK;
}
/* void finishCC(); */
NS_IMETHODIMP
nsXPCComponents_Utils::FinishCC()
{
@ -2664,7 +2590,6 @@ nsXPCComponents_Utils::FinishCC()
return NS_OK;
}
/* void ccSlice(in long long budget); */
NS_IMETHODIMP
nsXPCComponents_Utils::CcSlice(int64_t budget)
{
@ -2672,7 +2597,6 @@ nsXPCComponents_Utils::CcSlice(int64_t budget)
return NS_OK;
}
/* long getMaxCCSliceTimeSinceClear(); */
NS_IMETHODIMP
nsXPCComponents_Utils::GetMaxCCSliceTimeSinceClear(int32_t* out)
{
@ -2680,7 +2604,6 @@ nsXPCComponents_Utils::GetMaxCCSliceTimeSinceClear(int32_t* out)
return NS_OK;
}
/* void clearMaxCCTime(); */
NS_IMETHODIMP
nsXPCComponents_Utils::ClearMaxCCTime()
{
@ -2688,7 +2611,6 @@ nsXPCComponents_Utils::ClearMaxCCTime()
return NS_OK;
}
/* void forceShrinkingGC (); */
NS_IMETHODIMP
nsXPCComponents_Utils::ForceShrinkingGC()
{
@ -2731,7 +2653,6 @@ class PreciseGCRunnable : public nsRunnable
bool mShrinking;
};
/* void schedulePreciseGC(in ScheduledGCCallback callback); */
NS_IMETHODIMP
nsXPCComponents_Utils::SchedulePreciseGC(ScheduledGCCallback* aCallback)
{
@ -2739,7 +2660,6 @@ nsXPCComponents_Utils::SchedulePreciseGC(ScheduledGCCallback* aCallback)
return NS_DispatchToMainThread(event);
}
/* void schedulePreciseShrinkingGC(in ScheduledGCCallback callback); */
NS_IMETHODIMP
nsXPCComponents_Utils::SchedulePreciseShrinkingGC(ScheduledGCCallback* aCallback)
{
@ -2747,7 +2667,6 @@ nsXPCComponents_Utils::SchedulePreciseShrinkingGC(ScheduledGCCallback* aCallback
return NS_DispatchToMainThread(event);
}
/* void unlinkGhostWindows(); */
NS_IMETHODIMP
nsXPCComponents_Utils::UnlinkGhostWindows()
{
@ -2759,7 +2678,6 @@ nsXPCComponents_Utils::UnlinkGhostWindows()
#endif
}
/* [implicit_jscontext] jsval nondeterministicGetWeakMapKeys(in jsval aMap); */
NS_IMETHODIMP
nsXPCComponents_Utils::NondeterministicGetWeakMapKeys(HandleValue aMap,
JSContext* aCx,
@ -2777,7 +2695,6 @@ nsXPCComponents_Utils::NondeterministicGetWeakMapKeys(HandleValue aMap,
return NS_OK;
}
/* [implicit_jscontext] jsval getJSTestingFunctions(); */
NS_IMETHODIMP
nsXPCComponents_Utils::GetJSTestingFunctions(JSContext* cx,
MutableHandleValue retval)
@ -2831,7 +2748,6 @@ nsXPCComponents_Utils::CallFunctionWithAsyncStack(HandleValue function,
return NS_OK;
}
/* void getGlobalForObject(); */
NS_IMETHODIMP
nsXPCComponents_Utils::GetGlobalForObject(HandleValue object,
JSContext* cx,
@ -2864,7 +2780,6 @@ nsXPCComponents_Utils::GetGlobalForObject(HandleValue object,
return NS_OK;
}
/* boolean isProxy(in value vobj); */
NS_IMETHODIMP
nsXPCComponents_Utils::IsProxy(HandleValue vobj, JSContext* cx, bool* rval)
{
@ -2881,7 +2796,6 @@ nsXPCComponents_Utils::IsProxy(HandleValue vobj, JSContext* cx, bool* rval)
return NS_OK;
}
/* jsval exportFunction(in jsval vfunction, in jsval vscope, in jsval voptions); */
NS_IMETHODIMP
nsXPCComponents_Utils::ExportFunction(HandleValue vfunction, HandleValue vscope,
HandleValue voptions, JSContext* cx,
@ -2892,7 +2806,6 @@ nsXPCComponents_Utils::ExportFunction(HandleValue vfunction, HandleValue vscope,
return NS_OK;
}
/* jsval createObjectIn(in jsval vobj, [optional] in jsval voptions); */
NS_IMETHODIMP
nsXPCComponents_Utils::CreateObjectIn(HandleValue vobj, HandleValue voptions,
JSContext* cx, MutableHandleValue rval)
@ -2911,7 +2824,6 @@ nsXPCComponents_Utils::CreateObjectIn(HandleValue vobj, HandleValue voptions,
return NS_OK;
}
/* void makeObjectPropsNormal(jsval vobj); */
NS_IMETHODIMP
nsXPCComponents_Utils::MakeObjectPropsNormal(HandleValue vobj, JSContext* cx)
{
@ -2988,7 +2900,6 @@ nsXPCComponents_Utils::GetCrossProcessWrapperTag(HandleValue obj, nsACString& ou
return NS_OK;
}
/* void recomputerWrappers(jsval vobj); */
NS_IMETHODIMP
nsXPCComponents_Utils::RecomputeWrappers(HandleValue vobj, JSContext* cx)
{
@ -3008,7 +2919,6 @@ nsXPCComponents_Utils::RecomputeWrappers(HandleValue vobj, JSContext* cx)
return NS_OK;
}
/* jsval setWantXrays(jsval vscope); */
NS_IMETHODIMP
nsXPCComponents_Utils::SetWantXrays(HandleValue vscope, JSContext* cx)
{
@ -3023,7 +2933,6 @@ nsXPCComponents_Utils::SetWantXrays(HandleValue vscope, JSContext* cx)
return NS_OK;
}
/* jsval forcePermissiveCOWs(); */
NS_IMETHODIMP
nsXPCComponents_Utils::ForcePermissiveCOWs(JSContext* cx)
{
@ -3032,7 +2941,6 @@ nsXPCComponents_Utils::ForcePermissiveCOWs(JSContext* cx)
return NS_OK;
}
/* jsval skipCOWCallableChecks(); */
NS_IMETHODIMP
nsXPCComponents_Utils::SkipCOWCallableChecks(JSContext* cx)
{
@ -3040,7 +2948,6 @@ nsXPCComponents_Utils::SkipCOWCallableChecks(JSContext* cx)
return NS_OK;
}
/* jsval forcePrivilegedComponentsForScope(jsval vscope); */
NS_IMETHODIMP
nsXPCComponents_Utils::ForcePrivilegedComponentsForScope(HandleValue vscope,
JSContext* cx)
@ -3054,7 +2961,6 @@ nsXPCComponents_Utils::ForcePrivilegedComponentsForScope(HandleValue vscope,
return NS_OK;
}
/* jsval getComponentsForScope(jsval vscope); */
NS_IMETHODIMP
nsXPCComponents_Utils::GetComponentsForScope(HandleValue vscope, JSContext* cx,
MutableHandleValue rval)
@ -3612,7 +3518,6 @@ nsXPCComponents::SetReturnCode(JSContext* aCx, HandleValue aCode)
}
// static
/* void reportError (); */
NS_IMETHODIMP nsXPCComponents::ReportError(HandleValue error, JSContext* cx)
{
NS_WARNING("Components.reportError deprecated, use Components.utils.reportError");

View File

@ -408,7 +408,6 @@ nsJSIID::Resolve(nsIXPConnectWrappedNative* wrapper,
return NS_OK;
}
/* bool enumerate (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj); */
NS_IMETHODIMP
nsJSIID::Enumerate(nsIXPConnectWrappedNative* wrapper,
JSContext * cx, JSObject * objArg, bool* _retval)
@ -505,7 +504,6 @@ xpc::HasInstance(JSContext* cx, HandleObject objArg, const nsID* iid, bool* bp)
return NS_OK;
}
/* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */
NS_IMETHODIMP
nsJSIID::HasInstance(nsIXPConnectWrappedNative* wrapper,
JSContext* cx, JSObject * /* unused */,
@ -624,7 +622,6 @@ GetIIDArg(uint32_t argc, const JS::Value& val, JSContext* cx)
return iid;
}
/* nsISupports createInstance (); */
NS_IMETHODIMP
nsJSCID::CreateInstance(HandleValue iidval, JSContext* cx,
uint8_t optionalArgc, MutableHandleValue retval)
@ -660,7 +657,6 @@ nsJSCID::CreateInstance(HandleValue iidval, JSContext* cx,
return NS_OK;
}
/* nsISupports getService (); */
NS_IMETHODIMP
nsJSCID::GetService(HandleValue iidval, JSContext* cx, uint8_t optionalArgc,
MutableHandleValue retval)
@ -699,7 +695,6 @@ nsJSCID::GetService(HandleValue iidval, JSContext* cx, uint8_t optionalArgc,
return NS_OK;
}
/* bool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in uint32_t argc, in JSValPtr argv, in JSValPtr vp); */
NS_IMETHODIMP
nsJSCID::Construct(nsIXPConnectWrappedNative* wrapper,
JSContext* cx, JSObject* objArg,
@ -719,7 +714,6 @@ nsJSCID::Construct(nsIXPConnectWrappedNative* wrapper,
return NS_OK;
}
/* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */
NS_IMETHODIMP
nsJSCID::HasInstance(nsIXPConnectWrappedNative* wrapper,
JSContext* cx, JSObject * /* unused */,

View File

@ -113,7 +113,6 @@ oom:
return NS_ERROR_OUT_OF_MEMORY;
}
/* nsIXPCScriptable getScriptableHelper (); */
NS_IMETHODIMP
BackstagePass::GetScriptableHelper(nsIXPCScriptable** retval)
{
@ -122,7 +121,6 @@ BackstagePass::GetScriptableHelper(nsIXPCScriptable** retval)
return NS_OK;
}
/* readonly attribute string contractID; */
NS_IMETHODIMP
BackstagePass::GetContractID(char * *aContractID)
{
@ -130,7 +128,6 @@ BackstagePass::GetContractID(char * *aContractID)
return NS_ERROR_NOT_AVAILABLE;
}
/* readonly attribute string classDescription; */
NS_IMETHODIMP
BackstagePass::GetClassDescription(char * *aClassDescription)
{
@ -139,7 +136,6 @@ BackstagePass::GetClassDescription(char * *aClassDescription)
return *aClassDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute nsCIDPtr classID; */
NS_IMETHODIMP
BackstagePass::GetClassID(nsCID * *aClassID)
{
@ -147,7 +143,6 @@ BackstagePass::GetClassID(nsCID * *aClassID)
return NS_OK;
}
/* readonly attribute uint32_t flags; */
NS_IMETHODIMP
BackstagePass::GetFlags(uint32_t* aFlags)
{
@ -155,7 +150,6 @@ BackstagePass::GetFlags(uint32_t* aFlags)
return NS_OK;
}
/* [notxpcom] readonly attribute nsCID classIDNoAlloc; */
NS_IMETHODIMP
BackstagePass::GetClassIDNoAlloc(nsCID* aClassIDNoAlloc)
{

View File

@ -1189,7 +1189,6 @@ nsXPCFunctionThisTranslator::~nsXPCFunctionThisTranslator()
{
}
/* nsISupports TranslateThis (in nsISupports aInitialThis); */
NS_IMETHODIMP
nsXPCFunctionThisTranslator::TranslateThis(nsISupports* aInitialThis,
nsISupports** _retval)

View File

@ -640,104 +640,87 @@ XPCVariant::VariantDataToJS(nsIVariant* variant,
// some more interesting conversions.
/* readonly attribute uint16_t dataType; */
NS_IMETHODIMP XPCVariant::GetDataType(uint16_t* aDataType)
{
*aDataType = mData.GetType();
return NS_OK;
}
/* uint8_t getAsInt8 (); */
NS_IMETHODIMP XPCVariant::GetAsInt8(uint8_t* _retval)
{
return mData.ConvertToInt8(_retval);
}
/* int16_t getAsInt16 (); */
NS_IMETHODIMP XPCVariant::GetAsInt16(int16_t* _retval)
{
return mData.ConvertToInt16(_retval);
}
/* int32_t getAsInt32 (); */
NS_IMETHODIMP XPCVariant::GetAsInt32(int32_t* _retval)
{
return mData.ConvertToInt32(_retval);
}
/* int64_t getAsInt64 (); */
NS_IMETHODIMP XPCVariant::GetAsInt64(int64_t* _retval)
{
return mData.ConvertToInt64(_retval);
}
/* uint8_t getAsUint8 (); */
NS_IMETHODIMP XPCVariant::GetAsUint8(uint8_t* _retval)
{
return mData.ConvertToUint8(_retval);
}
/* uint16_t getAsUint16 (); */
NS_IMETHODIMP XPCVariant::GetAsUint16(uint16_t* _retval)
{
return mData.ConvertToUint16(_retval);
}
/* uint32_t getAsUint32 (); */
NS_IMETHODIMP XPCVariant::GetAsUint32(uint32_t* _retval)
{
return mData.ConvertToUint32(_retval);
}
/* uint64_t getAsUint64 (); */
NS_IMETHODIMP XPCVariant::GetAsUint64(uint64_t* _retval)
{
return mData.ConvertToUint64(_retval);
}
/* float getAsFloat (); */
NS_IMETHODIMP XPCVariant::GetAsFloat(float* _retval)
{
return mData.ConvertToFloat(_retval);
}
/* double getAsDouble (); */
NS_IMETHODIMP XPCVariant::GetAsDouble(double* _retval)
{
return mData.ConvertToDouble(_retval);
}
/* bool getAsBool (); */
NS_IMETHODIMP XPCVariant::GetAsBool(bool* _retval)
{
return mData.ConvertToBool(_retval);
}
/* char getAsChar (); */
NS_IMETHODIMP XPCVariant::GetAsChar(char* _retval)
{
return mData.ConvertToChar(_retval);
}
/* wchar getAsWChar (); */
NS_IMETHODIMP XPCVariant::GetAsWChar(char16_t* _retval)
{
return mData.ConvertToWChar(_retval);
}
/* [notxpcom] nsresult getAsID (out nsID retval); */
NS_IMETHODIMP_(nsresult) XPCVariant::GetAsID(nsID* retval)
{
return mData.ConvertToID(retval);
}
/* AString getAsAString (); */
NS_IMETHODIMP XPCVariant::GetAsAString(nsAString & _retval)
{
return mData.ConvertToAString(_retval);
}
/* DOMString getAsDOMString (); */
NS_IMETHODIMP XPCVariant::GetAsDOMString(nsAString & _retval)
{
// A DOMString maps to an AString internally, so we can re-use
@ -745,56 +728,47 @@ NS_IMETHODIMP XPCVariant::GetAsDOMString(nsAString & _retval)
return mData.ConvertToAString(_retval);
}
/* ACString getAsACString (); */
NS_IMETHODIMP XPCVariant::GetAsACString(nsACString & _retval)
{
return mData.ConvertToACString(_retval);
}
/* AUTF8String getAsAUTF8String (); */
NS_IMETHODIMP XPCVariant::GetAsAUTF8String(nsAUTF8String & _retval)
{
return mData.ConvertToAUTF8String(_retval);
}
/* string getAsString (); */
NS_IMETHODIMP XPCVariant::GetAsString(char** _retval)
{
return mData.ConvertToString(_retval);
}
/* wstring getAsWString (); */
NS_IMETHODIMP XPCVariant::GetAsWString(char16_t** _retval)
{
return mData.ConvertToWString(_retval);
}
/* nsISupports getAsISupports (); */
NS_IMETHODIMP XPCVariant::GetAsISupports(nsISupports** _retval)
{
return mData.ConvertToISupports(_retval);
}
/* void getAsInterface (out nsIIDPtr iid, [iid_is (iid), retval] out nsQIResult iface); */
NS_IMETHODIMP XPCVariant::GetAsInterface(nsIID** iid, void** iface)
{
return mData.ConvertToInterface(iid, iface);
}
/* [notxpcom] nsresult getAsArray (out uint16_t type, out nsIID iid, out uint32_t count, out voidPtr ptr); */
NS_IMETHODIMP_(nsresult) XPCVariant::GetAsArray(uint16_t* type, nsIID* iid, uint32_t* count, void * *ptr)
{
return mData.ConvertToArray(type, iid, count, ptr);
}
/* void getAsStringWithSize (out uint32_t size, [size_is (size), retval] out string str); */
NS_IMETHODIMP XPCVariant::GetAsStringWithSize(uint32_t* size, char** str)
{
return mData.ConvertToStringWithSize(size, str);
}
/* void getAsWStringWithSize (out uint32_t size, [size_is (size), retval] out wstring str); */
NS_IMETHODIMP XPCVariant::GetAsWStringWithSize(uint32_t* size, char16_t** str)
{
return mData.ConvertToWStringWithSize(size, str);

View File

@ -579,7 +579,6 @@ nsXPCWrappedJS::SizeOfIncludingThis(mozilla::MallocSizeOf mallocSizeOf) const
/***************************************************************************/
/* readonly attribute nsISimpleEnumerator enumerator; */
NS_IMETHODIMP
nsXPCWrappedJS::GetEnumerator(nsISimpleEnumerator * *aEnumerate)
{
@ -592,7 +591,6 @@ nsXPCWrappedJS::GetEnumerator(nsISimpleEnumerator * *aEnumerate)
aEnumerate);
}
/* nsIVariant getProperty (in AString name); */
NS_IMETHODIMP
nsXPCWrappedJS::GetProperty(const nsAString & name, nsIVariant** _retval)
{

View File

@ -407,14 +407,12 @@ xpcProperty::xpcProperty(const char16_t* aName, uint32_t aNameLen,
{
}
/* readonly attribute AString name; */
NS_IMETHODIMP xpcProperty::GetName(nsAString & aName)
{
aName.Assign(mName);
return NS_OK;
}
/* readonly attribute nsIVariant value; */
NS_IMETHODIMP xpcProperty::GetValue(nsIVariant * *aValue)
{
nsCOMPtr<nsIVariant> rval = mValue;

View File

@ -2098,14 +2098,12 @@ CallMethodHelper::Invoke()
/***************************************************************************/
// interface methods
/* JSObjectPtr GetJSObject(); */
JSObject*
XPCWrappedNative::GetJSObject()
{
return GetFlatJSObject();
}
/* readonly attribute nsISupports Native; */
NS_IMETHODIMP XPCWrappedNative::GetNative(nsISupports * *aNative)
{
// No need to QI here, we already have the correct nsISupports
@ -2115,7 +2113,6 @@ NS_IMETHODIMP XPCWrappedNative::GetNative(nsISupports * *aNative)
return NS_OK;
}
/* reaonly attribute JSObjectPtr JSObjectPrototype; */
NS_IMETHODIMP XPCWrappedNative::GetJSObjectPrototype(JSObject * *aJSObjectPrototype)
{
*aJSObjectPrototype = HasProto() ?
@ -2144,7 +2141,6 @@ XPCWrappedNative::GetObjectPrincipal() const
return principal;
}
/* XPCNativeInterface FindInterfaceWithMember (in JSHandleId name); */
NS_IMETHODIMP XPCWrappedNative::FindInterfaceWithMember(HandleId name,
nsIInterfaceInfo * *_retval)
{
@ -2159,7 +2155,6 @@ NS_IMETHODIMP XPCWrappedNative::FindInterfaceWithMember(HandleId name,
return NS_OK;
}
/* XPCNativeInterface FindInterfaceWithName (in JSHandleId name); */
NS_IMETHODIMP XPCWrappedNative::FindInterfaceWithName(HandleId name,
nsIInterfaceInfo * *_retval)
{
@ -2172,7 +2167,6 @@ NS_IMETHODIMP XPCWrappedNative::FindInterfaceWithName(HandleId name,
return NS_OK;
}
/* [notxpcom] bool HasNativeMember (in JSHandleId name); */
NS_IMETHODIMP_(bool)
XPCWrappedNative::HasNativeMember(HandleId name)
{
@ -2181,7 +2175,6 @@ XPCWrappedNative::HasNativeMember(HandleId name)
return GetSet()->FindMember(name, &member, &ignored) && !!member;
}
/* void debugDump (in short depth); */
NS_IMETHODIMP XPCWrappedNative::DebugDump(int16_t depth)
{
#ifdef DEBUG

View File

@ -505,7 +505,6 @@ NativeInterface2JSObject(HandleObject aScope,
return NS_OK;
}
/* JSObjectPtr wrapNative (in JSContextPtr aJSContext, in JSObjectPtr aScope, in nsISupports aCOMObj, in nsIIDRef aIID); */
NS_IMETHODIMP
nsXPConnect::WrapNative(JSContext * aJSContext,
JSObject * aScopeArg,
@ -531,7 +530,6 @@ nsXPConnect::WrapNative(JSContext * aJSContext,
return NS_OK;
}
/* nsIXPConnectJSObjectHolder wrapNativeHolder(in JSContextPtr aJSContext, in JSObjectPtr aScope, in nsISupports aCOMObj, in nsIIDRef aIID); */
NS_IMETHODIMP
nsXPConnect::WrapNativeHolder(JSContext * aJSContext,
JSObject * aScopeArg,
@ -550,7 +548,6 @@ nsXPConnect::WrapNativeHolder(JSContext * aJSContext,
true, &v, aHolder);
}
/* void wrapNativeToJSVal (in JSContextPtr aJSContext, in JSObjectPtr aScope, in nsISupports aCOMObj, in nsIIDPtr aIID, out jsval aVal); */
NS_IMETHODIMP
nsXPConnect::WrapNativeToJSVal(JSContext* aJSContext,
JSObject* aScopeArg,
@ -569,7 +566,6 @@ nsXPConnect::WrapNativeToJSVal(JSContext* aJSContext,
aAllowWrapping, aVal, nullptr);
}
/* void wrapJS (in JSContextPtr aJSContext, in JSObjectPtr aJSObj, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult result); */
NS_IMETHODIMP
nsXPConnect::WrapJS(JSContext * aJSContext,
JSObject * aJSObjArg,
@ -606,7 +602,6 @@ nsXPConnect::JSValToVariant(JSContext* cx,
return NS_OK;
}
/* void wrapJSAggregatedToNative (in nsISupports aOuter, in JSContextPtr aJSContext, in JSObjectPtr aJSObj, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult result); */
NS_IMETHODIMP
nsXPConnect::WrapJSAggregatedToNative(nsISupports* aOuter,
JSContext* aJSContext,
@ -629,7 +624,6 @@ nsXPConnect::WrapJSAggregatedToNative(nsISupports* aOuter,
return NS_OK;
}
/* nsIXPConnectWrappedNative getWrappedNativeOfJSObject (in JSContextPtr aJSContext, in JSObjectPtr aJSObj); */
NS_IMETHODIMP
nsXPConnect::GetWrappedNativeOfJSObject(JSContext * aJSContext,
JSObject * aJSObjArg,
@ -673,7 +667,6 @@ xpc::UnwrapReflectorToISupports(JSObject* reflector)
return canonical;
}
/* nsISupports getNativeOfWrapper(in JSContextPtr aJSContext, in JSObjectPtr aJSObj); */
NS_IMETHODIMP_(nsISupports*)
nsXPConnect::GetNativeOfWrapper(JSContext* aJSContext,
JSObject* aJSObj)
@ -681,7 +674,6 @@ nsXPConnect::GetNativeOfWrapper(JSContext* aJSContext,
return UnwrapReflectorToISupports(aJSObj);
}
/* nsIXPConnectWrappedNative getWrappedNativeOfNativeObject (in JSContextPtr aJSContext, in JSObjectPtr aScope, in nsISupports aCOMObj, in nsIIDRef aIID); */
NS_IMETHODIMP
nsXPConnect::GetWrappedNativeOfNativeObject(JSContext * aJSContext,
JSObject * aScopeArg,
@ -716,7 +708,6 @@ nsXPConnect::GetWrappedNativeOfNativeObject(JSContext * aJSContext,
return NS_OK;
}
/* readonly attribute nsIStackFrame CurrentJSStack; */
NS_IMETHODIMP
nsXPConnect::GetCurrentJSStack(nsIStackFrame * *aCurrentJSStack)
{
@ -728,7 +719,6 @@ nsXPConnect::GetCurrentJSStack(nsIStackFrame * *aCurrentJSStack)
return NS_OK;
}
/* readonly attribute nsIXPCNativeCallContext CurrentNativeCallContext; */
NS_IMETHODIMP
nsXPConnect::GetCurrentNativeCallContext(nsAXPCNativeCallContext * *aCurrentNativeCallContext)
{
@ -738,7 +728,6 @@ nsXPConnect::GetCurrentNativeCallContext(nsAXPCNativeCallContext * *aCurrentNati
return NS_OK;
}
/* void setFunctionThisTranslator (in nsIIDRef aIID, in nsIXPCFunctionThisTranslator aTranslator); */
NS_IMETHODIMP
nsXPConnect::SetFunctionThisTranslator(const nsIID & aIID,
nsIXPCFunctionThisTranslator* aTranslator)
@ -794,7 +783,6 @@ nsXPConnect::EvalInSandboxObject(const nsAString& source, const char* filename,
JSVersion(jsVersion), rval);
}
/* JSObjectPtr getWrappedNativePrototype (in JSContextPtr aJSContext, in JSObjectPtr aScope); */
NS_IMETHODIMP
nsXPConnect::GetWrappedNativePrototype(JSContext* aJSContext,
JSObject* aScopeArg,
@ -825,7 +813,6 @@ nsXPConnect::GetWrappedNativePrototype(JSContext* aJSContext,
return NS_OK;
}
/* void debugDump (in short depth); */
NS_IMETHODIMP
nsXPConnect::DebugDump(int16_t depth)
{
@ -848,7 +835,6 @@ nsXPConnect::DebugDump(int16_t depth)
return NS_OK;
}
/* void debugDumpObject (in nsISupports aCOMObj, in short depth); */
NS_IMETHODIMP
nsXPConnect::DebugDumpObject(nsISupports* p, int16_t depth)
{
@ -888,7 +874,6 @@ nsXPConnect::DebugDumpObject(nsISupports* p, int16_t depth)
return NS_OK;
}
/* void debugDumpJSStack (in bool showArgs, in bool showLocals, in bool showThisProps); */
NS_IMETHODIMP
nsXPConnect::DebugDumpJSStack(bool showArgs,
bool showLocals,
@ -913,7 +898,6 @@ nsXPConnect::DebugPrintJSStack(bool showArgs,
return nullptr;
}
/* jsval variantToJS (in JSContextPtr ctx, in JSObjectPtr scope, in nsIVariant value); */
NS_IMETHODIMP
nsXPConnect::VariantToJS(JSContext* ctx, JSObject* scopeArg, nsIVariant* value,
MutableHandleValue _retval)
@ -935,7 +919,6 @@ nsXPConnect::VariantToJS(JSContext* ctx, JSObject* scopeArg, nsIVariant* value,
return NS_OK;
}
/* nsIVariant JSToVariant (in JSContextPtr ctx, in jsval value); */
NS_IMETHODIMP
nsXPConnect::JSToVariant(JSContext* ctx, HandleValue value, nsIVariant** _retval)
{

View File

@ -70,73 +70,61 @@ nsXPCTestParams::~nsXPCTestParams()
return NS_OK; \
}
/* boolean testBoolean (in boolean a, inout boolean b); */
NS_IMETHODIMP nsXPCTestParams::TestBoolean(bool a, bool* b, bool* _retval)
{
GENERIC_METHOD_IMPL;
}
/* octet testOctet (in octet a, inout octet b); */
NS_IMETHODIMP nsXPCTestParams::TestOctet(uint8_t a, uint8_t* b, uint8_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* short testShort (in short a, inout short b); */
NS_IMETHODIMP nsXPCTestParams::TestShort(int16_t a, int16_t* b, int16_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* long testLong (in long a, inout long b); */
NS_IMETHODIMP nsXPCTestParams::TestLong(int32_t a, int32_t* b, int32_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* long long testLongLong (in long long a, inout long long b); */
NS_IMETHODIMP nsXPCTestParams::TestLongLong(int64_t a, int64_t* b, int64_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* unsigned short testUnsignedShort (in unsigned short a, inout unsigned short b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedShort(uint16_t a, uint16_t* b, uint16_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* unsigned long testUnsignedLong (in unsigned long a, inout unsigned long b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedLong(uint32_t a, uint32_t* b, uint32_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* unsigned long long testUnsignedLongLong (in unsigned long long a, inout unsigned long long b); */
NS_IMETHODIMP nsXPCTestParams::TestUnsignedLongLong(uint64_t a, uint64_t* b, uint64_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* float testFloat (in float a, inout float b); */
NS_IMETHODIMP nsXPCTestParams::TestFloat(float a, float* b, float* _retval)
{
GENERIC_METHOD_IMPL;
}
/* double testDouble (in double a, inout float b); */
NS_IMETHODIMP nsXPCTestParams::TestDouble(double a, float* b, double* _retval)
{
GENERIC_METHOD_IMPL;
}
/* char testChar (in char a, inout char b); */
NS_IMETHODIMP nsXPCTestParams::TestChar(char a, char* b, char* _retval)
{
GENERIC_METHOD_IMPL;
}
/* string testString (in string a, inout string b); */
NS_IMETHODIMP nsXPCTestParams::TestString(const char * a, char * *b, char * *_retval)
{
nsDependentCString aprime(a);
@ -151,13 +139,11 @@ NS_IMETHODIMP nsXPCTestParams::TestString(const char * a, char * *b, char * *_re
return NS_OK;
}
/* wchar testWchar (in wchar a, inout wchar b); */
NS_IMETHODIMP nsXPCTestParams::TestWchar(char16_t a, char16_t* b, char16_t* _retval)
{
GENERIC_METHOD_IMPL;
}
/* wstring testWstring (in wstring a, inout wstring b); */
NS_IMETHODIMP nsXPCTestParams::TestWstring(const char16_t * a, char16_t * *b, char16_t * *_retval)
{
nsDependentString aprime(a);
@ -172,32 +158,27 @@ NS_IMETHODIMP nsXPCTestParams::TestWstring(const char16_t * a, char16_t * *b, ch
return NS_OK;
}
/* DOMString testDOMString (in DOMString a, inout DOMString b); */
NS_IMETHODIMP nsXPCTestParams::TestDOMString(const nsAString & a, nsAString & b, nsAString & _retval)
{
STRING_METHOD_IMPL;
}
/* AString testAString (in AString a, inout AString b); */
NS_IMETHODIMP nsXPCTestParams::TestAString(const nsAString & a, nsAString & b, nsAString & _retval)
{
STRING_METHOD_IMPL;
}
/* AUTF8String testAUTF8String (in AUTF8String a, inout AUTF8String b); */
NS_IMETHODIMP nsXPCTestParams::TestAUTF8String(const nsACString & a, nsACString & b, nsACString & _retval)
{
STRING_METHOD_IMPL;
}
/* ACString testACString (in ACString a, inout ACString b); */
NS_IMETHODIMP nsXPCTestParams::TestACString(const nsACString & a, nsACString & b, nsACString & _retval)
{
STRING_METHOD_IMPL;
}
/* jsval testJsval (in jsval a, in jsval b); */
NS_IMETHODIMP nsXPCTestParams::TestJsval(JS::Handle<JS::Value> a,
JS::MutableHandle<JS::Value> b,
JS::MutableHandle<JS::Value> _retval)
@ -340,7 +321,6 @@ NS_IMETHODIMP nsXPCTestParams::TestInterfaceIsArray(uint32_t aLength, const nsII
BUFFER_METHOD_IMPL(void*, 0, TAKE_OWNERSHIP_INTERFACE);
}
/* void testOutAString (out AString o); */
NS_IMETHODIMP nsXPCTestParams::TestOutAString(nsAString & o)
{
o.AssignLiteral("out");

View File

@ -16,7 +16,6 @@ nsXPCTestReturnCodeParent::~nsXPCTestReturnCodeParent()
{
}
/* unsigned long callChild (in long childBehavior); */
NS_IMETHODIMP nsXPCTestReturnCodeParent::CallChild(int32_t childBehavior, nsresult* _retval)
{
nsresult rv;

View File

@ -2670,7 +2670,6 @@ NS_IMETHODIMP nsDocumentViewer::GetCopyable(bool *aCopyable)
return NS_OK;
}
/* AString getContents (in string mimeType, in boolean selectionOnly); */
NS_IMETHODIMP nsDocumentViewer::GetContents(const char *mimeType, bool selectionOnly, nsAString& aOutValue)
{
aOutValue.Truncate();
@ -2695,7 +2694,6 @@ NS_IMETHODIMP nsDocumentViewer::GetContents(const char *mimeType, bool selection
mDocument, aOutValue);
}
/* readonly attribute boolean canGetContents; */
NS_IMETHODIMP nsDocumentViewer::GetCanGetContents(bool *aCanGetContents)
{
NS_ENSURE_ARG_POINTER(aCanGetContents);
@ -3914,14 +3912,12 @@ nsDocumentViewer::PrintPreviewNavigate(int16_t aType, int32_t aPageNum)
}
/* readonly attribute nsIPrintSettings globalPrintSettings; */
NS_IMETHODIMP
nsDocumentViewer::GetGlobalPrintSettings(nsIPrintSettings * *aGlobalPrintSettings)
{
return nsPrintEngine::GetGlobalPrintSettings(aGlobalPrintSettings);
}
/* readonly attribute boolean doingPrint; */
// XXX This always returns false for subdocuments
NS_IMETHODIMP
nsDocumentViewer::GetDoingPrint(bool *aDoingPrint)
@ -3936,7 +3932,6 @@ nsDocumentViewer::GetDoingPrint(bool *aDoingPrint)
return NS_OK;
}
/* readonly attribute boolean doingPrintPreview; */
// XXX This always returns false for subdocuments
NS_IMETHODIMP
nsDocumentViewer::GetDoingPrintPreview(bool *aDoingPrintPreview)
@ -3950,7 +3945,6 @@ nsDocumentViewer::GetDoingPrintPreview(bool *aDoingPrintPreview)
return NS_OK;
}
/* readonly attribute nsIPrintSettings currentPrintSettings; */
NS_IMETHODIMP
nsDocumentViewer::GetCurrentPrintSettings(nsIPrintSettings * *aCurrentPrintSettings)
{
@ -3963,7 +3957,6 @@ nsDocumentViewer::GetCurrentPrintSettings(nsIPrintSettings * *aCurrentPrintSetti
}
/* readonly attribute nsIDOMWindow currentChildDOMWindow; */
NS_IMETHODIMP
nsDocumentViewer::GetCurrentChildDOMWindow(nsIDOMWindow * *aCurrentChildDOMWindow)
{
@ -3972,7 +3965,6 @@ nsDocumentViewer::GetCurrentChildDOMWindow(nsIDOMWindow * *aCurrentChildDOMWindo
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cancel (); */
NS_IMETHODIMP
nsDocumentViewer::Cancel()
{
@ -3980,7 +3972,6 @@ nsDocumentViewer::Cancel()
return mPrintEngine->Cancelled();
}
/* void exitPrintPreview (); */
NS_IMETHODIMP
nsDocumentViewer::ExitPrintPreview()
{
@ -4011,7 +4002,6 @@ nsDocumentViewer::EnumerateDocumentNames(uint32_t* aCount,
#endif
}
/* readonly attribute boolean isFramesetFrameSelected; */
NS_IMETHODIMP
nsDocumentViewer::GetIsFramesetFrameSelected(bool *aIsFramesetFrameSelected)
{
@ -4025,7 +4015,6 @@ nsDocumentViewer::GetIsFramesetFrameSelected(bool *aIsFramesetFrameSelected)
#endif
}
/* readonly attribute long printPreviewNumPages; */
NS_IMETHODIMP
nsDocumentViewer::GetPrintPreviewNumPages(int32_t *aPrintPreviewNumPages)
{
@ -4039,7 +4028,6 @@ nsDocumentViewer::GetPrintPreviewNumPages(int32_t *aPrintPreviewNumPages)
#endif
}
/* readonly attribute boolean isFramesetDocument; */
NS_IMETHODIMP
nsDocumentViewer::GetIsFramesetDocument(bool *aIsFramesetDocument)
{
@ -4053,7 +4041,6 @@ nsDocumentViewer::GetIsFramesetDocument(bool *aIsFramesetDocument)
#endif
}
/* readonly attribute boolean isIFrameSelected; */
NS_IMETHODIMP
nsDocumentViewer::GetIsIFrameSelected(bool *aIsIFrameSelected)
{
@ -4067,7 +4054,6 @@ nsDocumentViewer::GetIsIFrameSelected(bool *aIsIFrameSelected)
#endif
}
/* readonly attribute boolean isRangeSelection; */
NS_IMETHODIMP
nsDocumentViewer::GetIsRangeSelection(bool *aIsRangeSelection)
{

View File

@ -37,7 +37,6 @@ NS_IMPL_ISUPPORTS(nsFontFace, nsIDOMFontFace)
////////////////////////////////////////////////////////////////////////
// nsIDOMFontFace
/* readonly attribute boolean fromFontGroup; */
NS_IMETHODIMP
nsFontFace::GetFromFontGroup(bool * aFromFontGroup)
{
@ -46,7 +45,6 @@ nsFontFace::GetFromFontGroup(bool * aFromFontGroup)
return NS_OK;
}
/* readonly attribute boolean fromLanguagePrefs; */
NS_IMETHODIMP
nsFontFace::GetFromLanguagePrefs(bool * aFromLanguagePrefs)
{
@ -55,7 +53,6 @@ nsFontFace::GetFromLanguagePrefs(bool * aFromLanguagePrefs)
return NS_OK;
}
/* readonly attribute boolean fromSystemFallback; */
NS_IMETHODIMP
nsFontFace::GetFromSystemFallback(bool * aFromSystemFallback)
{
@ -64,7 +61,6 @@ nsFontFace::GetFromSystemFallback(bool * aFromSystemFallback)
return NS_OK;
}
/* readonly attribute DOMString name; */
NS_IMETHODIMP
nsFontFace::GetName(nsAString & aName)
{
@ -77,7 +73,6 @@ nsFontFace::GetName(nsAString & aName)
return NS_OK;
}
/* readonly attribute DOMString CSSFamilyName; */
NS_IMETHODIMP
nsFontFace::GetCSSFamilyName(nsAString & aCSSFamilyName)
{
@ -85,7 +80,6 @@ nsFontFace::GetCSSFamilyName(nsAString & aCSSFamilyName)
return NS_OK;
}
/* readonly attribute nsIDOMCSSFontFaceRule rule; */
NS_IMETHODIMP
nsFontFace::GetRule(nsIDOMCSSFontFaceRule **aRule)
{
@ -107,7 +101,6 @@ nsFontFace::GetRule(nsIDOMCSSFontFaceRule **aRule)
return NS_OK;
}
/* readonly attribute long srcIndex; */
NS_IMETHODIMP
nsFontFace::GetSrcIndex(int32_t * aSrcIndex)
{
@ -120,7 +113,6 @@ nsFontFace::GetSrcIndex(int32_t * aSrcIndex)
return NS_OK;
}
/* readonly attribute DOMString URI; */
NS_IMETHODIMP
nsFontFace::GetURI(nsAString & aURI)
{
@ -136,7 +128,6 @@ nsFontFace::GetURI(nsAString & aURI)
return NS_OK;
}
/* readonly attribute DOMString localName; */
NS_IMETHODIMP
nsFontFace::GetLocalName(nsAString & aLocalName)
{
@ -149,7 +140,6 @@ nsFontFace::GetLocalName(nsAString & aLocalName)
return NS_OK;
}
/* readonly attribute DOMString format; */
static void
AppendToFormat(nsAString & aResult, const char* aFormat)
{
@ -191,7 +181,6 @@ nsFontFace::GetFormat(nsAString & aFormat)
return NS_OK;
}
/* readonly attribute DOMString metadata; */
NS_IMETHODIMP
nsFontFace::GetMetadata(nsAString & aMetadata)
{

View File

@ -25,7 +25,6 @@ NS_IMPL_ISUPPORTS(nsFontFaceList, nsIDOMFontFaceList)
////////////////////////////////////////////////////////////////////////
// nsIDOMFontFaceList
/* nsIDOMFontFace item (in unsigned long index); */
struct FindByIndexData {
uint32_t mTarget;
uint32_t mCurrent;
@ -58,7 +57,6 @@ nsFontFaceList::Item(uint32_t index, nsIDOMFontFace **_retval)
return NS_OK;
}
/* readonly attribute unsigned long length; */
NS_IMETHODIMP
nsFontFaceList::GetLength(uint32_t *aLength)
{

View File

@ -797,7 +797,6 @@ nsPrintEngine::PrintPreview(nsIPrintSettings* aPrintSettings,
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean isFramesetDocument; */
NS_IMETHODIMP
nsPrintEngine::GetIsFramesetDocument(bool *aIsFramesetDocument)
{
@ -807,7 +806,6 @@ nsPrintEngine::GetIsFramesetDocument(bool *aIsFramesetDocument)
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean isIFrameSelected; */
NS_IMETHODIMP
nsPrintEngine::GetIsIFrameSelected(bool *aIsIFrameSelected)
{
@ -828,7 +826,6 @@ nsPrintEngine::GetIsIFrameSelected(bool *aIsIFrameSelected)
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean isRangeSelection; */
NS_IMETHODIMP
nsPrintEngine::GetIsRangeSelection(bool *aIsRangeSelection)
{
@ -839,7 +836,6 @@ nsPrintEngine::GetIsRangeSelection(bool *aIsRangeSelection)
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean isFramesetFrameSelected; */
NS_IMETHODIMP
nsPrintEngine::GetIsFramesetFrameSelected(bool *aIsFramesetFrameSelected)
{
@ -850,7 +846,6 @@ nsPrintEngine::GetIsFramesetFrameSelected(bool *aIsFramesetFrameSelected)
}
//----------------------------------------------------------------------------------
/* readonly attribute long printPreviewNumPages; */
NS_IMETHODIMP
nsPrintEngine::GetPrintPreviewNumPages(int32_t *aPrintPreviewNumPages)
{
@ -912,7 +907,6 @@ nsPrintEngine::EnumerateDocumentNames(uint32_t* aCount,
}
//----------------------------------------------------------------------------------
/* readonly attribute nsIPrintSettings globalPrintSettings; */
nsresult
nsPrintEngine::GetGlobalPrintSettings(nsIPrintSettings **aGlobalPrintSettings)
{
@ -928,7 +922,6 @@ nsPrintEngine::GetGlobalPrintSettings(nsIPrintSettings **aGlobalPrintSettings)
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean doingPrint; */
NS_IMETHODIMP
nsPrintEngine::GetDoingPrint(bool *aDoingPrint)
{
@ -938,7 +931,6 @@ nsPrintEngine::GetDoingPrint(bool *aDoingPrint)
}
//----------------------------------------------------------------------------------
/* readonly attribute boolean doingPrintPreview; */
NS_IMETHODIMP
nsPrintEngine::GetDoingPrintPreview(bool *aDoingPrintPreview)
{
@ -948,7 +940,6 @@ nsPrintEngine::GetDoingPrintPreview(bool *aDoingPrintPreview)
}
//----------------------------------------------------------------------------------
/* readonly attribute nsIPrintSettings currentPrintSettings; */
NS_IMETHODIMP
nsPrintEngine::GetCurrentPrintSettings(nsIPrintSettings * *aCurrentPrintSettings)
{

View File

@ -36,7 +36,6 @@ nsIScrollableFrame* ScrollBoxObject::GetScrollFrame()
return do_QueryFrame(GetFrame(false));
}
/* void scrollTo (long x, long y); */
void ScrollBoxObject::ScrollTo(int32_t x, int32_t y, ErrorResult& aRv)
{
nsIScrollableFrame* sf = GetScrollFrame();
@ -48,7 +47,6 @@ void ScrollBoxObject::ScrollTo(int32_t x, int32_t y, ErrorResult& aRv)
sf->ScrollToCSSPixels(CSSIntPoint(x, y));
}
/* void scrollBy (long dx, long dy); */
void ScrollBoxObject::ScrollBy(int32_t dx, int32_t dy, ErrorResult& aRv)
{
CSSIntPoint pt;
@ -61,7 +59,6 @@ void ScrollBoxObject::ScrollBy(int32_t dx, int32_t dy, ErrorResult& aRv)
ScrollTo(pt.x + dx, pt.y + dy, aRv);
}
/* void scrollByLine (long dlines); */
void ScrollBoxObject::ScrollByLine(int32_t dlines, ErrorResult& aRv)
{
nsIScrollableFrame* sf = GetScrollFrame();
@ -98,7 +95,6 @@ static nsIFrame* GetScrolledBox(BoxObject* aScrollBox) {
return nsBox::GetChildBox(scrolledFrame);
}
/* void scrollByIndex (long dindexes); */
void ScrollBoxObject::ScrollByIndex(int32_t dindexes, ErrorResult& aRv)
{
nsIScrollableFrame* sf = GetScrollFrame();
@ -216,7 +212,6 @@ void ScrollBoxObject::ScrollByIndex(int32_t dindexes, ErrorResult& aRv)
}
}
/* void scrollToLine (in long line); */
void ScrollBoxObject::ScrollToLine(int32_t line, ErrorResult& aRv)
{
nsIScrollableFrame* sf = GetScrollFrame();
@ -231,7 +226,6 @@ void ScrollBoxObject::ScrollToLine(int32_t line, ErrorResult& aRv)
sf->ScrollTo(nsPoint(0, y), nsIScrollableFrame::INSTANT, &range);
}
/* void scrollToElement (Element child); */
void ScrollBoxObject::ScrollToElement(Element& child, ErrorResult& aRv)
{
nsCOMPtr<nsIPresShell> shell = GetPresShell(false);
@ -251,7 +245,6 @@ void ScrollBoxObject::ScrollToElement(Element& child, ErrorResult& aRv)
nsIPresShell::SCROLL_OVERFLOW_HIDDEN);
}
/* void scrollToIndex (long index); */
void ScrollBoxObject::ScrollToIndex(int32_t index, ErrorResult& aRv)
{
aRv.Throw(NS_ERROR_NOT_IMPLEMENTED);
@ -351,7 +344,6 @@ void ScrollBoxObject::GetScrolledSize(JSContext* cx,
}
}
/* void ensureElementIsVisible (in nsIDOMElement child); */
void ScrollBoxObject::EnsureElementIsVisible(Element& child, ErrorResult& aRv)
{
nsCOMPtr<nsIPresShell> shell = GetPresShell(false);
@ -367,13 +359,11 @@ void ScrollBoxObject::EnsureElementIsVisible(Element& child, ErrorResult& aRv)
nsIPresShell::SCROLL_OVERFLOW_HIDDEN);
}
/* void ensureIndexIsVisible (long index); */
void ScrollBoxObject::EnsureIndexIsVisible(int32_t index, ErrorResult& aRv)
{
aRv.Throw(NS_ERROR_NOT_IMPLEMENTED);
}
/* void ensureLineIsVisible (long line); */
void ScrollBoxObject::EnsureLineIsVisible(int32_t line, ErrorResult& aRv)
{
aRv.Throw(NS_ERROR_NOT_IMPLEMENTED);

View File

@ -833,7 +833,6 @@ nsImageBoxListener::Notify(imgIRequest *request, int32_t aType, const nsIntRect*
return mFrame->Notify(request, aType, aData);
}
/* void blockOnload (in imgIRequest aRequest); */
NS_IMETHODIMP
nsImageBoxListener::BlockOnload(imgIRequest *aRequest)
{
@ -844,7 +843,6 @@ nsImageBoxListener::BlockOnload(imgIRequest *aRequest)
return NS_OK;
}
/* void unblockOnload (in imgIRequest aRequest); */
NS_IMETHODIMP
nsImageBoxListener::UnblockOnload(imgIRequest *aRequest)
{

View File

@ -139,7 +139,6 @@ NS_IMETHODIMP nsDeflateConverter::OnDataAvailable(nsIRequest *aRequest,
return NS_OK;
}
/* void onStartRequest (in nsIRequest aRequest, in nsISupports aContext); */
NS_IMETHODIMP nsDeflateConverter::OnStartRequest(nsIRequest *aRequest,
nsISupports *aContext)
{

View File

@ -80,7 +80,6 @@ NS_IMETHODIMP nsZipDataStream::OnDataAvailable(nsIRequest *aRequest,
return ProcessData(aRequest, aContext, buffer.get(), aOffset, aCount);
}
/* void onStartRequest (in nsIRequest aRequest, in nsISupports aContext); */
NS_IMETHODIMP nsZipDataStream::OnStartRequest(nsIRequest *aRequest,
nsISupports *aContext)
{

View File

@ -23,7 +23,6 @@
*/
NS_IMPL_ISUPPORTS(nsZipHeader, nsIZipEntry)
/* readonly attribute unsigned short compression; */
NS_IMETHODIMP nsZipHeader::GetCompression(uint16_t *aCompression)
{
NS_ASSERTION(mInited, "Not initalised");
@ -32,7 +31,6 @@ NS_IMETHODIMP nsZipHeader::GetCompression(uint16_t *aCompression)
return NS_OK;
}
/* readonly attribute unsigned long size; */
NS_IMETHODIMP nsZipHeader::GetSize(uint32_t *aSize)
{
NS_ASSERTION(mInited, "Not initalised");
@ -41,7 +39,6 @@ NS_IMETHODIMP nsZipHeader::GetSize(uint32_t *aSize)
return NS_OK;
}
/* readonly attribute unsigned long realSize; */
NS_IMETHODIMP nsZipHeader::GetRealSize(uint32_t *aRealSize)
{
NS_ASSERTION(mInited, "Not initalised");
@ -50,7 +47,6 @@ NS_IMETHODIMP nsZipHeader::GetRealSize(uint32_t *aRealSize)
return NS_OK;
}
/* readonly attribute unsigned long CRC32; */
NS_IMETHODIMP nsZipHeader::GetCRC32(uint32_t *aCRC32)
{
NS_ASSERTION(mInited, "Not initalised");
@ -59,7 +55,6 @@ NS_IMETHODIMP nsZipHeader::GetCRC32(uint32_t *aCRC32)
return NS_OK;
}
/* readonly attribute boolean isDirectory; */
NS_IMETHODIMP nsZipHeader::GetIsDirectory(bool *aIsDirectory)
{
NS_ASSERTION(mInited, "Not initalised");
@ -71,7 +66,6 @@ NS_IMETHODIMP nsZipHeader::GetIsDirectory(bool *aIsDirectory)
return NS_OK;
}
/* readonly attribute PRTime lastModifiedTime; */
NS_IMETHODIMP nsZipHeader::GetLastModifiedTime(PRTime *aLastModifiedTime)
{
NS_ASSERTION(mInited, "Not initalised");
@ -118,7 +112,6 @@ NS_IMETHODIMP nsZipHeader::GetLastModifiedTime(PRTime *aLastModifiedTime)
return NS_OK;
}
/* readonly attribute boolean isSynthetic; */
NS_IMETHODIMP nsZipHeader::GetIsSynthetic(bool *aIsSynthetic)
{
NS_ASSERTION(mInited, "Not initalised");
@ -127,7 +120,6 @@ NS_IMETHODIMP nsZipHeader::GetIsSynthetic(bool *aIsSynthetic)
return NS_OK;
}
/* readonly attribute unsigned long permissions; */
NS_IMETHODIMP nsZipHeader::GetPermissions(uint32_t *aPermissions)
{
NS_ASSERTION(mInited, "Not initalised");

View File

@ -59,7 +59,6 @@ nsZipWriter::~nsZipWriter()
Close();
}
/* attribute AString comment; */
NS_IMETHODIMP nsZipWriter::GetComment(nsACString & aComment)
{
if (!mStream)
@ -79,14 +78,12 @@ NS_IMETHODIMP nsZipWriter::SetComment(const nsACString & aComment)
return NS_OK;
}
/* readonly attribute boolean inQueue; */
NS_IMETHODIMP nsZipWriter::GetInQueue(bool *aInQueue)
{
*aInQueue = mInQueue;
return NS_OK;
}
/* readonly attribute nsIFile file; */
NS_IMETHODIMP nsZipWriter::GetFile(nsIFile **aFile)
{
if (!mFile)
@ -227,7 +224,6 @@ nsresult nsZipWriter::ReadFile(nsIFile *aFile)
return NS_ERROR_UNEXPECTED;
}
/* void open (in nsIFile aFile, in int32_t aIoFlags); */
NS_IMETHODIMP nsZipWriter::Open(nsIFile *aFile, int32_t aIoFlags)
{
if (mStream)
@ -286,7 +282,6 @@ NS_IMETHODIMP nsZipWriter::Open(nsIFile *aFile, int32_t aIoFlags)
return NS_OK;
}
/* nsIZipEntry getEntry (in AString aZipEntry); */
NS_IMETHODIMP nsZipWriter::GetEntry(const nsACString & aZipEntry,
nsIZipEntry **_retval)
{
@ -299,7 +294,6 @@ NS_IMETHODIMP nsZipWriter::GetEntry(const nsACString & aZipEntry,
return NS_OK;
}
/* boolean hasEntry (in AString aZipEntry); */
NS_IMETHODIMP nsZipWriter::HasEntry(const nsACString & aZipEntry,
bool *_retval)
{
@ -509,7 +503,6 @@ nsresult nsZipWriter::AddEntryStream(const nsACString & aZipEntry,
return rv;
}
/* void removeEntry (in AUTF8String aZipEntry, in boolean aQueue); */
NS_IMETHODIMP nsZipWriter::RemoveEntry(const nsACString & aZipEntry,
bool aQueue)
{
@ -626,7 +619,6 @@ NS_IMETHODIMP nsZipWriter::ProcessQueue(nsIRequestObserver *aObserver,
return NS_OK;
}
/* void close (); */
NS_IMETHODIMP nsZipWriter::Close()
{
if (!mStream)
@ -704,7 +696,6 @@ NS_IMETHODIMP nsZipWriter::Close()
}
// Our nsIRequestObserver monitors removal operations performed on the queue
/* void onStartRequest (in nsIRequest aRequest, in nsISupports aContext); */
NS_IMETHODIMP nsZipWriter::OnStartRequest(nsIRequest *aRequest,
nsISupports *aContext)
{

View File

@ -515,7 +515,6 @@ NS_IMETHODIMP nsPrefBranch::UnlockPref(const char *aPrefName)
return PREF_LockPref(pref, false);
}
/* void resetBranch (in string startingAt); */
NS_IMETHODIMP nsPrefBranch::ResetBranch(const char *aStartingAt)
{
return NS_ERROR_NOT_IMPLEMENTED;

View File

@ -73,7 +73,6 @@ SchedulingContext::RemoveBlockingTransaction(uint32_t *outval)
return NS_OK;
}
/* [noscript] attribute SpdyPushCachePtr spdyPushCache; */
NS_IMETHODIMP
SchedulingContext::GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache)
{
@ -88,7 +87,6 @@ SchedulingContext::SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache)
return NS_OK;
}
/* [noscript] readonly attribute nsID ID; */
NS_IMETHODIMP
SchedulingContext::GetID(nsID *outval)
{

View File

@ -722,7 +722,6 @@ nsLoadGroup::GetSchedulingContextID(nsID *aSCID)
////////////////////////////////////////////////////////////////////////////////
// nsILoadGroupChild methods:
/* attribute nsILoadGroup parentLoadGroup; */
NS_IMETHODIMP
nsLoadGroup::GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup)
{
@ -741,7 +740,6 @@ nsLoadGroup::SetParentLoadGroup(nsILoadGroup *aParentLoadGroup)
return NS_OK;
}
/* readonly attribute nsILoadGroup childLoadGroup; */
NS_IMETHODIMP
nsLoadGroup::GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup)
{
@ -749,7 +747,6 @@ nsLoadGroup::GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup)
return NS_OK;
}
/* readonly attribute nsILoadGroup rootLoadGroup; */
NS_IMETHODIMP
nsLoadGroup::GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup)
{

View File

@ -114,7 +114,6 @@ NS_METHOD nsMIMEInputStream::Init()
}
/* attribute boolean addContentLength; */
NS_IMETHODIMP
nsMIMEInputStream::GetAddContentLength(bool *aAddContentLength)
{
@ -129,7 +128,6 @@ nsMIMEInputStream::SetAddContentLength(bool aAddContentLength)
return NS_OK;
}
/* void addHeader ([const] in string name, [const] in string value); */
NS_IMETHODIMP
nsMIMEInputStream::AddHeader(const char *aName, const char *aValue)
{
@ -147,7 +145,6 @@ nsMIMEInputStream::AddHeader(const char *aName, const char *aValue)
return NS_OK;
}
/* void setData (in nsIInputStream stream); */
NS_IMETHODIMP
nsMIMEInputStream::SetData(nsIInputStream *aStream)
{

View File

@ -19,7 +19,6 @@ nsNetAddr::nsNetAddr(NetAddr* addr)
mAddr = *addr;
}
/* readonly attribute unsigned short family; */
NS_IMETHODIMP nsNetAddr::GetFamily(uint16_t *aFamily)
{
switch(mAddr.raw.family) {
@ -41,7 +40,6 @@ NS_IMETHODIMP nsNetAddr::GetFamily(uint16_t *aFamily)
return NS_OK;
}
/* readonly attribute AUTF8String address; */
NS_IMETHODIMP nsNetAddr::GetAddress(nsACString & aAddress)
{
switch(mAddr.raw.family) {
@ -69,7 +67,6 @@ NS_IMETHODIMP nsNetAddr::GetAddress(nsACString & aAddress)
return NS_OK;
}
/* readonly attribute unsigned short port; */
NS_IMETHODIMP nsNetAddr::GetPort(uint16_t *aPort)
{
switch(mAddr.raw.family) {
@ -91,7 +88,6 @@ NS_IMETHODIMP nsNetAddr::GetPort(uint16_t *aPort)
return NS_OK;
}
/* readonly attribute unsigned long flow; */
NS_IMETHODIMP nsNetAddr::GetFlow(uint32_t *aFlow)
{
switch(mAddr.raw.family) {
@ -111,7 +107,6 @@ NS_IMETHODIMP nsNetAddr::GetFlow(uint32_t *aFlow)
return NS_OK;
}
/* readonly attribute unsigned long scope; */
NS_IMETHODIMP nsNetAddr::GetScope(uint32_t *aScope)
{
switch(mAddr.raw.family) {
@ -131,7 +126,6 @@ NS_IMETHODIMP nsNetAddr::GetScope(uint32_t *aScope)
return NS_OK;
}
/* readonly attribute boolean isV4Mapped; */
NS_IMETHODIMP nsNetAddr::GetIsV4Mapped(bool *aIsV4Mapped)
{
switch(mAddr.raw.family) {

View File

@ -2357,7 +2357,6 @@ nsSocketTransport::Bind(NetAddr *aLocalAddr)
return NS_OK;
}
/* nsINetAddr getScriptablePeerAddr (); */
NS_IMETHODIMP
nsSocketTransport::GetScriptablePeerAddr(nsINetAddr * *addr)
{
@ -2373,7 +2372,6 @@ nsSocketTransport::GetScriptablePeerAddr(nsINetAddr * *addr)
return NS_OK;
}
/* nsINetAddr getScriptableSelfAddr (); */
NS_IMETHODIMP
nsSocketTransport::GetScriptableSelfAddr(nsINetAddr * *addr)
{

View File

@ -55,7 +55,6 @@ nsStreamLoader::GetNumBytesRead(uint32_t* aNumBytes)
return NS_OK;
}
/* readonly attribute nsIRequest request; */
NS_IMETHODIMP
nsStreamLoader::GetRequest(nsIRequest **aRequest)
{

View File

@ -295,7 +295,6 @@ nsUDPOutputStream::~nsUDPOutputStream()
{
}
/* void close (); */
NS_IMETHODIMP nsUDPOutputStream::Close()
{
if (mIsClosed)
@ -305,13 +304,11 @@ NS_IMETHODIMP nsUDPOutputStream::Close()
return NS_OK;
}
/* void flush (); */
NS_IMETHODIMP nsUDPOutputStream::Flush()
{
return NS_OK;
}
/* unsigned long write (in string aBuf, in unsigned long aCount); */
NS_IMETHODIMP nsUDPOutputStream::Write(const char * aBuf, uint32_t aCount, uint32_t *_retval)
{
if (mIsClosed)
@ -331,19 +328,16 @@ NS_IMETHODIMP nsUDPOutputStream::Write(const char * aBuf, uint32_t aCount, uint3
return NS_OK;
}
/* unsigned long writeFrom (in nsIInputStream aFromStream, in unsigned long aCount); */
NS_IMETHODIMP nsUDPOutputStream::WriteFrom(nsIInputStream *aFromStream, uint32_t aCount, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] unsigned long writeSegments (in nsReadSegmentFun aReader, in voidPtr aClosure, in unsigned long aCount); */
NS_IMETHODIMP nsUDPOutputStream::WriteSegments(nsReadSegmentFun aReader, void *aClosure, uint32_t aCount, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isNonBlocking (); */
NS_IMETHODIMP nsUDPOutputStream::IsNonBlocking(bool *_retval)
{
*_retval = true;
@ -389,7 +383,6 @@ nsUDPMessage::~nsUDPMessage()
mozilla::DropJSObjects(this);
}
/* readonly attribute nsINetAddr from; */
NS_IMETHODIMP
nsUDPMessage::GetFromAddr(nsINetAddr * *aFromAddr)
{
@ -401,7 +394,6 @@ nsUDPMessage::GetFromAddr(nsINetAddr * *aFromAddr)
return NS_OK;
}
/* readonly attribute ACString data; */
NS_IMETHODIMP
nsUDPMessage::GetData(nsACString & aData)
{
@ -409,7 +401,6 @@ nsUDPMessage::GetData(nsACString & aData)
return NS_OK;
}
/* readonly attribute nsIOutputStream outputStream; */
NS_IMETHODIMP
nsUDPMessage::GetOutputStream(nsIOutputStream * *aOutputStream)
{
@ -418,7 +409,6 @@ nsUDPMessage::GetOutputStream(nsIOutputStream * *aOutputStream)
return NS_OK;
}
/* readonly attribute jsval rawData; */
NS_IMETHODIMP
nsUDPMessage::GetRawData(JSContext* cx,
JS::MutableHandleValue aRawData)
@ -431,7 +421,6 @@ nsUDPMessage::GetRawData(JSContext* cx,
return NS_OK;
}
/* [noscript, notxpcom, nostdcall] Uint8ArrayRef getDataAsTArray(); */
FallibleTArray<uint8_t>&
nsUDPMessage::GetDataAsTArray()
{
@ -595,7 +584,6 @@ private:
NS_IMPL_ISUPPORTS(UDPMessageProxy, nsIUDPMessage)
/* readonly attribute nsINetAddr from; */
NS_IMETHODIMP
UDPMessageProxy::GetFromAddr(nsINetAddr * *aFromAddr)
{
@ -607,7 +595,6 @@ UDPMessageProxy::GetFromAddr(nsINetAddr * *aFromAddr)
return NS_OK;
}
/* readonly attribute ACString data; */
NS_IMETHODIMP
UDPMessageProxy::GetData(nsACString & aData)
{
@ -615,14 +602,12 @@ UDPMessageProxy::GetData(nsACString & aData)
return NS_OK;
}
/* [noscript, notxpcom, nostdcall] Uint8TArrayRef getDataAsTArray(); */
FallibleTArray<uint8_t>&
UDPMessageProxy::GetDataAsTArray()
{
return mData;
}
/* readonly attribute jsval rawData; */
NS_IMETHODIMP
UDPMessageProxy::GetRawData(JSContext* cx,
JS::MutableHandleValue aRawData)
@ -630,7 +615,6 @@ UDPMessageProxy::GetRawData(JSContext* cx,
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIOutputStream outputStream; */
NS_IMETHODIMP
UDPMessageProxy::GetOutputStream(nsIOutputStream * *aOutputStream)
{

View File

@ -49,7 +49,6 @@ nsUnicharStreamLoader::Create(nsISupports *aOuter,
NS_IMPL_ISUPPORTS(nsUnicharStreamLoader, nsIUnicharStreamLoader,
nsIRequestObserver, nsIStreamListener)
/* readonly attribute nsIChannel channel; */
NS_IMETHODIMP
nsUnicharStreamLoader::GetChannel(nsIChannel **aChannel)
{
@ -57,7 +56,6 @@ nsUnicharStreamLoader::GetChannel(nsIChannel **aChannel)
return NS_OK;
}
/* readonly attribute nsACString charset */
NS_IMETHODIMP
nsUnicharStreamLoader::GetCharset(nsACString& aCharset)
{

View File

@ -193,7 +193,6 @@ private:
NS_IMPL_ISUPPORTS(nsDiskCacheDeviceInfo, nsICacheDeviceInfo)
/* readonly attribute string description; */
NS_IMETHODIMP nsDiskCacheDeviceInfo::GetDescription(char ** aDescription)
{
NS_ENSURE_ARG_POINTER(aDescription);
@ -201,7 +200,6 @@ NS_IMETHODIMP nsDiskCacheDeviceInfo::GetDescription(char ** aDescription)
return *aDescription ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/* readonly attribute string usageReport; */
NS_IMETHODIMP nsDiskCacheDeviceInfo::GetUsageReport(char ** usageReport)
{
NS_ENSURE_ARG_POINTER(usageReport);
@ -228,7 +226,6 @@ NS_IMETHODIMP nsDiskCacheDeviceInfo::GetUsageReport(char ** usageReport)
return NS_OK;
}
/* readonly attribute unsigned long entryCount; */
NS_IMETHODIMP nsDiskCacheDeviceInfo::GetEntryCount(uint32_t *aEntryCount)
{
NS_ENSURE_ARG_POINTER(aEntryCount);
@ -236,7 +233,6 @@ NS_IMETHODIMP nsDiskCacheDeviceInfo::GetEntryCount(uint32_t *aEntryCount)
return NS_OK;
}
/* readonly attribute unsigned long totalSize; */
NS_IMETHODIMP nsDiskCacheDeviceInfo::GetTotalSize(uint32_t *aTotalSize)
{
NS_ENSURE_ARG_POINTER(aTotalSize);
@ -245,7 +241,6 @@ NS_IMETHODIMP nsDiskCacheDeviceInfo::GetTotalSize(uint32_t *aTotalSize)
return NS_OK;
}
/* readonly attribute unsigned long maximumSize; */
NS_IMETHODIMP nsDiskCacheDeviceInfo::GetMaximumSize(uint32_t *aMaximumSize)
{
NS_ENSURE_ARG_POINTER(aMaximumSize);

View File

@ -153,7 +153,6 @@ nsIDNService::~nsIDNService()
idn_nameprep_destroy(mNamePrepHandle);
}
/* ACString ConvertUTF8toACE (in AUTF8String input); */
NS_IMETHODIMP nsIDNService::ConvertUTF8toACE(const nsACString & input, nsACString & ace)
{
return UTF8toACE(input, ace, true, true);
@ -213,7 +212,6 @@ nsresult nsIDNService::UTF8toACE(const nsACString & input, nsACString & ace, boo
return NS_OK;
}
/* AUTF8String convertACEtoUTF8(in ACString input); */
NS_IMETHODIMP nsIDNService::ConvertACEtoUTF8(const nsACString & input, nsACString & _retval)
{
return ACEtoUTF8(input, _retval, true, true);
@ -267,7 +265,6 @@ nsresult nsIDNService::ACEtoUTF8(const nsACString & input, nsACString & _retval,
return NS_OK;
}
/* boolean isACE(in ACString input); */
NS_IMETHODIMP nsIDNService::IsACE(const nsACString & input, bool *_retval)
{
nsACString::const_iterator begin;
@ -286,7 +283,6 @@ NS_IMETHODIMP nsIDNService::IsACE(const nsACString & input, bool *_retval)
return NS_OK;
}
/* AUTF8String normalize(in AUTF8String input); */
NS_IMETHODIMP nsIDNService::Normalize(const nsACString & input, nsACString & output)
{
// protect against bogus input

View File

@ -2033,7 +2033,6 @@ HttpChannelChild::GetAssociatedContentSecurity(
return true;
}
/* attribute unsigned long countSubRequestsBrokenSecurity; */
NS_IMETHODIMP
HttpChannelChild::GetCountSubRequestsBrokenSecurity(
int32_t *aSubRequestsBrokenSecurity)
@ -2055,7 +2054,6 @@ HttpChannelChild::SetCountSubRequestsBrokenSecurity(
return assoc->SetCountSubRequestsBrokenSecurity(aSubRequestsBrokenSecurity);
}
/* attribute unsigned long countSubRequestsNoSecurity; */
NS_IMETHODIMP
HttpChannelChild::GetCountSubRequestsNoSecurity(int32_t *aSubRequestsNoSecurity)
{

View File

@ -139,7 +139,6 @@ RtspMetaData::SetWidth(uint32_t aWidth)
return NS_OK;
}
/* attribute unsigned long height; */
NS_IMETHODIMP
RtspMetaData::GetHeight(uint32_t *aHeight)
{
@ -155,7 +154,6 @@ RtspMetaData::SetHeight(uint32_t aHeight)
return NS_OK;
}
/* attribute unsigned long long duration; */
NS_IMETHODIMP
RtspMetaData::GetDuration(uint64_t *aDuration)
{
@ -171,7 +169,6 @@ RtspMetaData::SetDuration(uint64_t aDuration)
return NS_OK;
}
/* attribute unsigned long sampleRate; */
NS_IMETHODIMP
RtspMetaData::GetSampleRate(uint32_t *aSampleRate)
{

View File

@ -368,14 +368,12 @@ void WyciwygChannelChild::CancelEarly(const nsresult& statusCode)
// nsIRequest
//-----------------------------------------------------------------------------
/* readonly attribute AUTF8String name; */
NS_IMETHODIMP
WyciwygChannelChild::GetName(nsACString & aName)
{
return mURI->GetSpec(aName);
}
/* boolean isPending (); */
NS_IMETHODIMP
WyciwygChannelChild::IsPending(bool *aIsPending)
{
@ -383,7 +381,6 @@ WyciwygChannelChild::IsPending(bool *aIsPending)
return NS_OK;
}
/* readonly attribute nsresult status; */
NS_IMETHODIMP
WyciwygChannelChild::GetStatus(nsresult *aStatus)
{
@ -391,7 +388,6 @@ WyciwygChannelChild::GetStatus(nsresult *aStatus)
return NS_OK;
}
/* void cancel (in nsresult aStatus); */
NS_IMETHODIMP
WyciwygChannelChild::Cancel(nsresult aStatus)
{
@ -405,21 +401,18 @@ WyciwygChannelChild::Cancel(nsresult aStatus)
return NS_OK;
}
/* void suspend (); */
NS_IMETHODIMP
WyciwygChannelChild::Suspend()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void resume (); */
NS_IMETHODIMP
WyciwygChannelChild::Resume()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILoadGroup loadGroup; */
NS_IMETHODIMP
WyciwygChannelChild::GetLoadGroup(nsILoadGroup * *aLoadGroup)
{
@ -442,7 +435,6 @@ WyciwygChannelChild::SetLoadGroup(nsILoadGroup * aLoadGroup)
return NS_OK;
}
/* attribute nsLoadFlags loadFlags; */
NS_IMETHODIMP
WyciwygChannelChild::GetLoadFlags(nsLoadFlags *aLoadFlags)
{
@ -461,7 +453,6 @@ WyciwygChannelChild::SetLoadFlags(nsLoadFlags aLoadFlags)
// nsIChannel
//-----------------------------------------------------------------------------
/* attribute nsIURI originalURI; */
NS_IMETHODIMP
WyciwygChannelChild::GetOriginalURI(nsIURI * *aOriginalURI)
{
@ -479,7 +470,6 @@ WyciwygChannelChild::SetOriginalURI(nsIURI * aOriginalURI)
return NS_OK;
}
/* readonly attribute nsIURI URI; */
NS_IMETHODIMP
WyciwygChannelChild::GetURI(nsIURI * *aURI)
{
@ -488,7 +478,6 @@ WyciwygChannelChild::GetURI(nsIURI * *aURI)
return NS_OK;
}
/* attribute nsISupports owner; */
NS_IMETHODIMP
WyciwygChannelChild::GetOwner(nsISupports * *aOwner)
{
@ -516,7 +505,6 @@ WyciwygChannelChild::SetLoadInfo(nsILoadInfo* aLoadInfo)
return NS_OK;
}
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHODIMP
WyciwygChannelChild::GetNotificationCallbacks(nsIInterfaceRequestor * *aCallbacks)
{
@ -539,7 +527,6 @@ WyciwygChannelChild::SetNotificationCallbacks(nsIInterfaceRequestor * aCallbacks
return NS_OK;
}
/* readonly attribute nsISupports securityInfo; */
NS_IMETHODIMP
WyciwygChannelChild::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
@ -548,7 +535,6 @@ WyciwygChannelChild::GetSecurityInfo(nsISupports * *aSecurityInfo)
return NS_OK;
}
/* attribute ACString contentType; */
NS_IMETHODIMP
WyciwygChannelChild::GetContentType(nsACString & aContentType)
{
@ -561,7 +547,6 @@ WyciwygChannelChild::SetContentType(const nsACString & aContentType)
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString contentCharset; */
NS_IMETHODIMP
WyciwygChannelChild::GetContentCharset(nsACString & aContentCharset)
{
@ -604,7 +589,6 @@ WyciwygChannelChild::GetContentDispositionHeader(nsACString &aContentDisposition
return NS_ERROR_NOT_AVAILABLE;
}
/* attribute int64_t contentLength; */
NS_IMETHODIMP
WyciwygChannelChild::GetContentLength(int64_t *aContentLength)
{
@ -616,7 +600,6 @@ WyciwygChannelChild::SetContentLength(int64_t aContentLength)
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIInputStream open (); */
NS_IMETHODIMP
WyciwygChannelChild::Open(nsIInputStream **_retval)
{
@ -640,7 +623,6 @@ GetTabChild(nsIChannel* aChannel)
return iTabChild ? static_cast<mozilla::dom::TabChild*>(iTabChild.get()) : nullptr;
}
/* void asyncOpen (in nsIStreamListener aListener, in nsISupports aContext); */
NS_IMETHODIMP
WyciwygChannelChild::AsyncOpen(nsIStreamListener *aListener, nsISupports *aContext)
{
@ -695,7 +677,6 @@ WyciwygChannelChild::AsyncOpen2(nsIStreamListener *aListener)
// nsIWyciwygChannel
//-----------------------------------------------------------------------------
/* void writeToCacheEntry (in AString aData); */
NS_IMETHODIMP
WyciwygChannelChild::WriteToCacheEntry(const nsAString & aData)
{
@ -717,7 +698,6 @@ WyciwygChannelChild::WriteToCacheEntry(const nsAString & aData)
return NS_OK;
}
/* void closeCacheEntry (in nsresult reason); */
NS_IMETHODIMP
WyciwygChannelChild::CloseCacheEntry(nsresult reason)
{
@ -732,7 +712,6 @@ WyciwygChannelChild::CloseCacheEntry(nsresult reason)
return NS_OK;
}
/* void setSecurityInfo (in nsISupports aSecurityInfo); */
NS_IMETHODIMP
WyciwygChannelChild::SetSecurityInfo(nsISupports *aSecurityInfo)
{
@ -753,7 +732,6 @@ WyciwygChannelChild::SetSecurityInfo(nsISupports *aSecurityInfo)
return NS_OK;
}
/* void setCharsetAndSource (in long aSource, in ACString aCharset); */
NS_IMETHODIMP
WyciwygChannelChild::SetCharsetAndSource(int32_t aSource, const nsACString & aCharset)
{
@ -770,7 +748,6 @@ WyciwygChannelChild::SetCharsetAndSource(int32_t aSource, const nsACString & aCh
return NS_OK;
}
/* ACString getCharsetAndSource (out long aSource); */
NS_IMETHODIMP
WyciwygChannelChild::GetCharsetAndSource(int32_t *aSource, nsACString & _retval)
{

View File

@ -846,7 +846,6 @@ sctp_set_primary_addr(struct sctp_tcb *, struct sockaddr *,
int sctp_is_vtag_good(uint32_t, uint16_t lport, uint16_t rport, struct timeval *);
/* void sctp_drain(void); */
int sctp_destination_is_reachable(struct sctp_tcb *, struct sockaddr *);

View File

@ -111,7 +111,6 @@ void nsNSSASN1Tree::InitNodes()
InitChildsRecursively(mTopNode);
}
/* void loadASN1Structure (in nsIASN1Object asn1Object); */
NS_IMETHODIMP
nsNSSASN1Tree::LoadASN1Structure(nsIASN1Object *asn1Object)
{
@ -147,7 +146,6 @@ nsNSSASN1Tree::LoadASN1Structure(nsIASN1Object *asn1Object)
return NS_OK;
}
/* readonly attribute long rowCount; */
NS_IMETHODIMP
nsNSSASN1Tree::GetRowCount(int32_t *aRowCount)
{
@ -159,7 +157,6 @@ nsNSSASN1Tree::GetRowCount(int32_t *aRowCount)
return NS_OK;
}
/* attribute nsITreeSelection selection; */
NS_IMETHODIMP
nsNSSASN1Tree::GetSelection(nsITreeSelection * *aSelection)
{
@ -194,7 +191,6 @@ nsNSSASN1Tree::GetColumnProperties(nsITreeColumn* col, nsAString& aProps)
return NS_OK;
}
/* boolean isContainer (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::IsContainer(int32_t index, bool *_retval)
{
@ -206,7 +202,6 @@ nsNSSASN1Tree::IsContainer(int32_t index, bool *_retval)
return NS_OK;
}
/* boolean isContainerOpen (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::IsContainerOpen(int32_t index, bool *_retval)
{
@ -218,7 +213,6 @@ nsNSSASN1Tree::IsContainerOpen(int32_t index, bool *_retval)
return NS_OK;
}
/* boolean isContainerEmpty (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::IsContainerEmpty(int32_t index, bool *_retval)
{
@ -226,7 +220,6 @@ nsNSSASN1Tree::IsContainerEmpty(int32_t index, bool *_retval)
return NS_OK;
}
/* boolean isSeparator (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::IsSeparator(int32_t index, bool *_retval)
{
@ -234,7 +227,6 @@ nsNSSASN1Tree::IsSeparator(int32_t index, bool *_retval)
return NS_OK;
}
/* long getLevel (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::GetLevel(int32_t index, int32_t *_retval)
{
@ -249,7 +241,6 @@ nsNSSASN1Tree::GetLevel(int32_t index, int32_t *_retval)
return NS_OK;
}
/* Astring getImageSrc (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::GetImageSrc(int32_t row, nsITreeColumn* col,
nsAString& _retval)
@ -257,14 +248,12 @@ nsNSSASN1Tree::GetImageSrc(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* long getProgressMode (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::GetProgressMode(int32_t row, nsITreeColumn* col, int32_t* _retval)
{
return NS_OK;
}
/* Astring getCellValue (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::GetCellValue(int32_t row, nsITreeColumn* col,
nsAString& _retval)
@ -272,7 +261,6 @@ nsNSSASN1Tree::GetCellValue(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* Astring getCellText (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::GetCellText(int32_t row, nsITreeColumn* col,
nsAString& _retval)
@ -287,7 +275,6 @@ nsNSSASN1Tree::GetCellText(int32_t row, nsITreeColumn* col,
return n->obj->GetDisplayName(_retval);
}
/* wstring getDisplayData (in unsigned long index); */
NS_IMETHODIMP
nsNSSASN1Tree::GetDisplayData(uint32_t index, nsAString &_retval)
{
@ -299,7 +286,6 @@ nsNSSASN1Tree::GetDisplayData(uint32_t index, nsAString &_retval)
return NS_OK;
}
/* void setTree (in nsITreeBoxObject tree); */
NS_IMETHODIMP
nsNSSASN1Tree::SetTree(nsITreeBoxObject *tree)
{
@ -307,7 +293,6 @@ nsNSSASN1Tree::SetTree(nsITreeBoxObject *tree)
return NS_OK;
}
/* void toggleOpenState (in long index); */
NS_IMETHODIMP
nsNSSASN1Tree::ToggleOpenState(int32_t index)
{
@ -333,28 +318,24 @@ nsNSSASN1Tree::ToggleOpenState(int32_t index)
return NS_OK;
}
/* void cycleHeader (in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::CycleHeader(nsITreeColumn* col)
{
return NS_OK;
}
/* void selectionChanged (); */
NS_IMETHODIMP
nsNSSASN1Tree::SelectionChanged()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cycleCell (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::CycleCell(int32_t row, nsITreeColumn* col)
{
return NS_OK;
}
/* boolean isEditable (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::IsEditable(int32_t row, nsITreeColumn* col,
bool *_retval)
@ -363,7 +344,6 @@ nsNSSASN1Tree::IsEditable(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* boolean isSelectable (in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::IsSelectable(int32_t row, nsITreeColumn* col,
bool *_retval)
@ -372,7 +352,6 @@ nsNSSASN1Tree::IsSelectable(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* void setCellValue (in long row, in nsITreeColumn col, in AString value); */
NS_IMETHODIMP
nsNSSASN1Tree::SetCellValue(int32_t row, nsITreeColumn* col,
const nsAString& value)
@ -380,7 +359,6 @@ nsNSSASN1Tree::SetCellValue(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* void setCellText (in long row, in nsITreeColumn col, in AString value); */
NS_IMETHODIMP
nsNSSASN1Tree::SetCellText(int32_t row, nsITreeColumn* col,
const nsAString& value)
@ -388,21 +366,18 @@ nsNSSASN1Tree::SetCellText(int32_t row, nsITreeColumn* col,
return NS_OK;
}
/* void performAction (in wstring action); */
NS_IMETHODIMP
nsNSSASN1Tree::PerformAction(const char16_t *action)
{
return NS_OK;
}
/* void performActionOnRow (in wstring action, in long row); */
NS_IMETHODIMP
nsNSSASN1Tree::PerformActionOnRow(const char16_t *action, int32_t row)
{
return NS_OK;
}
/* void performActionOnCell (in wstring action, in long row, in nsITreeColumn col); */
NS_IMETHODIMP
nsNSSASN1Tree::PerformActionOnCell(const char16_t *action, int32_t row,
nsITreeColumn* col)
@ -444,7 +419,6 @@ NS_IMETHODIMP nsNSSASN1Tree::IsSorted(bool *_retval)
}
/* long getParentIndex (in long rowIndex); */
NS_IMETHODIMP
nsNSSASN1Tree::GetParentIndex(int32_t rowIndex, int32_t *_retval)
{
@ -458,7 +432,6 @@ nsNSSASN1Tree::GetParentIndex(int32_t rowIndex, int32_t *_retval)
return NS_OK;
}
/* boolean hasNextSibling (in long rowIndex, in long afterIndex); */
NS_IMETHODIMP
nsNSSASN1Tree::HasNextSibling(int32_t rowIndex, int32_t afterIndex,
bool *_retval)

View File

@ -377,7 +377,6 @@ nsNSSDialogs::GetPKCS12FilePassword(nsIInterfaceRequestor* ctx,
return NS_OK;
}
/* void viewCert (in nsIX509Cert cert); */
NS_IMETHODIMP
nsNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx,
nsIX509Cert *cert)

View File

@ -72,7 +72,6 @@ nsPKIParamBlock::SetObjects(nsIMutableArray * aObjects)
/* void setISupportAtIndex (in int32_t index, in nsISupports object); */
NS_IMETHODIMP
nsPKIParamBlock::SetISupportAtIndex(int32_t index, nsISupports *object)
{
@ -87,7 +86,6 @@ nsPKIParamBlock::SetISupportAtIndex(int32_t index, nsISupports *object)
return NS_OK;
}
/* nsISupports getISupportAtIndex (in int32_t index); */
NS_IMETHODIMP
nsPKIParamBlock::GetISupportAtIndex(int32_t index, nsISupports **_retval)
{

Some files were not shown because too many files have changed in this diff Show More