From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/nprt_plugin/gecko/1.8/win/idl/domstubs.idl | 127 ++ .../gecko/1.8/win/idl/mozIJSSubScriptLoader.idl | 64 + .../gecko/1.8/win/idl/nsIASN1Object.idl | 105 + .../gecko/1.8/win/idl/nsIASN1Sequence.idl | 91 + .../gecko/1.8/win/idl/nsIBadCertListener.idl | 155 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsICRLInfo.idl | 93 + .../gecko/1.8/win/idl/nsICategoryManager.idl | 101 + .../gecko/1.8/win/idl/nsICertificateDialogs.idl | 132 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIChannel.idl | 219 +++ Src/nprt_plugin/gecko/1.8/win/idl/nsIClassInfo.idl | 132 ++ .../gecko/1.8/win/idl/nsIClipboardCommands.idl | 146 ++ .../gecko/1.8/win/idl/nsIComponentManager.idl | 110 ++ .../gecko/1.8/win/idl/nsIComponentRegistrar.idl | 243 +++ .../gecko/1.8/win/idl/nsIContextMenuListener.idl | 100 + Src/nprt_plugin/gecko/1.8/win/idl/nsICookie.idl | 125 ++ .../gecko/1.8/win/idl/nsICookieManager.idl | 73 + .../gecko/1.8/win/idl/nsIDOM3DocumentEvent.idl | 55 + .../gecko/1.8/win/idl/nsIDOM3EventTarget.idl | 66 + .../gecko/1.8/win/idl/nsIDOMAbstractView.idl | 55 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAttr.idl | 63 + .../gecko/1.8/win/idl/nsIDOMBarProp.idl | 54 + .../gecko/1.8/win/idl/nsIDOMCDATASection.idl | 57 + .../gecko/1.8/win/idl/nsIDOMCSSPrimitiveValue.idl | 99 + .../gecko/1.8/win/idl/nsIDOMCSSRule.idl | 70 + .../gecko/1.8/win/idl/nsIDOMCSSRuleList.idl | 57 + .../1.8/win/idl/nsIDOMCSSStyleDeclaration.idl | 70 + .../gecko/1.8/win/idl/nsIDOMCSSStyleSheet.idl | 63 + .../gecko/1.8/win/idl/nsIDOMCSSValue.idl | 64 + .../gecko/1.8/win/idl/nsIDOMCSSValueList.idl | 55 + .../gecko/1.8/win/idl/nsIDOMCharacterData.idl | 75 + .../gecko/1.8/win/idl/nsIDOMComment.idl | 56 + .../gecko/1.8/win/idl/nsIDOMCustomEvent.idl | 56 + .../gecko/1.8/win/idl/nsIDOMDOMException.idl | 86 + .../gecko/1.8/win/idl/nsIDOMDOMImplementation.idl | 68 + .../gecko/1.8/win/idl/nsIDOMDocument.idl | 96 + .../gecko/1.8/win/idl/nsIDOMDocumentEvent.idl | 57 + .../gecko/1.8/win/idl/nsIDOMDocumentFragment.idl | 56 + .../gecko/1.8/win/idl/nsIDOMDocumentRange.idl | 54 + .../gecko/1.8/win/idl/nsIDOMDocumentStyle.idl | 56 + .../gecko/1.8/win/idl/nsIDOMDocumentType.idl | 63 + .../gecko/1.8/win/idl/nsIDOMDocumentView.idl | 56 + .../gecko/1.8/win/idl/nsIDOMElement.idl | 94 + .../1.8/win/idl/nsIDOMElementCSSInlineStyle.idl | 55 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntity.idl | 58 + .../gecko/1.8/win/idl/nsIDOMEntityReference.idl | 55 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEvent.idl | 174 ++ .../gecko/1.8/win/idl/nsIDOMEventGroup.idl | 54 + .../gecko/1.8/win/idl/nsIDOMEventListener.idl | 65 + .../gecko/1.8/win/idl/nsIDOMEventTarget.idl | 128 ++ .../gecko/1.8/win/idl/nsIDOMHTMLAnchorElement.idl | 69 + .../gecko/1.8/win/idl/nsIDOMHTMLAppletElement.idl | 69 + .../gecko/1.8/win/idl/nsIDOMHTMLAreaElement.idl | 63 + .../gecko/1.8/win/idl/nsIDOMHTMLBRElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLBaseElement.idl | 57 + .../1.8/win/idl/nsIDOMHTMLBaseFontElement.idl | 59 + .../gecko/1.8/win/idl/nsIDOMHTMLBodyElement.idl | 61 + .../gecko/1.8/win/idl/nsIDOMHTMLButtonElement.idl | 65 + .../gecko/1.8/win/idl/nsIDOMHTMLCollection.idl | 59 + .../gecko/1.8/win/idl/nsIDOMHTMLDListElement.idl | 56 + .../1.8/win/idl/nsIDOMHTMLDirectoryElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLDivElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLDocument.idl | 84 + .../gecko/1.8/win/idl/nsIDOMHTMLElement.idl | 61 + .../gecko/1.8/win/idl/nsIDOMHTMLEmbedElement.idl | 61 + .../1.8/win/idl/nsIDOMHTMLFieldSetElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLFontElement.idl | 58 + .../gecko/1.8/win/idl/nsIDOMHTMLFormElement.idl | 65 + .../gecko/1.8/win/idl/nsIDOMHTMLFrameElement.idl | 65 + .../1.8/win/idl/nsIDOMHTMLFrameSetElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLHRElement.idl | 59 + .../gecko/1.8/win/idl/nsIDOMHTMLHeadElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLHeadingElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLHtmlElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLIFrameElement.idl | 67 + .../gecko/1.8/win/idl/nsIDOMHTMLImageElement.idl | 71 + .../gecko/1.8/win/idl/nsIDOMHTMLInputElement.idl | 79 + .../gecko/1.8/win/idl/nsIDOMHTMLIsIndexElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLLIElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLLabelElement.idl | 58 + .../gecko/1.8/win/idl/nsIDOMHTMLLegendElement.idl | 58 + .../gecko/1.8/win/idl/nsIDOMHTMLLinkElement.idl | 64 + .../gecko/1.8/win/idl/nsIDOMHTMLMapElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLMenuElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLMetaElement.idl | 59 + .../gecko/1.8/win/idl/nsIDOMHTMLModElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLOListElement.idl | 58 + .../gecko/1.8/win/idl/nsIDOMHTMLObjectElement.idl | 75 + .../1.8/win/idl/nsIDOMHTMLOptGroupElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMHTMLOptionElement.idl | 65 + .../1.8/win/idl/nsIDOMHTMLOptionsCollection.idl | 60 + .../1.8/win/idl/nsIDOMHTMLParagraphElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLParamElement.idl | 59 + .../gecko/1.8/win/idl/nsIDOMHTMLPreElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLQuoteElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLScriptElement.idl | 62 + .../gecko/1.8/win/idl/nsIDOMHTMLSelectElement.idl | 77 + .../gecko/1.8/win/idl/nsIDOMHTMLStyleElement.idl | 58 + .../1.8/win/idl/nsIDOMHTMLTableCaptionElem.idl | 56 + .../1.8/win/idl/nsIDOMHTMLTableCellElement.idl | 70 + .../1.8/win/idl/nsIDOMHTMLTableColElement.idl | 61 + .../gecko/1.8/win/idl/nsIDOMHTMLTableElement.idl | 90 + .../1.8/win/idl/nsIDOMHTMLTableRowElement.idl | 72 + .../1.8/win/idl/nsIDOMHTMLTableSectionElem.idl | 66 + .../1.8/win/idl/nsIDOMHTMLTextAreaElement.idl | 70 + .../gecko/1.8/win/idl/nsIDOMHTMLTitleElement.idl | 56 + .../gecko/1.8/win/idl/nsIDOMHTMLUListElement.idl | 57 + .../gecko/1.8/win/idl/nsIDOMMediaList.idl | 64 + .../gecko/1.8/win/idl/nsIDOMMouseEvent.idl | 84 + .../gecko/1.8/win/idl/nsIDOMNSDocumentStyle.idl | 60 + .../gecko/1.8/win/idl/nsIDOMNamedNodeMap.idl | 72 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNode.idl | 110 ++ .../gecko/1.8/win/idl/nsIDOMNodeList.idl | 59 + .../gecko/1.8/win/idl/nsIDOMNotation.idl | 58 + .../1.8/win/idl/nsIDOMProcessingInstruction.idl | 59 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMRange.idl | 116 ++ .../gecko/1.8/win/idl/nsIDOMStyleSheet.idl | 62 + .../gecko/1.8/win/idl/nsIDOMStyleSheetList.idl | 57 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMText.idl | 57 + .../gecko/1.8/win/idl/nsIDOMUIEvent.idl | 62 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow.idl | 155 ++ .../gecko/1.8/win/idl/nsIDOMWindow2.idl | 49 + .../gecko/1.8/win/idl/nsIDOMWindowCollection.idl | 66 + .../gecko/1.8/win/idl/nsIDOMWindowUtils.idl | 74 + Src/nprt_plugin/gecko/1.8/win/idl/nsIDebug.idl | 67 + .../gecko/1.8/win/idl/nsIDirectoryService.idl | 139 ++ .../gecko/1.8/win/idl/nsIEmbeddingSiteWindow.idl | 155 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIFactory.idl | 79 + Src/nprt_plugin/gecko/1.8/win/idl/nsIFile.idl | 343 ++++ Src/nprt_plugin/gecko/1.8/win/idl/nsIFileURL.idl | 64 + .../gecko/1.8/win/idl/nsIGlobalHistory.idl | 75 + .../gecko/1.8/win/idl/nsIHistoryEntry.idl | 93 + .../gecko/1.8/win/idl/nsIHttpChannel.idl | 296 +++ .../gecko/1.8/win/idl/nsIHttpHeaderVisitor.idl | 61 + Src/nprt_plugin/gecko/1.8/win/idl/nsIIOService.idl | 146 ++ .../gecko/1.8/win/idl/nsIInputStream.idl | 139 ++ .../gecko/1.8/win/idl/nsIInterfaceRequestor.idl | 72 + Src/nprt_plugin/gecko/1.8/win/idl/nsILoadGroup.idl | 105 + Src/nprt_plugin/gecko/1.8/win/idl/nsILocalFile.idl | 180 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIMemory.idl | 130 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIModule.idl | 115 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIObserver.idl | 72 + .../gecko/1.8/win/idl/nsIObserverService.idl | 111 ++ .../gecko/1.8/win/idl/nsIOutputStream.idl | 167 ++ .../gecko/1.8/win/idl/nsIPrefBranch.idl | 353 ++++ .../gecko/1.8/win/idl/nsIPrefBranch2.idl | 114 ++ .../gecko/1.8/win/idl/nsIPrefLocalizedString.idl | 104 + .../gecko/1.8/win/idl/nsIPrefService.idl | 182 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIProfile.idl | 87 + .../gecko/1.8/win/idl/nsIProfileChangeStatus.idl | 142 ++ .../gecko/1.8/win/idl/nsIProgrammingLanguage.idl | 70 + .../gecko/1.8/win/idl/nsIPromptService.idl | 380 ++++ .../gecko/1.8/win/idl/nsIProperties.idl | 79 + .../gecko/1.8/win/idl/nsIProtocolHandler.idl | 167 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIRequest.idl | 198 ++ .../gecko/1.8/win/idl/nsIRequestObserver.idl | 75 + Src/nprt_plugin/gecko/1.8/win/idl/nsISHistory.idl | 174 ++ .../gecko/1.8/win/idl/nsISHistoryListener.idl | 179 ++ .../gecko/1.8/win/idl/nsIScriptableInputStream.idl | 73 + .../1.8/win/idl/nsISecurityWarningDialogs.idl | 124 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsISelection.idl | 170 ++ .../gecko/1.8/win/idl/nsIServiceManager.idl | 113 ++ .../gecko/1.8/win/idl/nsISimpleEnumerator.idl | 81 + .../gecko/1.8/win/idl/nsIStreamListener.idl | 71 + Src/nprt_plugin/gecko/1.8/win/idl/nsISupports.idl | 77 + .../gecko/1.8/win/idl/nsISupportsPrimitives.idl | 304 +++ .../gecko/1.8/win/idl/nsITooltipListener.idl | 78 + .../gecko/1.8/win/idl/nsITooltipTextProvider.idl | 78 + .../gecko/1.8/win/idl/nsITraceRefcnt.idl | 72 + Src/nprt_plugin/gecko/1.8/win/idl/nsIURI.idl | 232 +++ .../gecko/1.8/win/idl/nsIURIContentListener.idl | 167 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIURL.idl | 183 ++ .../gecko/1.8/win/idl/nsIUnicharStreamListener.idl | 66 + .../gecko/1.8/win/idl/nsIUploadChannel.idl | 90 + .../gecko/1.8/win/idl/nsIWeakReference.idl | 102 + .../gecko/1.8/win/idl/nsIWebBrowser.idl | 170 ++ .../gecko/1.8/win/idl/nsIWebBrowserChrome.idl | 154 ++ .../gecko/1.8/win/idl/nsIWebBrowserChromeFocus.idl | 64 + .../gecko/1.8/win/idl/nsIWebBrowserFind.idl | 181 ++ .../gecko/1.8/win/idl/nsIWebBrowserFocus.idl | 112 ++ .../gecko/1.8/win/idl/nsIWebBrowserPrint.idl | 188 ++ .../gecko/1.8/win/idl/nsIWebBrowserSetup.idl | 133 ++ .../gecko/1.8/win/idl/nsIWebBrowserStream.idl | 91 + .../gecko/1.8/win/idl/nsIWebProgress.idl | 172 ++ .../gecko/1.8/win/idl/nsIWebProgressListener.idl | 357 ++++ .../gecko/1.8/win/idl/nsIWindowCreator.idl | 76 + .../gecko/1.8/win/idl/nsIWindowWatcher.idl | 190 ++ Src/nprt_plugin/gecko/1.8/win/idl/nsIX509Cert.idl | 270 +++ .../gecko/1.8/win/idl/nsIX509CertDB.idl | 300 +++ .../gecko/1.8/win/idl/nsIX509CertValidity.idl | 105 + Src/nprt_plugin/gecko/1.8/win/idl/nsrootidl.idl | 128 ++ Src/nprt_plugin/gecko/1.8/win/include/domstubs.h | 148 ++ Src/nprt_plugin/gecko/1.8/win/include/jni.h | 1810 +++++++++++++++++ Src/nprt_plugin/gecko/1.8/win/include/jni_md.h | 182 ++ Src/nprt_plugin/gecko/1.8/win/include/jri.h | 689 +++++++ Src/nprt_plugin/gecko/1.8/win/include/jri_md.h | 565 ++++++ Src/nprt_plugin/gecko/1.8/win/include/jritypes.h | 243 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_aix.h | 254 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_beos.h | 613 ++++++ Src/nprt_plugin/gecko/1.8/win/include/md/_bsdi.h | 214 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_darwin.h | 276 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_dgux.h | 221 +++ .../gecko/1.8/win/include/md/_freebsd.h | 278 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_hpux.h | 257 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_irix.h | 470 +++++ Src/nprt_plugin/gecko/1.8/win/include/md/_linux.h | 559 ++++++ Src/nprt_plugin/gecko/1.8/win/include/md/_macos.h | 725 +++++++ Src/nprt_plugin/gecko/1.8/win/include/md/_ncr.h | 230 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_nec.h | 196 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_netbsd.h | 322 ++++ .../gecko/1.8/win/include/md/_nextstep.h | 299 +++ .../gecko/1.8/win/include/md/_nspr_pthread.h | 283 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_nto.h | 221 +++ .../gecko/1.8/win/include/md/_openbsd.h | 238 +++ .../gecko/1.8/win/include/md/_openvms.h | 332 ++++ Src/nprt_plugin/gecko/1.8/win/include/md/_os2.h | 594 ++++++ .../gecko/1.8/win/include/md/_os2_errors.h | 162 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_osf1.h | 255 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_pcos.h | 89 + Src/nprt_plugin/gecko/1.8/win/include/md/_pth.h | 303 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_qnx.h | 215 +++ .../gecko/1.8/win/include/md/_reliantunix.h | 270 +++ .../gecko/1.8/win/include/md/_rhapsody.h | 225 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_riscos.h | 209 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_scoos.h | 204 ++ .../gecko/1.8/win/include/md/_solaris.h | 806 ++++++++ Src/nprt_plugin/gecko/1.8/win/include/md/_sony.h | 204 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_sunos4.h | 236 +++ .../gecko/1.8/win/include/md/_unix_errors.h | 171 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_unixos.h | 632 ++++++ .../gecko/1.8/win/include/md/_unixware.h | 219 +++ Src/nprt_plugin/gecko/1.8/win/include/md/_win16.h | 568 ++++++ .../gecko/1.8/win/include/md/_win32_errors.h | 154 ++ Src/nprt_plugin/gecko/1.8/win/include/md/_win95.h | 549 ++++++ Src/nprt_plugin/gecko/1.8/win/include/md/_winnt.h | 610 ++++++ Src/nprt_plugin/gecko/1.8/win/include/md/prosdep.h | 169 ++ Src/nprt_plugin/gecko/1.8/win/include/md/sunos4.h | 164 ++ .../gecko/1.8/win/include/mozIJSSubScriptLoader.h | 99 + .../gecko/1.8/win/include/mozilla-config.h | 52 + Src/nprt_plugin/gecko/1.8/win/include/npapi.h | 726 +++++++ Src/nprt_plugin/gecko/1.8/win/include/npruntime.h | 397 ++++ Src/nprt_plugin/gecko/1.8/win/include/nptypes.h | 105 + Src/nprt_plugin/gecko/1.8/win/include/npupp.h | 1889 ++++++++++++++++++ Src/nprt_plugin/gecko/1.8/win/include/nsBuildID.h | 23 + Src/nprt_plugin/gecko/1.8/win/include/nsCOMPtr.h | 1649 ++++++++++++++++ .../1.8/win/include/nsComponentManagerUtils.h | 336 ++++ Src/nprt_plugin/gecko/1.8/win/include/nsDebug.h | 279 +++ .../gecko/1.8/win/include/nsDirectoryServiceDefs.h | 204 ++ .../1.8/win/include/nsDirectoryServiceUtils.h | 60 + Src/nprt_plugin/gecko/1.8/win/include/nsEmbedAPI.h | 172 ++ Src/nprt_plugin/gecko/1.8/win/include/nsEmbedCID.h | 78 + .../gecko/1.8/win/include/nsEmbedString.h | 51 + Src/nprt_plugin/gecko/1.8/win/include/nsError.h | 317 +++ .../gecko/1.8/win/include/nsGenericFactory.h | 127 ++ .../gecko/1.8/win/include/nsIASN1Object.h | 230 +++ .../gecko/1.8/win/include/nsIASN1Sequence.h | 181 ++ .../gecko/1.8/win/include/nsIBadCertListener.h | 219 +++ Src/nprt_plugin/gecko/1.8/win/include/nsICRLInfo.h | 205 ++ .../gecko/1.8/win/include/nsICategoryManager.h | 190 ++ .../gecko/1.8/win/include/nsICertificateDialogs.h | 220 +++ Src/nprt_plugin/gecko/1.8/win/include/nsIChannel.h | 404 ++++ .../gecko/1.8/win/include/nsIClassInfo.h | 245 +++ .../gecko/1.8/win/include/nsIClipboardCommands.h | 317 +++ .../gecko/1.8/win/include/nsIComponentManager.h | 165 ++ .../gecko/1.8/win/include/nsIComponentRegistrar.h | 375 ++++ .../gecko/1.8/win/include/nsIContextMenuListener.h | 149 ++ Src/nprt_plugin/gecko/1.8/win/include/nsICookie.h | 257 +++ .../gecko/1.8/win/include/nsICookieManager.h | 138 ++ Src/nprt_plugin/gecko/1.8/win/include/nsID.h | 151 ++ .../gecko/1.8/win/include/nsIDOM3DocumentEvent.h | 96 + .../gecko/1.8/win/include/nsIDOM3EventTarget.h | 132 ++ .../gecko/1.8/win/include/nsIDOMAbstractView.h | 98 + Src/nprt_plugin/gecko/1.8/win/include/nsIDOMAttr.h | 143 ++ .../gecko/1.8/win/include/nsIDOMBarProp.h | 104 + .../gecko/1.8/win/include/nsIDOMCDATASection.h | 80 + .../1.8/win/include/nsIDOMCSSPrimitiveValue.h | 234 +++ .../gecko/1.8/win/include/nsIDOMCSSRule.h | 156 ++ .../gecko/1.8/win/include/nsIDOMCSSRuleList.h | 110 ++ .../1.8/win/include/nsIDOMCSSStyleDeclaration.h | 202 ++ .../gecko/1.8/win/include/nsIDOMCSSStyleSheet.h | 134 ++ .../gecko/1.8/win/include/nsIDOMCSSValue.h | 126 ++ .../gecko/1.8/win/include/nsIDOMCSSValueList.h | 110 ++ .../gecko/1.8/win/include/nsIDOMCharacterData.h | 178 ++ .../gecko/1.8/win/include/nsIDOMComment.h | 80 + .../gecko/1.8/win/include/nsIDOMCustomEvent.h | 108 ++ .../gecko/1.8/win/include/nsIDOMDOMException.h | 136 ++ .../1.8/win/include/nsIDOMDOMImplementation.h | 123 ++ .../gecko/1.8/win/include/nsIDOMDocument.h | 295 +++ .../gecko/1.8/win/include/nsIDOMDocumentEvent.h | 98 + .../gecko/1.8/win/include/nsIDOMDocumentFragment.h | 80 + .../gecko/1.8/win/include/nsIDOMDocumentRange.h | 98 + .../gecko/1.8/win/include/nsIDOMDocumentStyle.h | 98 + .../gecko/1.8/win/include/nsIDOMDocumentType.h | 160 ++ .../gecko/1.8/win/include/nsIDOMDocumentView.h | 98 + .../gecko/1.8/win/include/nsIDOMElement.h | 278 +++ .../1.8/win/include/nsIDOMElementCSSInlineStyle.h | 98 + .../gecko/1.8/win/include/nsIDOMEntity.h | 122 ++ .../gecko/1.8/win/include/nsIDOMEntityReference.h | 80 + .../gecko/1.8/win/include/nsIDOMEvent.h | 303 +++ .../gecko/1.8/win/include/nsIDOMEventGroup.h | 96 + .../gecko/1.8/win/include/nsIDOMEventListener.h | 107 ++ .../gecko/1.8/win/include/nsIDOMEventTarget.h | 185 ++ .../1.8/win/include/nsIDOMHTMLAnchorElement.h | 350 ++++ .../1.8/win/include/nsIDOMHTMLAppletElement.h | 306 +++ .../gecko/1.8/win/include/nsIDOMHTMLAreaElement.h | 246 +++ .../gecko/1.8/win/include/nsIDOMHTMLBRElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLBaseElement.h | 126 ++ .../1.8/win/include/nsIDOMHTMLBaseFontElement.h | 146 ++ .../gecko/1.8/win/include/nsIDOMHTMLBodyElement.h | 206 ++ .../1.8/win/include/nsIDOMHTMLButtonElement.h | 210 ++ .../gecko/1.8/win/include/nsIDOMHTMLCollection.h | 122 ++ .../gecko/1.8/win/include/nsIDOMHTMLDListElement.h | 106 + .../1.8/win/include/nsIDOMHTMLDirectoryElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLDivElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLDocument.h | 302 +++ .../gecko/1.8/win/include/nsIDOMHTMLElement.h | 187 ++ .../gecko/1.8/win/include/nsIDOMHTMLEmbedElement.h | 206 ++ .../1.8/win/include/nsIDOMHTMLFieldSetElement.h | 98 + .../gecko/1.8/win/include/nsIDOMHTMLFontElement.h | 146 ++ .../gecko/1.8/win/include/nsIDOMHTMLFormElement.h | 254 +++ .../gecko/1.8/win/include/nsIDOMHTMLFrameElement.h | 258 +++ .../1.8/win/include/nsIDOMHTMLFrameSetElement.h | 126 ++ .../gecko/1.8/win/include/nsIDOMHTMLHRElement.h | 166 ++ .../gecko/1.8/win/include/nsIDOMHTMLHeadElement.h | 106 + .../1.8/win/include/nsIDOMHTMLHeadingElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLHtmlElement.h | 106 + .../1.8/win/include/nsIDOMHTMLIFrameElement.h | 298 +++ .../gecko/1.8/win/include/nsIDOMHTMLImageElement.h | 326 ++++ .../gecko/1.8/win/include/nsIDOMHTMLInputElement.h | 486 +++++ .../1.8/win/include/nsIDOMHTMLIsIndexElement.h | 118 ++ .../gecko/1.8/win/include/nsIDOMHTMLLIElement.h | 126 ++ .../gecko/1.8/win/include/nsIDOMHTMLLabelElement.h | 138 ++ .../1.8/win/include/nsIDOMHTMLLegendElement.h | 138 ++ .../gecko/1.8/win/include/nsIDOMHTMLLinkElement.h | 266 +++ .../gecko/1.8/win/include/nsIDOMHTMLMapElement.h | 118 ++ .../gecko/1.8/win/include/nsIDOMHTMLMenuElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLMetaElement.h | 166 ++ .../gecko/1.8/win/include/nsIDOMHTMLModElement.h | 126 ++ .../gecko/1.8/win/include/nsIDOMHTMLOListElement.h | 146 ++ .../1.8/win/include/nsIDOMHTMLObjectElement.h | 450 +++++ .../1.8/win/include/nsIDOMHTMLOptGroupElement.h | 126 ++ .../1.8/win/include/nsIDOMHTMLOptionElement.h | 222 +++ .../1.8/win/include/nsIDOMHTMLOptionsCollection.h | 130 ++ .../1.8/win/include/nsIDOMHTMLParagraphElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLParamElement.h | 166 ++ .../gecko/1.8/win/include/nsIDOMHTMLPreElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLQuoteElement.h | 106 + .../1.8/win/include/nsIDOMHTMLScriptElement.h | 226 +++ .../1.8/win/include/nsIDOMHTMLSelectElement.h | 334 ++++ .../gecko/1.8/win/include/nsIDOMHTMLStyleElement.h | 146 ++ .../1.8/win/include/nsIDOMHTMLTableCaptionElem.h | 106 + .../1.8/win/include/nsIDOMHTMLTableCellElement.h | 378 ++++ .../1.8/win/include/nsIDOMHTMLTableColElement.h | 206 ++ .../gecko/1.8/win/include/nsIDOMHTMLTableElement.h | 446 +++++ .../1.8/win/include/nsIDOMHTMLTableRowElement.h | 246 +++ .../1.8/win/include/nsIDOMHTMLTableSectionElem.h | 202 ++ .../1.8/win/include/nsIDOMHTMLTextAreaElement.h | 326 ++++ .../gecko/1.8/win/include/nsIDOMHTMLTitleElement.h | 106 + .../gecko/1.8/win/include/nsIDOMHTMLUListElement.h | 126 ++ .../gecko/1.8/win/include/nsIDOMMediaList.h | 154 ++ .../gecko/1.8/win/include/nsIDOMMouseEvent.h | 218 +++ .../gecko/1.8/win/include/nsIDOMNSDocumentStyle.h | 107 ++ .../gecko/1.8/win/include/nsIDOMNamedNodeMap.h | 182 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNode.h | 403 ++++ .../gecko/1.8/win/include/nsIDOMNodeList.h | 112 ++ .../gecko/1.8/win/include/nsIDOMNotation.h | 111 ++ .../1.8/win/include/nsIDOMProcessingInstruction.h | 119 ++ .../gecko/1.8/win/include/nsIDOMRange.h | 381 ++++ .../gecko/1.8/win/include/nsIDOMStyleSheet.h | 178 ++ .../gecko/1.8/win/include/nsIDOMStyleSheetList.h | 110 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIDOMText.h | 98 + .../gecko/1.8/win/include/nsIDOMUIEvent.h | 122 ++ .../gecko/1.8/win/include/nsIDOMWindow.h | 354 ++++ .../gecko/1.8/win/include/nsIDOMWindow2.h | 94 + .../gecko/1.8/win/include/nsIDOMWindowCollection.h | 128 ++ .../gecko/1.8/win/include/nsIDOMWindowUtils.h | 136 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIDebug.h | 133 ++ .../gecko/1.8/win/include/nsIDirectoryService.h | 332 ++++ .../gecko/1.8/win/include/nsIEmbeddingSiteWindow.h | 262 +++ Src/nprt_plugin/gecko/1.8/win/include/nsIFactory.h | 133 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIFile.h | 826 ++++++++ Src/nprt_plugin/gecko/1.8/win/include/nsIFileURL.h | 116 ++ .../gecko/1.8/win/include/nsIGenericFactory.h | 447 +++++ .../gecko/1.8/win/include/nsIGlobalHistory.h | 116 ++ .../gecko/1.8/win/include/nsIHistoryEntry.h | 139 ++ .../gecko/1.8/win/include/nsIHttpChannel.h | 504 +++++ .../gecko/1.8/win/include/nsIHttpHeaderVisitor.h | 105 + .../gecko/1.8/win/include/nsIIOService.h | 278 +++ .../gecko/1.8/win/include/nsIInputStream.h | 215 +++ .../gecko/1.8/win/include/nsIInterfaceRequestor.h | 112 ++ .../1.8/win/include/nsIInterfaceRequestorUtils.h | 83 + .../gecko/1.8/win/include/nsILoadGroup.h | 233 +++ .../gecko/1.8/win/include/nsILocalFile.h | 373 ++++ Src/nprt_plugin/gecko/1.8/win/include/nsIMemory.h | 212 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIModule.h | 180 ++ .../gecko/1.8/win/include/nsIObserver.h | 112 ++ .../gecko/1.8/win/include/nsIObserverService.h | 179 ++ .../gecko/1.8/win/include/nsIOutputStream.h | 253 +++ .../gecko/1.8/win/include/nsIPrefBranch.h | 557 ++++++ .../gecko/1.8/win/include/nsIPrefBranch2.h | 160 ++ .../gecko/1.8/win/include/nsIPrefLocalizedString.h | 167 ++ .../gecko/1.8/win/include/nsIPrefService.h | 267 +++ Src/nprt_plugin/gecko/1.8/win/include/nsIProfile.h | 219 +++ .../gecko/1.8/win/include/nsIProfileChangeStatus.h | 190 ++ .../gecko/1.8/win/include/nsIProgrammingLanguage.h | 103 + .../gecko/1.8/win/include/nsIPromptService.h | 471 +++++ .../gecko/1.8/win/include/nsIProperties.h | 158 ++ .../gecko/1.8/win/include/nsIProtocolHandler.h | 256 +++ Src/nprt_plugin/gecko/1.8/win/include/nsIRequest.h | 328 ++++ .../gecko/1.8/win/include/nsIRequestObserver.h | 127 ++ .../gecko/1.8/win/include/nsISHistory.h | 292 +++ .../gecko/1.8/win/include/nsISHistoryListener.h | 266 +++ .../1.8/win/include/nsIScriptableInputStream.h | 147 ++ .../1.8/win/include/nsISecurityWarningDialogs.h | 215 +++ .../gecko/1.8/win/include/nsISelection.h | 392 ++++ .../gecko/1.8/win/include/nsIServiceManager.h | 178 ++ .../gecko/1.8/win/include/nsISimpleEnumerator.h | 136 ++ .../gecko/1.8/win/include/nsIStreamListener.h | 112 ++ .../gecko/1.8/win/include/nsISupports.h | 123 ++ .../gecko/1.8/win/include/nsISupportsBase.h | 119 ++ .../gecko/1.8/win/include/nsISupportsImpl.h | 1183 ++++++++++++ .../gecko/1.8/win/include/nsISupportsPrimitives.h | 1787 +++++++++++++++++ .../gecko/1.8/win/include/nsISupportsUtils.h | 230 +++ .../gecko/1.8/win/include/nsITooltipListener.h | 131 ++ .../gecko/1.8/win/include/nsITooltipTextProvider.h | 122 ++ .../gecko/1.8/win/include/nsITraceRefcnt.h | 156 ++ Src/nprt_plugin/gecko/1.8/win/include/nsIURI.h | 499 +++++ .../gecko/1.8/win/include/nsIURIContentListener.h | 274 +++ Src/nprt_plugin/gecko/1.8/win/include/nsIURL.h | 374 ++++ .../1.8/win/include/nsIUnicharStreamListener.h | 110 ++ .../gecko/1.8/win/include/nsIUploadChannel.h | 143 ++ .../gecko/1.8/win/include/nsIWeakReference.h | 203 ++ .../gecko/1.8/win/include/nsIWeakReferenceUtils.h | 142 ++ .../gecko/1.8/win/include/nsIWebBrowser.h | 273 +++ .../gecko/1.8/win/include/nsIWebBrowserChrome.h | 299 +++ .../1.8/win/include/nsIWebBrowserChromeFocus.h | 114 ++ .../gecko/1.8/win/include/nsIWebBrowserFind.h | 453 +++++ .../gecko/1.8/win/include/nsIWebBrowserFocus.h | 220 +++ .../gecko/1.8/win/include/nsIWebBrowserPrint.h | 381 ++++ .../gecko/1.8/win/include/nsIWebBrowserSetup.h | 175 ++ .../gecko/1.8/win/include/nsIWebBrowserStream.h | 154 ++ .../gecko/1.8/win/include/nsIWebProgress.h | 250 +++ .../gecko/1.8/win/include/nsIWebProgressListener.h | 434 +++++ .../gecko/1.8/win/include/nsIWindowCreator.h | 103 + .../gecko/1.8/win/include/nsIWindowWatcher.h | 302 +++ .../gecko/1.8/win/include/nsIX509Cert.h | 593 ++++++ .../gecko/1.8/win/include/nsIX509CertDB.h | 494 +++++ .../gecko/1.8/win/include/nsIX509CertValidity.h | 218 +++ Src/nprt_plugin/gecko/1.8/win/include/nsMemory.h | 161 ++ .../gecko/1.8/win/include/nsParserDataListener.h | 91 + .../gecko/1.8/win/include/nsServiceManagerUtils.h | 133 ++ .../gecko/1.8/win/include/nsStaticComponents.h | 47 + .../gecko/1.8/win/include/nsStringAPI.h | 1737 +++++++++++++++++ .../gecko/1.8/win/include/nsTraceRefcnt.h | 135 ++ .../gecko/1.8/win/include/nsVersionComparator.h | 51 + .../gecko/1.8/win/include/nsWeakReference.h | 147 ++ Src/nprt_plugin/gecko/1.8/win/include/nsXPCOM.h | 421 ++++ Src/nprt_plugin/gecko/1.8/win/include/nsXPCOMCID.h | 184 ++ .../gecko/1.8/win/include/nsXPCOMGlue.h | 153 ++ Src/nprt_plugin/gecko/1.8/win/include/nscore.h | 455 +++++ Src/nprt_plugin/gecko/1.8/win/include/nspr.h | 75 + Src/nprt_plugin/gecko/1.8/win/include/nsrootidl.h | 57 + .../gecko/1.8/win/include/obsolete/pralarm.h | 194 ++ .../gecko/1.8/win/include/obsolete/probslet.h | 175 ++ .../gecko/1.8/win/include/obsolete/protypes.h | 254 +++ .../gecko/1.8/win/include/obsolete/prsem.h | 96 + Src/nprt_plugin/gecko/1.8/win/include/plarena.h | 213 ++ Src/nprt_plugin/gecko/1.8/win/include/plarenas.h | 115 ++ Src/nprt_plugin/gecko/1.8/win/include/plbase64.h | 98 + Src/nprt_plugin/gecko/1.8/win/include/plerror.h | 66 + Src/nprt_plugin/gecko/1.8/win/include/plgetopt.h | 81 + Src/nprt_plugin/gecko/1.8/win/include/plhash.h | 165 ++ Src/nprt_plugin/gecko/1.8/win/include/plresolv.h | 108 ++ Src/nprt_plugin/gecko/1.8/win/include/plstr.h | 470 +++++ Src/nprt_plugin/gecko/1.8/win/include/pratom.h | 161 ++ Src/nprt_plugin/gecko/1.8/win/include/prbit.h | 111 ++ Src/nprt_plugin/gecko/1.8/win/include/prclist.h | 140 ++ Src/nprt_plugin/gecko/1.8/win/include/prcmon.h | 98 + Src/nprt_plugin/gecko/1.8/win/include/prcountr.h | 557 ++++++ Src/nprt_plugin/gecko/1.8/win/include/prcpucfg.h | 200 ++ Src/nprt_plugin/gecko/1.8/win/include/prcvar.h | 126 ++ Src/nprt_plugin/gecko/1.8/win/include/prdtoa.h | 90 + Src/nprt_plugin/gecko/1.8/win/include/prenv.h | 157 ++ Src/nprt_plugin/gecko/1.8/win/include/prerr.h | 278 +++ Src/nprt_plugin/gecko/1.8/win/include/prerror.h | 326 ++++ Src/nprt_plugin/gecko/1.8/win/include/prinet.h | 126 ++ Src/nprt_plugin/gecko/1.8/win/include/prinit.h | 242 +++ Src/nprt_plugin/gecko/1.8/win/include/prinrval.h | 175 ++ Src/nprt_plugin/gecko/1.8/win/include/prio.h | 2030 ++++++++++++++++++++ Src/nprt_plugin/gecko/1.8/win/include/pripcsem.h | 133 ++ .../gecko/1.8/win/include/private/pprio.h | 265 +++ .../gecko/1.8/win/include/private/pprthred.h | 373 ++++ .../gecko/1.8/win/include/private/prpriv.h | 53 + Src/nprt_plugin/gecko/1.8/win/include/prlink.h | 255 +++ Src/nprt_plugin/gecko/1.8/win/include/prlock.h | 121 ++ Src/nprt_plugin/gecko/1.8/win/include/prlog.h | 256 +++ Src/nprt_plugin/gecko/1.8/win/include/prlong.h | 445 +++++ Src/nprt_plugin/gecko/1.8/win/include/prmem.h | 158 ++ Src/nprt_plugin/gecko/1.8/win/include/prmon.h | 113 ++ Src/nprt_plugin/gecko/1.8/win/include/prmwait.h | 412 ++++ Src/nprt_plugin/gecko/1.8/win/include/prnetdb.h | 499 +++++ Src/nprt_plugin/gecko/1.8/win/include/prolock.h | 210 ++ Src/nprt_plugin/gecko/1.8/win/include/prpdce.h | 118 ++ Src/nprt_plugin/gecko/1.8/win/include/prprf.h | 154 ++ Src/nprt_plugin/gecko/1.8/win/include/prproces.h | 118 ++ Src/nprt_plugin/gecko/1.8/win/include/prrng.h | 107 ++ Src/nprt_plugin/gecko/1.8/win/include/prrwlock.h | 120 ++ Src/nprt_plugin/gecko/1.8/win/include/prshm.h | 289 +++ Src/nprt_plugin/gecko/1.8/win/include/prshma.h | 271 +++ Src/nprt_plugin/gecko/1.8/win/include/prsystem.h | 137 ++ Src/nprt_plugin/gecko/1.8/win/include/prthread.h | 286 +++ Src/nprt_plugin/gecko/1.8/win/include/prtime.h | 298 +++ Src/nprt_plugin/gecko/1.8/win/include/prtpool.h | 115 ++ Src/nprt_plugin/gecko/1.8/win/include/prtrace.h | 678 +++++++ Src/nprt_plugin/gecko/1.8/win/include/prtypes.h | 547 ++++++ Src/nprt_plugin/gecko/1.8/win/include/prvrsion.h | 137 ++ Src/nprt_plugin/gecko/1.8/win/include/prwin16.h | 196 ++ .../gecko/1.8/win/include/xpcom-config.h | 69 + .../gecko/1.8/win/includeMoz/ReadMe.txt | 1 + .../1.8/win/includeMoz/nsIProtocolProxyService.h | 317 +++ .../gecko/1.8/win/includeMoz/nsIProxyInfo.h | 204 ++ .../gecko/1.8/win/includeMoz/nsNetCID.h | 749 ++++++++ Src/nprt_plugin/gecko/1.8/win/lib/embed_base_s.lib | Bin 0 -> 7046 bytes Src/nprt_plugin/gecko/1.8/win/lib/nspr4.lib | Bin 0 -> 85424 bytes Src/nprt_plugin/gecko/1.8/win/lib/plc4.lib | Bin 0 -> 8918 bytes Src/nprt_plugin/gecko/1.8/win/lib/plds4.lib | Bin 0 -> 6718 bytes Src/nprt_plugin/gecko/1.8/win/lib/xpcom.lib | Bin 0 -> 9708 bytes Src/nprt_plugin/gecko/1.8/win/lib/xpcomglue.lib | Bin 0 -> 142894 bytes Src/nprt_plugin/gecko/1.8/win/lib/xpcomglue_s.lib | Bin 0 -> 134934 bytes Src/nprt_plugin/gecko/1.8/win/version.txt | 1 + 529 files changed, 103050 insertions(+) create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/domstubs.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/mozIJSSubScriptLoader.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Object.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Sequence.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIBadCertListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsICRLInfo.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsICategoryManager.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsICertificateDialogs.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIChannel.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIClassInfo.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIClipboardCommands.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentManager.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentRegistrar.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIContextMenuListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsICookie.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsICookieManager.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3DocumentEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3EventTarget.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAbstractView.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAttr.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMBarProp.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCDATASection.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSPrimitiveValue.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRule.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRuleList.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleDeclaration.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleSheet.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValue.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValueList.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCharacterData.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMComment.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCustomEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMException.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMImplementation.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocument.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentFragment.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentRange.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentStyle.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentType.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentView.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElementCSSInlineStyle.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntity.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntityReference.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventGroup.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventTarget.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAnchorElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAppletElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAreaElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBRElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseFontElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBodyElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLButtonElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLCollection.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDListElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDirectoryElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDivElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDocument.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLEmbedElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFieldSetElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFontElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFormElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameSetElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHRElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadingElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHtmlElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIFrameElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLImageElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLInputElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIsIndexElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLIElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLabelElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLegendElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLinkElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMapElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMenuElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMetaElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLModElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOListElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLObjectElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptGroupElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionsCollection.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParagraphElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParamElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLPreElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLQuoteElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLScriptElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLSelectElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLStyleElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCaptionElem.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCellElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableColElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableRowElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableSectionElem.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTextAreaElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTitleElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLUListElement.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMediaList.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMouseEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNSDocumentStyle.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNamedNodeMap.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNode.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNodeList.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNotation.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMProcessingInstruction.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMRange.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheet.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheetList.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMText.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMUIEvent.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow2.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowCollection.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowUtils.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDebug.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIDirectoryService.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIEmbeddingSiteWindow.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIFactory.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIFile.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIFileURL.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIGlobalHistory.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIHistoryEntry.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpChannel.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpHeaderVisitor.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIIOService.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIInputStream.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIInterfaceRequestor.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsILoadGroup.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsILocalFile.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIMemory.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIModule.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIObserver.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIObserverService.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIOutputStream.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch2.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefLocalizedString.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefService.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIProfile.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIProfileChangeStatus.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIProgrammingLanguage.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIPromptService.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIProperties.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIProtocolHandler.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIRequest.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIRequestObserver.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISHistory.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISHistoryListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIScriptableInputStream.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISecurityWarningDialogs.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISelection.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIServiceManager.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISimpleEnumerator.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIStreamListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISupports.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsISupportsPrimitives.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipTextProvider.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsITraceRefcnt.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIURI.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIURIContentListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIURL.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIUnicharStreamListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIUploadChannel.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWeakReference.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowser.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChrome.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChromeFocus.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFind.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFocus.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserPrint.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserSetup.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserStream.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgress.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgressListener.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWindowCreator.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIWindowWatcher.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIX509Cert.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIX509CertDB.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsIX509CertValidity.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/idl/nsrootidl.idl create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/domstubs.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/jni.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/jni_md.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/jri.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/jri_md.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/jritypes.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_aix.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_beos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_bsdi.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_darwin.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_dgux.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_freebsd.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_hpux.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_irix.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_linux.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_macos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_ncr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_nec.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_netbsd.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_nextstep.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_nspr_pthread.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_nto.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_openbsd.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_openvms.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_os2.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_os2_errors.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_osf1.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_pcos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_pth.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_qnx.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_reliantunix.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_rhapsody.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_riscos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_scoos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_solaris.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_sony.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_sunos4.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_unix_errors.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_unixos.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_unixware.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_win16.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_win32_errors.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_win95.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/_winnt.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/prosdep.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/md/sunos4.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/mozIJSSubScriptLoader.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/mozilla-config.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/npapi.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/npruntime.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nptypes.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/npupp.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsBuildID.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsCOMPtr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsComponentManagerUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsDebug.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsDirectoryServiceDefs.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsDirectoryServiceUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsEmbedAPI.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsEmbedCID.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsEmbedString.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsError.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsGenericFactory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIASN1Object.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIASN1Sequence.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIBadCertListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsICRLInfo.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsICategoryManager.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsICertificateDialogs.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIChannel.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIClassInfo.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIClipboardCommands.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIComponentManager.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIComponentRegistrar.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIContextMenuListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsICookie.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsICookieManager.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsID.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOM3DocumentEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOM3EventTarget.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMAbstractView.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMAttr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMBarProp.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCDATASection.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSPrimitiveValue.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSRule.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSRuleList.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSStyleDeclaration.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSStyleSheet.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSValue.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCSSValueList.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCharacterData.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMComment.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMCustomEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDOMException.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDOMImplementation.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocument.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentFragment.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentRange.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentStyle.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentType.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMDocumentView.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMElementCSSInlineStyle.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEntity.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEntityReference.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEventGroup.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEventListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMEventTarget.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLAnchorElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLAppletElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLAreaElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLBRElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLBaseElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLBaseFontElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLBodyElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLButtonElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLCollection.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLDListElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLDirectoryElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLDivElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLDocument.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLEmbedElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLFieldSetElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLFontElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLFormElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLFrameElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLFrameSetElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLHRElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLHeadElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLHeadingElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLHtmlElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLIFrameElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLImageElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLInputElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLIsIndexElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLLIElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLLabelElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLLegendElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLLinkElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLMapElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLMenuElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLMetaElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLModElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLOListElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLObjectElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLOptGroupElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLOptionElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLOptionsCollection.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLParagraphElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLParamElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLPreElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLQuoteElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLScriptElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLSelectElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLStyleElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableCaptionElem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableCellElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableColElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableRowElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTableSectionElem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTextAreaElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLTitleElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMHTMLUListElement.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMMediaList.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMMouseEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNSDocumentStyle.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNamedNodeMap.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNode.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNodeList.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMNotation.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMProcessingInstruction.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMRange.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMStyleSheet.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMStyleSheetList.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMText.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMUIEvent.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMWindow.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMWindow2.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMWindowCollection.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDOMWindowUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDebug.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIDirectoryService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIEmbeddingSiteWindow.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIFactory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIFile.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIFileURL.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIGenericFactory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIGlobalHistory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIHistoryEntry.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIHttpChannel.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIHttpHeaderVisitor.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIIOService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIInputStream.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIInterfaceRequestor.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIInterfaceRequestorUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsILoadGroup.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsILocalFile.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIMemory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIModule.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIObserver.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIObserverService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIOutputStream.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIPrefBranch.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIPrefBranch2.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIPrefLocalizedString.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIPrefService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIProfile.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIProfileChangeStatus.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIProgrammingLanguage.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIPromptService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIProperties.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIProtocolHandler.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIRequest.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIRequestObserver.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISHistory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISHistoryListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIScriptableInputStream.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISecurityWarningDialogs.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISelection.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIServiceManager.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISimpleEnumerator.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIStreamListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISupports.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISupportsBase.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISupportsImpl.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISupportsPrimitives.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsISupportsUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsITooltipListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsITooltipTextProvider.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsITraceRefcnt.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIURI.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIURIContentListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIURL.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIUnicharStreamListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIUploadChannel.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWeakReference.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWeakReferenceUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowser.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserChrome.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserChromeFocus.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserFind.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserFocus.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserPrint.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserSetup.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebBrowserStream.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebProgress.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWebProgressListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWindowCreator.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIWindowWatcher.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIX509Cert.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIX509CertDB.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsIX509CertValidity.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsMemory.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsParserDataListener.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsServiceManagerUtils.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsStaticComponents.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsStringAPI.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsTraceRefcnt.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsVersionComparator.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsWeakReference.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsXPCOM.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsXPCOMCID.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsXPCOMGlue.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nscore.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nspr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/nsrootidl.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/obsolete/pralarm.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/obsolete/probslet.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/obsolete/protypes.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/obsolete/prsem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plarena.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plarenas.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plbase64.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plerror.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plgetopt.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plhash.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plresolv.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/plstr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/pratom.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prbit.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prclist.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prcmon.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prcountr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prcpucfg.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prcvar.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prdtoa.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prenv.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prerr.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prerror.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prinet.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prinit.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prinrval.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prio.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/pripcsem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/private/pprio.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/private/pprthred.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/private/prpriv.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prlink.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prlock.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prlog.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prlong.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prmem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prmon.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prmwait.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prnetdb.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prolock.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prpdce.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prprf.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prproces.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prrng.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prrwlock.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prshm.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prshma.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prsystem.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prthread.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prtime.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prtpool.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prtrace.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prtypes.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prvrsion.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/prwin16.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/include/xpcom-config.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/includeMoz/ReadMe.txt create mode 100644 Src/nprt_plugin/gecko/1.8/win/includeMoz/nsIProtocolProxyService.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/includeMoz/nsIProxyInfo.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/includeMoz/nsNetCID.h create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/embed_base_s.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/nspr4.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/plc4.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/plds4.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/xpcom.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/xpcomglue.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/lib/xpcomglue_s.lib create mode 100644 Src/nprt_plugin/gecko/1.8/win/version.txt (limited to 'Src/nprt_plugin/gecko/1.8') diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/domstubs.idl b/Src/nprt_plugin/gecko/1.8/win/idl/domstubs.idl new file mode 100644 index 00000000..a1851c0d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/domstubs.idl @@ -0,0 +1,127 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +typedef unsigned long long DOMTimeStamp; + +// Core +interface nsIDOMAttr; +interface nsIDOMCDATASection; +interface nsIDOMCharacterData; +interface nsIDOMComment; +interface nsIDOMDOMImplementation; +interface nsIDOMDocument; +interface nsIDOMDocumentFragment; +interface nsIDOMDocumentType; +interface nsIDOMElement; +interface nsIDOMEntity; +interface nsIDOMEntityReference; +interface nsIDOMNSDocument; +interface nsIDOMNamedNodeMap; +interface nsIDOMNode; +interface nsIDOMNodeList; +interface nsIDOMNotation; +interface nsIDOMProcessingInstruction; +interface nsIDOMText; +interface nsIDOMDOMStringList; +interface nsIDOMNameList; + +// Needed for raises() in our IDL +interface DOMException; +interface RangeException; + +// Style Sheets +interface nsIDOMStyleSheetList; +interface nsIDOMLinkStyle; +interface nsIDOMStyleSheet; +interface nsIDOMMediaList; + +// Views +interface nsIDOMAbstractView; +interface nsIDOMDocumentView; + +// Base +interface nsIDOMWindow; +interface nsIDOMWindowInternal; +interface nsIDOMWindowCollection; +interface nsIDOMPlugin; +interface nsIDOMPluginArray; +interface nsIDOMMimeType; +interface nsIDOMMimeTypeArray; +interface nsIDOMBarProp; +interface nsIDOMNavigator; +interface nsIDOMScreen; +interface nsIDOMHistory; + +// Events +interface nsIDOMEvent; +interface nsIDOMEventTarget; +interface nsIDOMEventListener; +interface nsIDOMEventGroup; + +// HTML +interface nsIDOMHTMLElement; +interface nsIDOMHTMLFormElement; +interface nsIDOMHTMLCollection; + +// CSS +interface nsIDOMCSSValue; +interface nsIDOMCSSValueList; +interface nsIDOMCSSPrimitiveValue; +interface nsIDOMCSSRule; +interface nsIDOMCSSRuleList; +interface nsIDOMCSSStyleSheet; +interface nsIDOMCSSStyleDeclaration; +interface nsIDOMCounter; +interface nsIDOMRect; +interface nsIDOMRGBColor; +interface nsIDOMCSSStyleRule; +interface nsIDOMCSSStyleRuleCollection; +interface nsIDOMHTMLTableCaptionElement; +interface nsIDOMHTMLTableSectionElement; + +// Range +interface nsIDOMRange; + +// Crypto +interface nsIDOMCRMFObject; +interface nsIDOMCrypto; +interface nsIDOMPkcs11; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/mozIJSSubScriptLoader.idl b/Src/nprt_plugin/gecko/1.8/win/idl/mozIJSSubScriptLoader.idl new file mode 100644 index 00000000..c3884e8a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/mozIJSSubScriptLoader.idl @@ -0,0 +1,64 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Robert Ginda + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/* + * @status FROZEN + */ + +[scriptable, uuid(8792d77e-1dd2-11b2-ac7f-9bc9be4f2916)] +interface mozIJSSubScriptLoader : nsISupports +{ + /** + * This method should only be called from JS! + * In JS, the signature looks like: + * rv loadSubScript (url [, obj]); + * @param url the url if the sub-script, it MUST be either a file:, + * resource:, or chrome: url, and MUST be local. + * @param obj an optional object to evaluate the script onto, it + * defaults to the global object of the caller. + * @retval rv the value returned by the sub-script + */ + void loadSubScript (in wstring url); +}; + + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Object.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Object.idl new file mode 100644 index 00000000..65dab183 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Object.idl @@ -0,0 +1,105 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Javier Delgadillo + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * This represents an ASN.1 object, + * where ASN.1 is "Abstract Syntax Notation number One". + * + * The additional state information carried in this interface + * makes it fit for being used as the data structure + * when working with visual reprenstation of ASN.1 objects + * in a human user interface, like in a tree widget + * where open/close state of nodes must be remembered. + * + * @status FROZEN + */ +[scriptable, uuid(ba8bf582-1dd1-11b2-898c-f40246bc9a63)] +interface nsIASN1Object : nsISupports { + + /** + * Identifiers for the possible types of object. + */ + const unsigned long ASN1_END_CONTENTS = 0; + const unsigned long ASN1_BOOLEAN = 1; + const unsigned long ASN1_INTEGER = 2; + const unsigned long ASN1_BIT_STRING = 3; + const unsigned long ASN1_OCTET_STRING = 4; + const unsigned long ASN1_NULL = 5; + const unsigned long ASN1_OBJECT_ID = 6; + const unsigned long ASN1_ENUMERATED = 10; + const unsigned long ASN1_UTF8_STRING = 12; + const unsigned long ASN1_SEQUENCE = 16; + const unsigned long ASN1_SET = 17; + const unsigned long ASN1_PRINTABLE_STRING = 19; + const unsigned long ASN1_T61_STRING = 20; + const unsigned long ASN1_IA5_STRING = 22; + const unsigned long ASN1_UTC_TIME = 23; + const unsigned long ASN1_GEN_TIME = 24; + const unsigned long ASN1_VISIBLE_STRING = 26; + const unsigned long ASN1_UNIVERSAL_STRING = 28; + const unsigned long ASN1_BMP_STRING = 30; + const unsigned long ASN1_HIGH_TAG_NUMBER = 31; + const unsigned long ASN1_CONTEXT_SPECIFIC = 32; + const unsigned long ASN1_APPLICATION = 33; + const unsigned long ASN1_PRIVATE = 34; + + /** + * "type" will be equal to one of the defined object identifiers. + */ + attribute unsigned long type; + + + /** + * This contains a tag as explained in ASN.1 standards documents. + */ + attribute unsigned long tag; + + /** + * "displayName" contains a human readable explanatory label. + */ + attribute AString displayName; + + /** + * "displayValue" contains the human readable value. + */ + attribute AString displayValue; +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Sequence.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Sequence.idl new file mode 100644 index 00000000..3c5482a9 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIASN1Sequence.idl @@ -0,0 +1,91 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Javier Delgadillo + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsIASN1Object.idl" + +interface nsIMutableArray; + +/** + * This represents a sequence of ASN.1 objects, + * where ASN.1 is "Abstract Syntax Notation number One". + * + * Overview of how this ASN1 interface is intended to + * work. + * + * First off, the nsIASN1Sequence is any type in ASN1 + * that consists of sub-elements (ie SEQUENCE, SET) + * nsIASN1Printable Items are all the other types that + * can be viewed by themselves without interpreting further. + * Examples would include INTEGER, UTF-8 STRING, OID. + * These are not intended to directly reflect the numberous + * types that exist in ASN1, but merely an interface to ease + * producing a tree display the ASN1 structure of any DER + * object. + * + * The additional state information carried in this interface + * makes it fit for being used as the data structure + * when working with visual reprenstation of ASN.1 objects + * in a human user interface, like in a tree widget + * where open/close state of nodes must be remembered. + * + * @status FROZEN + */ +[scriptable, uuid(b6b957e6-1dd1-11b2-89d7-e30624f50b00)] +interface nsIASN1Sequence : nsIASN1Object { + + /** + * The array of objects stored in the sequence. + */ + attribute nsIMutableArray ASN1Objects; + + /** + * Whether the node at this position in the ASN.1 data structure + * sequence contains sub elements understood by the + * application. + */ + attribute boolean isValidContainer; + + /** + * Whether the contained objects should be shown or hidden. + * A UI implementation can use this flag to store the current + * expansion state when shown in a tree widget. + */ + attribute boolean isExpanded; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIBadCertListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIBadCertListener.idl new file mode 100644 index 00000000..5e9e7508 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIBadCertListener.idl @@ -0,0 +1,155 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Javier Delgadillo + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIX509Cert; +interface nsIInterfaceRequestor; + +/** + * Functions that display warnings for problems with web site trust. + * + * @status FROZEN + */ +[scriptable, uuid(86960956-edb0-11d4-998b-00b0d02354a0)] +interface nsIBadCertListener : nsISupports { + + /** + * No decision was made by the user, whether to trust a cert. + */ + const short UNINIT_ADD_FLAG = -1; + + /** + * The user decided to add trust to a certificate temporarily + * for the current application session only. + */ + const short ADD_TRUSTED_FOR_SESSION = 1; + + /** + * The user decided to add trust to a certificate permanently. + */ + const short ADD_TRUSTED_PERMANENTLY = 2; + + /** + * Inform the user there are problems with the trust of a certificate, + * and request a decision from the user. + * The UI should offer the user a way to look at the certificate in detail. + * The following is a sample UI message to be shown to the user: + * + * Unable to verify the identity of %S as a trusted site. + * Possible reasons for this error: + * - Your browser does not recognize the Certificate Authority + * that issued the site's certificate. + * - The site's certificate is incomplete due to a + * server misconfiguration. + * - You are connected to a site pretending to be %S, + * possibly to obtain your confidential information. + * Please notify the site's webmaster about this problem. + * Before accepting this certificate, you should examine this site's + * certificate carefully. Are you willing to to accept this certificate + * for the purpose of identifying the Web site %S? + * o Accept this certificate permanently + * x Accept this certificate temporarily for this session + * o Do not accept this certificate and do not connect to this Web site + * + * @param socketInfo A network communication context that can be used to obtain more information + * about the active connection. + * @param cert The certificate that is not trusted and that is having the problem. + * @param certAddType The user's trust decision. See constants defined above. + * + * @return true if the user decided to connect anyway, false if the user decided to not connect + */ + boolean confirmUnknownIssuer(in nsIInterfaceRequestor socketInfo, + in nsIX509Cert cert, + out short certAddType); + + /** + * Inform the user there are problems with the trust of a certificate, + * and request a decision from the user. + * The hostname mentioned in the server's certificate is not the hostname + * that was used as a destination address for the current connection. + * + * @param socketInfo A network communication context that can be used to obtain more information + * about the active connection. + * @param targetURL The URL that was used to open the current connection. + * @param cert The certificate that was presented by the server. + * + * @return true if the user decided to connect anyway, false if the user decided to not connect + */ + boolean confirmMismatchDomain(in nsIInterfaceRequestor socketInfo, + in AUTF8String targetURL, + in nsIX509Cert cert); + + /** + * Inform the user there are problems with the trust of a certificate, + * and request a decision from the user. + * The certificate presented by the server is no longer valid because + * the validity period has expired. + * + * @param socketInfo A network communication context that can be used to obtain more information + * about the active connection. + * @param cert The certificate that was presented by the server. + * + * @return true if the user decided to connect anyway, false if the user decided to not connect + */ + boolean confirmCertExpired(in nsIInterfaceRequestor socketInfo, + in nsIX509Cert cert); + + /** + * Inform the user there are problems with the trust of a certificate, + * and request a decision from the user. + * The Certificate Authority (CA) that issued the server's certificate has issued a + * Certificate Revocation List (CRL). + * However, the application does not have a current version of the CA's CRL. + * Due to the application configuration, the application disallows the connection + * to the remote site. + * + * @param socketInfo A network communication context that can be used to obtain more information + * about the active connection. + * @param targetURL The URL that was used to open the current connection. + * @param cert The certificate that was presented by the server. + */ + void notifyCrlNextupdate(in nsIInterfaceRequestor socketInfo, + in AUTF8String targetURL, in nsIX509Cert cert); + +}; + +%{C++ +#define NS_BADCERTLISTENER_CONTRACTID "@mozilla.org/nsBadCertListener;1" +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsICRLInfo.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsICRLInfo.idl new file mode 100644 index 00000000..1c08fee1 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsICRLInfo.idl @@ -0,0 +1,93 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Javier Delgadillo + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * Information on a Certificate Revocation List (CRL) + * issued by a Aertificate Authority (CA). + * + * @status FROZEN + */ +[scriptable, uuid(c185d920-4a3e-11d5-ba27-00108303b117)] +interface nsICRLInfo : nsISupports { + + /** + * The issuing CA's organization. + */ + readonly attribute AString organization; + + /** + * The issuing CA's organizational unit. + */ + readonly attribute AString organizationalUnit; + + /** + * The time this CRL was created at. + */ + readonly attribute PRTime lastUpdate; + + /** + * The time the suggested next update for this CRL. + */ + readonly attribute PRTime nextUpdate; + + /** + * lastUpdate formatted as a human readable string + * formatted according to the environment locale. + */ + readonly attribute AString lastUpdateLocale; + + /** + * nextUpdate formatted as a human readable string + * formatted according to the environment locale. + */ + readonly attribute AString nextUpdateLocale; + + /** + * The key identifying the CRL in the database. + */ + readonly attribute AString nameInDb; + + /** + * The URL this CRL was last fetched from. + */ + readonly attribute AUTF8String lastFetchURL; +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsICategoryManager.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsICategoryManager.idl new file mode 100644 index 00000000..509f7870 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsICategoryManager.idl @@ -0,0 +1,101 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsISimpleEnumerator.idl" + +/* + * nsICategoryManager + * @status FROZEN + */ + +[scriptable, uuid(3275b2cd-af6d-429a-80d7-f0c5120342ac)] +interface nsICategoryManager : nsISupports +{ + /** + * Get the value for the given category's entry. + * @param aCategory The name of the category ("protocol") + * @param aEntry The entry you're looking for ("http") + * @return The value. + */ + string getCategoryEntry(in string aCategory, in string aEntry); + + /** + * Add an entry to a category. + * @param aCategory The name of the category ("protocol") + * @param aEntry The entry to be added ("http") + * @param aValue The value for the entry ("moz.httprulez.1") + * @param aPersist Should this data persist between invocations? + * @param aReplace Should we replace an existing entry? + * @return Previous entry, if any + */ + string addCategoryEntry(in string aCategory, in string aEntry, + in string aValue, in boolean aPersist, + in boolean aReplace); + + /** + * Delete an entry from the category. + * @param aCategory The name of the category ("protocol") + * @param aEntry The entry to be added ("http") + * @param aPersist Delete persistent data from registry, if present? + */ + void deleteCategoryEntry(in string aCategory, in string aEntry, + in boolean aPersist); + + /** + * Delete a category and all entries. + * @param aCategory The category to be deleted. + */ + void deleteCategory(in string aCategory); + + /** + * Enumerate the entries in a category. + * @param aCategory The category to be enumerated. + * @return a simple enumerator, each result QIs to + * nsISupportsCString. + */ + nsISimpleEnumerator enumerateCategory(in string aCategory); + + /** + * Enumerate all existing categories + * @param aCategory The category to be enumerated. + * @return a simple enumerator, each result QIs to + * nsISupportsCString. + */ + nsISimpleEnumerator enumerateCategories(); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsICertificateDialogs.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsICertificateDialogs.idl new file mode 100644 index 00000000..d7572c8a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsICertificateDialogs.idl @@ -0,0 +1,132 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Terry Hayes + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInterfaceRequestor; +interface nsIX509Cert; +interface nsICRLInfo; + +/** + * Functions that implement user interface dialogs to manage certificates. + * + * @status FROZEN + */ +[scriptable, uuid(a03ca940-09be-11d5-ac5d-000064657374)] +interface nsICertificateDialogs : nsISupports +{ + /** + * UI shown when a user is asked to download a new CA cert. + * Provides user with ability to choose trust settings for the cert. + * Asks the user to grant permission to import the certificate. + * + * @param ctx A user interface context. + * @param cert The certificate that is about to get installed. + * @param trust a bit mask of trust flags, + * see nsIX509CertDB for possible values. + * + * @return true if the user allows to import the certificate. + */ + boolean confirmDownloadCACert(in nsIInterfaceRequestor ctx, + in nsIX509Cert cert, + out unsigned long trust); + + /** + * UI shown when a web site has delivered a CA certificate to + * be imported, but the certificate is already contained in the + * user's storage. + * + * @param ctx A user interface context. + */ + void notifyCACertExists(in nsIInterfaceRequestor ctx); + + /** + * UI shown when a user's personal certificate is going to be + * exported to a backup file. + * The implementation of this dialog should make sure + * to prompt the user to type the password twice in order to + * confirm correct input. + * The wording in the dialog should also motivate the user + * to enter a strong password. + * + * @param ctx A user interface context. + * @param password The password provided by the user. + * + * @return false if the user requests to cancel. + */ + boolean setPKCS12FilePassword(in nsIInterfaceRequestor ctx, + out AString password); + + /** + * UI shown when a user is about to restore a personal + * certificate from a backup file. + * The user is requested to enter the password + * that was used in the past to protect that backup file. + * + * @param ctx A user interface context. + * @param password The password provided by the user. + * + * @return false if the user requests to cancel. + */ + boolean getPKCS12FilePassword(in nsIInterfaceRequestor ctx, + out AString password); + + /** + * UI shown when a certificate needs to be shown to the user. + * The implementation should try to display as many attributes + * as possible. + * + * @param ctx A user interface context. + * @param cert The certificate to be shown to the user. + */ + void viewCert(in nsIInterfaceRequestor ctx, + in nsIX509Cert cert); + + /** + * UI shown after a Certificate Revocation List (CRL) has been + * successfully imported. + * + * @param ctx A user interface context. + * @param crl Information describing the CRL that was imported. + */ + void crlImportStatusDialog(in nsIInterfaceRequestor ctx, + in nsICRLInfo crl); +}; + +%{C++ +#define NS_CERTIFICATEDIALOGS_CONTRACTID "@mozilla.org/nsCertificateDialogs;1" +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIChannel.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIChannel.idl new file mode 100644 index 00000000..aecbd18e --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIChannel.idl @@ -0,0 +1,219 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIRequest.idl" + +interface nsIURI; +interface nsIInterfaceRequestor; +interface nsIInputStream; +interface nsIStreamListener; + +/** + * The nsIChannel interface allows clients to construct "GET" requests for + * specific protocols, and manage them in a uniform way. Once a channel is + * created (via nsIIOService::newChannel), parameters for that request may + * be set by using the channel attributes, or by QI'ing to a subclass of + * nsIChannel for protocol-specific parameters. Then, the URI can be fetched + * by calling nsIChannel::open or nsIChannel::asyncOpen. + * + * After a request has been completed, the channel is still valid for accessing + * protocol-specific results. For example, QI'ing to nsIHttpChannel allows + * response headers to be retrieved for the corresponding http transaction. + * + * @status FROZEN + */ +[scriptable, uuid(c63a055a-a676-4e71-bf3c-6cfa11082018)] +interface nsIChannel : nsIRequest +{ + /** + * The original URI used to construct the channel. This is used in the case + * of a redirect or URI "resolution" (e.g. resolving a resource: URI to a + * file: URI) so that the original pre-redirect URI can still be obtained. + * + * NOTE: this is distinctly different from the http Referer (referring URI), + * which is typically the page that contained the original URI (accessible + * from nsIHttpChannel). + */ + attribute nsIURI originalURI; + + /** + * The URI corresponding to the channel. Its value is immutable. + */ + readonly attribute nsIURI URI; + + /** + * The owner, corresponding to the entity that is responsible for this + * channel. Used by the security manager to grant or deny privileges to + * mobile code loaded from this channel. + * + * NOTE: this is a strong reference to the owner, so if the owner is also + * holding a strong reference to the channel, care must be taken to + * explicitly drop its reference to the channel. + */ + attribute nsISupports owner; + + /** + * The notification callbacks for the channel. This is set by clients, who + * wish to provide a means to receive progress, status and protocol-specific + * notifications. If this value is NULL, the channel implementation may use + * the notification callbacks from its load group. The channel may also + * query the notification callbacks from its load group if its notification + * callbacks do not supply the requested interface. + * + * Interfaces commonly requested include: nsIProgressEventSink, nsIPrompt, + * and nsIAuthPrompt. + * + * When the channel is done, it must not continue holding references to + * this object. + * + * NOTE: A channel implementation should take care when "caching" an + * interface pointer queried from its notification callbacks. If the + * notification callbacks are changed, then a cached interface pointer may + * become invalid and may therefore need to be re-queried. + */ + attribute nsIInterfaceRequestor notificationCallbacks; + + /** + * Transport-level security information (if any) corresponding to the channel. + */ + readonly attribute nsISupports securityInfo; + + /** + * The MIME type of the channel's content if available. + * + * NOTE: the content type can often be wrongly specified (e.g., wrong file + * extension, wrong MIME type, wrong document type stored on a server, etc.), + * and the caller most likely wants to verify with the actual data. + * + * Setting contentType before the channel has been opened provides a hint + * to the channel as to what the MIME type is. The channel may ignore this + * hint in deciding on the actual MIME type that it will report. + * + * Setting contentType after onStartRequest has been fired or after open() + * is called will override the type determined by the channel. + * + * Setting contentType between the time that asyncOpen() is called and the + * time when onStartRequest is fired has undefined behavior at this time. + * + * The value of the contentType attribute is a lowercase string. A value + * assigned to this attribute will be parsed and normalized as follows: + * 1- any parameters (delimited with a ';') will be stripped. + * 2- if a charset parameter is given, then its value will replace the + * the contentCharset attribute of the channel. + * 3- the stripped contentType will be lowercased. + * Any implementation of nsIChannel must follow these rules. + */ + attribute ACString contentType; + + /** + * The character set of the channel's content if available and if applicable. + * This attribute only applies to textual data. + * + * The value of the contentCharset attribute is a mixedcase string. + */ + attribute ACString contentCharset; + + /** + * The length of the data associated with the channel if available. A value + * of -1 indicates that the content length is unknown. + * + * Callers should prefer getting the "content-length" property + * as 64-bit value by QIing the channel to nsIPropertyBag2, + * if that interface is exposed by the channel. + */ + attribute long contentLength; + + /** + * Synchronously open the channel. + * + * @return blocking input stream to the channel's data. + * + * NOTE: nsIChannel implementations are not required to implement this + * method. Moreover, since this method may block the calling thread, it + * should not be called on a thread that processes UI events. + */ + nsIInputStream open(); + + /** + * Asynchronously open this channel. Data is fed to the specified stream + * listener as it becomes available. The stream listener's methods are + * called on the thread that calls asyncOpen and are not called until + * after asyncOpen returns. + * + * @param aListener the nsIStreamListener implementation + * @param aContext an opaque parameter forwarded to aListener's methods + */ + void asyncOpen(in nsIStreamListener aListener, in nsISupports aContext); + + /************************************************************************** + * Channel specific load flags: + * + * Bits 21-31 are reserved for future use by this interface or one of its + * derivatives (e.g., see nsICachingChannel). + */ + + /** + * Set (e.g., by the docshell) to indicate whether or not the channel + * corresponds to a document URI. + */ + const unsigned long LOAD_DOCUMENT_URI = 1 << 16; + + /** + * If the end consumer for this load has been retargeted after discovering + * it's content, this flag will be set: + */ + const unsigned long LOAD_RETARGETED_DOCUMENT_URI = 1 << 17; + + /** + * This flag is set to indicate that onStopRequest may be followed by + * another onStartRequest/onStopRequest pair. This flag is, for example, + * used by the multipart/replace stream converter. + */ + const unsigned long LOAD_REPLACE = 1 << 18; + + /** + * Set (e.g., by the docshell) to indicate whether or not the channel + * corresponds to an initial document URI load (e.g., link click). + */ + const unsigned long LOAD_INITIAL_DOCUMENT_URI = 1 << 19; + + /** + * Set (e.g., by the URILoader) to indicate whether or not the end consumer + * for this load has been determined. + */ + const unsigned long LOAD_TARGETED = 1 << 20; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIClassInfo.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIClassInfo.idl new file mode 100644 index 00000000..e934057c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIClassInfo.idl @@ -0,0 +1,132 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * John Bandhauer + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsIProgrammingLanguage.idl" + +/** + * Provides information about a specific implementation class + * @status FROZEN + */ + +[scriptable, uuid(986c11d0-f340-11d4-9075-0010a4e73d9a)] +interface nsIClassInfo : nsISupports +{ + /** + * Get an ordered list of the interface ids that instances of the class + * promise to implement. Note that nsISupports is an implicit member + * of any such list and need not be included. + * + * Should set *count = 0 and *array = null and return NS_OK if getting the + * list is not supported. + */ + void getInterfaces(out PRUint32 count, + [array, size_is(count), retval] out nsIIDPtr array); + + /** + * Get a language mapping specific helper object that may assist in using + * objects of this class in a specific lanaguage. For instance, if asked + * for the helper for nsIProgrammingLanguage::JAVASCRIPT this might return + * an object that can be QI'd into the nsIXPCScriptable interface to assist + * XPConnect in supplying JavaScript specific behavior to callers of the + * instance object. + * + * see: nsIProgrammingLanguage.idl + * + * Should return null if no helper available for given language. + */ + nsISupports getHelperForLanguage(in PRUint32 language); + + /** + * A contract ID through which an instance of this class can be created + * (or accessed as a service, if |flags & SINGLETON|), or null. + */ + readonly attribute string contractID; + + /** + * A human readable string naming the class, or null. + */ + readonly attribute string classDescription; + + /** + * A class ID through which an instance of this class can be created + * (or accessed as a service, if |flags & SINGLETON|), or null. + */ + readonly attribute nsCIDPtr classID; + + /** + * Return language type from list in nsIProgrammingLanguage + */ + + readonly attribute PRUint32 implementationLanguage; + + /** + * Bitflags for 'flags' attribute. + */ + const PRUint32 SINGLETON = 1 << 0; + const PRUint32 THREADSAFE = 1 << 1; + const PRUint32 MAIN_THREAD_ONLY = 1 << 2; + const PRUint32 DOM_OBJECT = 1 << 3; + const PRUint32 PLUGIN_OBJECT = 1 << 4; + const PRUint32 EAGER_CLASSINFO = 1 << 5; + /** + * 'flags' attribute bitflag: whether objects of this type implement + * nsIContent. + */ + const PRUint32 CONTENT_NODE = 1 << 6; + + // The high order bit is RESERVED for consumers of these flags. + // No implementor of this interface should ever return flags + // with this bit set. + const PRUint32 RESERVED = 1 << 31; + + + readonly attribute PRUint32 flags; + + /** + * Also a class ID through which an instance of this class can be created + * (or accessed as a service, if |flags & SINGLETON|). If the class does + * not have a CID, it should return NS_ERROR_NOT_AVAILABLE. This attribute + * exists so C++ callers can avoid allocating and freeing a CID, as would + * happen if they used classID. + */ + [notxpcom] readonly attribute nsCID classIDNoAlloc; + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIClipboardCommands.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIClipboardCommands.idl new file mode 100644 index 00000000..1d2d0e15 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIClipboardCommands.idl @@ -0,0 +1,146 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Dan Rosen + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * An interface for embedding clients who wish to interact with + * the system-wide OS clipboard. Mozilla does not use a private + * clipboard, instead it places its data directly onto the system + * clipboard. The webshell implements this interface. + * + * @status FROZEN + */ + +[scriptable, uuid(b8100c90-73be-11d2-92a5-00105a1b0d64)] +interface nsIClipboardCommands : nsISupports { + + /** + * Returns whether there is a selection and it is not read-only. + * + * @return true if the current selection can be cut, + * false otherwise. + */ + boolean canCutSelection(); + + /** + * Returns whether there is a selection and it is copyable. + * + * @return true if there is a selection, + * false otherwise. + */ + boolean canCopySelection(); + + /** + * Returns whether we can copy a link location. + * + * @return true if a link is selected, + * false otherwise. + */ + boolean canCopyLinkLocation(); + + /** + * Returns whether we can copy an image location. + * + * @return true if an image is selected, + false otherwise. + */ + boolean canCopyImageLocation(); + + /** + * Returns whether we can copy an image's contents. + * + * @return true if an image is selected, + * false otherwise + */ + boolean canCopyImageContents(); + + /** + * Returns whether the current contents of the clipboard can be + * pasted and if the current selection is not read-only. + * + * @return true there is data to paste on the clipboard + * and the current selection is not read-only, + * false otherwise + */ + boolean canPaste(); + + /** + * Cut the current selection onto the clipboard. + */ + void cutSelection(); + + /** + * Copy the current selection onto the clipboard. + */ + void copySelection(); + + /** + * Copy the link location of the current selection (e.g., + * the |href| attribute of a selected |a| tag). + */ + void copyLinkLocation(); + + /** + * Copy the location of the selected image. + */ + void copyImageLocation(); + + /** + * Copy the contents of the selected image. + */ + void copyImageContents(); + + /** + * Paste the contents of the clipboard into the current selection. + */ + void paste(); + + /** + * Select the entire contents. + */ + void selectAll(); + + /** + * Clear the current selection (if any). Insertion point ends up + * at beginning of current selection. + */ + void selectNone(); + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentManager.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentManager.idl new file mode 100644 index 00000000..d6278489 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentManager.idl @@ -0,0 +1,110 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * The nsIComponentManager interface. + * @status FROZEN + */ + +#include "nsISupports.idl" + +interface nsIFactory; + +[scriptable, uuid(a88e5a60-205a-4bb1-94e1-2628daf51eae)] +interface nsIComponentManager : nsISupports +{ + /** + * getClassObject + * + * Returns the factory object that can be used to create instances of + * CID aClass + * + * @param aClass The classid of the factory that is being requested + */ + void getClassObject(in nsCIDRef aClass, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); + + /** + * getClassObjectByContractID + * + * Returns the factory object that can be used to create instances of + * CID aClass + * + * @param aClass The classid of the factory that is being requested + */ + void getClassObjectByContractID(in string aContractID, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); + + + /** + * createInstance + * + * Create an instance of the CID aClass and return the interface aIID. + * + * @param aClass : ClassID of object instance requested + * @param aDelegate : Used for aggregation + * @param aIID : IID of interface requested + */ + void createInstance(in nsCIDRef aClass, + in nsISupports aDelegate, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); + + /** + * createInstanceByContractID + * + * Create an instance of the CID that implements aContractID and return the + * interface aIID. + * + * @param aContractID : aContractID of object instance requested + * @param aDelegate : Used for aggregation + * @param aIID : IID of interface requested + */ + void createInstanceByContractID(in string aContractID, + in nsISupports aDelegate, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); +}; + + +%{ C++ +#ifdef MOZILLA_INTERNAL_API +#include "nsComponentManagerUtils.h" +#endif +%} C++ diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentRegistrar.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentRegistrar.idl new file mode 100644 index 00000000..2a4a55db --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIComponentRegistrar.idl @@ -0,0 +1,243 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is XPCOM. + * + * The Initial Developer of the Original Code is Netscape Communications. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * The nsIComponentRegistrar interface. + * @status FROZEN + */ + +#include "nsISupports.idl" + +interface nsIFile; +interface nsIFactory; +interface nsISimpleEnumerator; + +[scriptable, uuid(2417cbfe-65ad-48a6-b4b6-eb84db174392)] +interface nsIComponentRegistrar : nsISupports +{ + /** + * autoRegister + * + * Register a component file or all component files in a directory. + * + * Component files must have an associated loader and export the required + * symbols which this loader defines. For example, if the given file is a + * native library (which is built into XPCOM), it must export the symbol + * "NSGetModule". Other loaders may have different semantics. + * + * This method may only be called from the main thread. + * + * @param aSpec : Filename spec for component file's location. If aSpec + * is a directory, then every component file in the + * directory will be registered. + * If the aSpec is null, then the application component's + * directory as defined by NS_XPCOM_COMPONENT_DIR will be + * registered (see nsIDirectoryService.idl) + * + * @return NS_OK : Registration was successful. + * NS_ERROR: Method failure. + */ + void autoRegister(in nsIFile aSpec); + + /** + * autoUnregister + * + * Unregister a component file or all component files in a directory. + * This method may only be called from the main thread. + * + * @param aSpec : Filename spec for component file's location. If aSpec + * is a directory, the every component file in the directory + * will be registered. + * If aSpec is null, then the application component's + * directory as defined by NS_XPCOM_COMPONENT_DIR will be + * registered. (see nsIDirectoryService.idl) + * + * @return NS_OK Unregistration was successful. + * NS_ERROR* Method failure. + */ + void autoUnregister(in nsIFile aSpec); + + + /** + * registerFactory + * + * Register a factory with a given ContractID, CID and Class Name. + * + * @param aClass : CID of object + * @param aClassName : Class Name of CID + * @param aContractID : ContractID associated with CID aClass + * @param aFactory : Factory that will be registered for CID aClass + * + * @return NS_OK Registration was successful. + * NS_ERROR* method failure. + */ + void registerFactory(in nsCIDRef aClass, + in string aClassName, + in string aContractID, + in nsIFactory aFactory); + + /** + * unregisterFactory + * + * Unregister a factory associated with CID aClass. + * + * @param aClass : CID being unregistered + * @param aFactory : Factory previously registered to create instances of + * CID aClass. + * + * @return NS_OK Unregistration was successful. + * NS_ERROR* Method failure. + */ + void unregisterFactory(in nsCIDRef aClass, + in nsIFactory aFactory); + + /** + * registerFactoryLocation + * + * Register a factory with a given ContractID, CID and Class Name + * + * @param aClass : CID of object + * @param aClassName : Class Name of CID + * @param aContractID : ContractID associated with CID aClass + * @param aFile : Component File. This file must have an associated + * loader and export the required symbols which this + * loader specifies. + * @param aLoaderStr : Opaque loader specific string. This value is + * passed into the nsIModule's registerSelf + * callback and must be fowarded unmodified when + * registering factories via their location. + * @param aType : Component Type of CID aClass. This value is + * passed into the nsIModule's registerSelf + * callback and must be fowarded unmodified when + * registering factories via their location. + * + * @return NS_OK Registration was successful. + * NS_ERROR* Method failure. + */ + void registerFactoryLocation(in nsCIDRef aClass, + in string aClassName, + in string aContractID, + in nsIFile aFile, + in string aLoaderStr, + in string aType); + + /** + * unregisterFactoryLocation + * + * Unregister a factory associated with CID aClass. + * + * @param aClass : CID being unregistered + * @param aFile : Component File previously registered + * + * @return NS_OK Unregistration was successful. + * NS_ERROR* Method failure. + */ + void unregisterFactoryLocation(in nsCIDRef aClass, + in nsIFile aFile); + + /** + * isCIDRegistered + * + * Returns true if a factory is registered for the CID. + * + * @param aClass : CID queried for registeration + * @return : true if a factory is registered for CID + * false otherwise. + */ + boolean isCIDRegistered(in nsCIDRef aClass); + + /** + * isContractIDRegistered + * + * Returns true if a factory is registered for the contract id. + * + * @param aClass : contract id queried for registeration + * @return : true if a factory is registered for contract id + * false otherwise. + */ + boolean isContractIDRegistered(in string aContractID); + + /** + * enumerateCIDs + * + * Enumerate the list of all registered CIDs. + * + * @return : enumerator for CIDs. Elements of the enumeration can be QI'ed + * for the nsISupportsID interface. From the nsISupportsID, you + * can obtain the actual CID. + */ + nsISimpleEnumerator enumerateCIDs(); + + /** + * enumerateContractIDs + * + * Enumerate the list of all registered ContractIDs. + * + * @return : enumerator for ContractIDs. Elements of the enumeration can be + * QI'ed for the nsISupportsCString interface. From the + * nsISupportsCString interface, you can obtain the actual + * Contract ID string. + */ + nsISimpleEnumerator enumerateContractIDs(); + + /** + * CIDToContractID + * + * Returns the Contract ID for a given CID, if one exists and is registered. + * + * @return : Contract ID. + */ + string CIDToContractID(in nsCIDRef aClass); + + /** + * contractIDToCID + * + * Returns the CID for a given Contract ID, if one exists and is registered. + * + * @return : Contract ID. + */ + nsCIDPtr contractIDToCID(in string aContractID); + +}; + + + + + + + + + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIContextMenuListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIContextMenuListener.idl new file mode 100644 index 00000000..35b6da95 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIContextMenuListener.idl @@ -0,0 +1,100 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Adam Lock + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIDOMEvent; +interface nsIDOMNode; + +/** + * An optional interface for embedding clients wishing to receive + * notifications for context menu events (e.g. generated by + * a user right-mouse clicking on a link). The embedder implements + * this interface on the web browser chrome object associated + * with the window that notifications are required for. When a context + * menu event, the browser will call this interface if present. + * + * @see nsIDOMNode + * @see nsIDOMEvent + * + * @status FROZEN + */ +[scriptable, uuid(3478b6b0-3875-11d4-94ef-0020183bf181)] +interface nsIContextMenuListener : nsISupports +{ + /** Flag. No context. */ + const unsigned long CONTEXT_NONE = 0; + /** Flag. Context is a link element. */ + const unsigned long CONTEXT_LINK = 1; + /** Flag. Context is an image element. */ + const unsigned long CONTEXT_IMAGE = 2; + /** Flag. Context is the whole document. */ + const unsigned long CONTEXT_DOCUMENT = 4; + /** Flag. Context is a text area element. */ + const unsigned long CONTEXT_TEXT = 8; + /** Flag. Context is an input element. */ + const unsigned long CONTEXT_INPUT = 16; + + /** + * Called when the browser receives a context menu event (e.g. user is right-mouse + * clicking somewhere on the document). The combination of flags, event and node + * provided in the call indicate where and what was clicked on. + * + * The following table describes what context flags and node combinations are + * possible. + * + * + * + * + * + * + * + * + * + *
aContextFlagaNode
CONTEXT_LINK<A>
CONTEXT_IMAGE<IMG>
CONTEXT_IMAGE | CONTEXT_LINK<IMG> + * with an <A> as an ancestor
CONTEXT_INPUT<INPUT>
CONTEXT_TEXT<TEXTAREA>
CONTEXT_DOCUMENT<HTML>
+ * + * @param aContextFlags Flags indicating the kind of context. + * @param aEvent The DOM context menu event. + * @param aNode The DOM node most relevant to the context. + * + * @return NS_OK always. + */ + void onShowContextMenu(in unsigned long aContextFlags, in nsIDOMEvent aEvent, in nsIDOMNode aNode); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsICookie.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsICookie.idl new file mode 100644 index 00000000..1f4dcb39 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsICookie.idl @@ -0,0 +1,125 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * An optional interface for accessing the HTTP or + * javascript cookie object + * + * @status FROZEN + */ + +typedef long nsCookieStatus; +typedef long nsCookiePolicy; + +[scriptable, uuid(E9FCB9A4-D376-458f-B720-E65E7DF593BC)] + +interface nsICookie : nsISupports { + + /** + * the name of the cookie + */ + readonly attribute ACString name; + + /** + * the cookie value + */ + readonly attribute ACString value; + + /** + * true if the cookie is a domain cookie, false otherwise + */ + readonly attribute boolean isDomain; + + /** + * the host (possibly fully qualified) of the cookie + */ + readonly attribute AUTF8String host; + + /** + * the path pertaining to the cookie + */ + readonly attribute AUTF8String path; + + /** + * true if the cookie was transmitted over ssl, false otherwise + */ + readonly attribute boolean isSecure; + + /** + * expiration time (local timezone) expressed as number of seconds since Jan 1, 1970 + */ + readonly attribute PRUint64 expires; + + /** + * P3P status of cookie. Values are + * + * STATUS_UNKNOWN -- cookie collected in a previous session and this info no longer available + * STATUS_ACCEPTED -- cookie was accepted as it + * STATUS_DOWNGRADED -- cookie was accepted but downgraded to a session cookie + * STATUS_FLAGGED -- cookie was accepted with a warning being issued to the user + * STATUS_REJECTED -- cookie was not accepted + */ + const nsCookieStatus STATUS_UNKNOWN=0; + const nsCookieStatus STATUS_ACCEPTED=1; + const nsCookieStatus STATUS_DOWNGRADED=2; + const nsCookieStatus STATUS_FLAGGED=3; + const nsCookieStatus STATUS_REJECTED=4; + + readonly attribute nsCookieStatus status; + + /** + * Site's compact policy. Values are + * + * POLICY_UNKNOWN -- cookie collected in a previous session and this info no longer available + * POLICY_NONE -- site did not send a compact policy along with the cookie + * POLICY_NO_CONSENT -- site collects identfiable information without user involvement + * POLICY_IMPLICIT_CONSENT -- site collects identifiable information unless user opts out + * POLICY_EXPLICIT_CONSENT -- site does not collect identifiable information unless user opts in + * POLICY_NO_II -- site does not collect identifiable information + */ + const nsCookiePolicy POLICY_UNKNOWN=0; + const nsCookiePolicy POLICY_NONE=1; + const nsCookiePolicy POLICY_NO_CONSENT=2; + const nsCookiePolicy POLICY_IMPLICIT_CONSENT=3; + const nsCookiePolicy POLICY_EXPLICIT_CONSENT=4; + const nsCookiePolicy POLICY_NO_II=5; + readonly attribute nsCookiePolicy policy; + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsICookieManager.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsICookieManager.idl new file mode 100644 index 00000000..c59fc455 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsICookieManager.idl @@ -0,0 +1,73 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsISimpleEnumerator.idl" + + +/** + * An optional interface for accessing or removing the cookies + * that are in the cookie list + * + * @status FROZEN + */ + +[scriptable, uuid(AAAB6710-0F2C-11d5-A53B-0010A401EB10)] +interface nsICookieManager : nsISupports +{ + + /** + * Called to remove all cookies from the cookie list + */ + void removeAll(); + + /** + * Called to enumerate through each cookie in the cookie list. + * The objects enumerated over are of type nsICookie + */ + readonly attribute nsISimpleEnumerator enumerator; + + /** + * Called to remove an individual cookie from the cookie list + * + * @param aDomain The host or domain for which the cookie was set + * @param aName The name specified in the cookie + * @param aBlocked Indicates if cookies from this host should be permanently blocked + * + */ + void remove(in AUTF8String aDomain, in ACString aName, in AUTF8String aPath, in boolean aBlocked); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3DocumentEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3DocumentEvent.idl new file mode 100644 index 00000000..9912a3e5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3DocumentEvent.idl @@ -0,0 +1,55 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDocumentEvent interface is the interface to the event + * factory method on a DOM document object. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-3-Events/ + */ + +[scriptable, uuid(090ecc19-b7cb-4f47-ae47-ed68d4926249)] +interface nsIDOM3DocumentEvent : nsISupports +{ + // Introduced in DOM Level 3: + nsIDOMEventGroup createEventGroup(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3EventTarget.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3EventTarget.idl new file mode 100644 index 00000000..1160a4eb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOM3EventTarget.idl @@ -0,0 +1,66 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMEventTarget interface is the interface implemented by all + * event targets in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-3-Events/ + */ + +[scriptable, uuid(3e9c01a7-de97-4c3b-8294-b4bd9d7056d1)] +interface nsIDOM3EventTarget : nsISupports +{ + // Introduced in DOM Level 3: + void addGroupedEventListener(in DOMString type, + in nsIDOMEventListener listener, + in boolean useCapture, + in nsIDOMEventGroup evtGroup); + // Introduced in DOM Level 3: + void removeGroupedEventListener(in DOMString type, + in nsIDOMEventListener listener, + in boolean useCapture, + in nsIDOMEventGroup evtGroup); + // Introduced in DOM Level 3: + boolean canTrigger(in DOMString type); + // Introduced in DOM Level 3: + boolean isRegisteredHere(in DOMString type); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAbstractView.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAbstractView.idl new file mode 100644 index 00000000..2406e7fd --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAbstractView.idl @@ -0,0 +1,55 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMAbstractView interface is a datatype for a view in the + * Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Views + * + * @status FROZEN + */ + +[scriptable, uuid(F51EBADE-8B1A-11D3-AAE7-0010830123B4)] +interface nsIDOMAbstractView : nsISupports +{ + readonly attribute nsIDOMDocumentView document; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAttr.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAttr.idl new file mode 100644 index 00000000..5ded2695 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMAttr.idl @@ -0,0 +1,63 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMAttr interface represents an attribute in an "Element" object. + * Typically the allowable values for the attribute are defined in a document + * type definition. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9070-15b3-11d2-932e-00805f8add32)] +interface nsIDOMAttr : nsIDOMNode +{ + readonly attribute DOMString name; + readonly attribute boolean specified; + attribute DOMString value; + // raises(DOMException) on setting + + // Introduced in DOM Level 2: + readonly attribute nsIDOMElement ownerElement; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMBarProp.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMBarProp.idl new file mode 100644 index 00000000..1fea22f2 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMBarProp.idl @@ -0,0 +1,54 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMBarProp interface is the interface for controlling and + * accessing the visibility of certain UI items (scrollbars, menubars, + * toolbars, ...) through the DOM. + * + * @status FROZEN + */ + +[scriptable, uuid(9eb2c150-1d56-11d3-8221-0060083a0bcf)] +interface nsIDOMBarProp : nsISupports +{ + attribute boolean visible; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCDATASection.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCDATASection.idl new file mode 100644 index 00000000..3d1c4bcf --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCDATASection.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMText.idl" + +/** + * CDATA sections are used to escape blocks of text containing characters + * that would otherwise be regarded as markup. + * Their primary purpose is for including material such as XML fragments, + * without needing to escape all the delimiters. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9071-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCDATASection : nsIDOMText +{ +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSPrimitiveValue.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSPrimitiveValue.idl new file mode 100644 index 00000000..04b9b20f --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSPrimitiveValue.idl @@ -0,0 +1,99 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMCSSValue.idl" + +/** + * The nsIDOMCSSPrimitiveValue interface is a datatype for a primitive + * CSS value in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(e249031f-8df9-4e7a-b644-18946dce0019)] +interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue +{ + // UnitTypes + const unsigned short CSS_UNKNOWN = 0; + const unsigned short CSS_NUMBER = 1; + const unsigned short CSS_PERCENTAGE = 2; + const unsigned short CSS_EMS = 3; + const unsigned short CSS_EXS = 4; + const unsigned short CSS_PX = 5; + const unsigned short CSS_CM = 6; + const unsigned short CSS_MM = 7; + const unsigned short CSS_IN = 8; + const unsigned short CSS_PT = 9; + const unsigned short CSS_PC = 10; + const unsigned short CSS_DEG = 11; + const unsigned short CSS_RAD = 12; + const unsigned short CSS_GRAD = 13; + const unsigned short CSS_MS = 14; + const unsigned short CSS_S = 15; + const unsigned short CSS_HZ = 16; + const unsigned short CSS_KHZ = 17; + const unsigned short CSS_DIMENSION = 18; + const unsigned short CSS_STRING = 19; + const unsigned short CSS_URI = 20; + const unsigned short CSS_IDENT = 21; + const unsigned short CSS_ATTR = 22; + const unsigned short CSS_COUNTER = 23; + const unsigned short CSS_RECT = 24; + const unsigned short CSS_RGBCOLOR = 25; + + readonly attribute unsigned short primitiveType; + void setFloatValue(in unsigned short unitType, + in float floatValue) + raises(DOMException); + float getFloatValue(in unsigned short unitType) + raises(DOMException); + void setStringValue(in unsigned short stringType, + in DOMString stringValue) + raises(DOMException); + DOMString getStringValue() + raises(DOMException); + nsIDOMCounter getCounterValue() + raises(DOMException); + nsIDOMRect getRectValue() + raises(DOMException); + nsIDOMRGBColor getRGBColorValue() + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRule.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRule.idl new file mode 100644 index 00000000..ac50d5f7 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRule.idl @@ -0,0 +1,70 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMCSSRule interface is a datatype for a CSS style rule in + * the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90c1-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCSSRule : nsISupports +{ + // RuleType + const unsigned short UNKNOWN_RULE = 0; + const unsigned short STYLE_RULE = 1; + const unsigned short CHARSET_RULE = 2; + const unsigned short IMPORT_RULE = 3; + const unsigned short MEDIA_RULE = 4; + const unsigned short FONT_FACE_RULE = 5; + const unsigned short PAGE_RULE = 6; + + readonly attribute unsigned short type; + attribute DOMString cssText; + // raises(DOMException) on setting + + readonly attribute nsIDOMCSSStyleSheet parentStyleSheet; + readonly attribute nsIDOMCSSRule parentRule; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRuleList.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRuleList.idl new file mode 100644 index 00000000..bb8d93b4 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSRuleList.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMCSSRuleList interface is a datatype for a list of CSS + * style rules in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90c0-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCSSRuleList : nsISupports +{ + readonly attribute unsigned long length; + nsIDOMCSSRule item(in unsigned long index); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleDeclaration.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleDeclaration.idl new file mode 100644 index 00000000..6336aea0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleDeclaration.idl @@ -0,0 +1,70 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMCSSStyleDeclaration interface is a datatype for a CSS + * style declaration in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90be-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCSSStyleDeclaration : nsISupports +{ + attribute DOMString cssText; + // raises(DOMException) on setting + + DOMString getPropertyValue(in DOMString propertyName); + nsIDOMCSSValue getPropertyCSSValue(in DOMString propertyName); + DOMString removeProperty(in DOMString propertyName) + raises(DOMException); + DOMString getPropertyPriority(in DOMString propertyName); + void setProperty(in DOMString propertyName, + in DOMString value, + in DOMString priority) + raises(DOMException); + readonly attribute unsigned long length; + DOMString item(in unsigned long index); + readonly attribute nsIDOMCSSRule parentRule; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleSheet.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleSheet.idl new file mode 100644 index 00000000..1788340d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSStyleSheet.idl @@ -0,0 +1,63 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMStyleSheet.idl" + +/** + * The nsIDOMCSSStyleSheet interface is a datatype for a CSS style + * sheet in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90c2-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCSSStyleSheet : nsIDOMStyleSheet +{ + readonly attribute nsIDOMCSSRule ownerRule; + readonly attribute nsIDOMCSSRuleList cssRules; + + unsigned long insertRule(in DOMString rule, + in unsigned long index) + raises(DOMException); + void deleteRule(in unsigned long index) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValue.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValue.idl new file mode 100644 index 00000000..931fcb83 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValue.idl @@ -0,0 +1,64 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMCSSValue interface is a datatype for a CSS value in the + * Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(009f7ea5-9e80-41be-b008-db62f10823f2)] +interface nsIDOMCSSValue : nsISupports +{ + // UnitTypes + const unsigned short CSS_INHERIT = 0; + const unsigned short CSS_PRIMITIVE_VALUE = 1; + const unsigned short CSS_VALUE_LIST = 2; + const unsigned short CSS_CUSTOM = 3; + + attribute DOMString cssText; + // raises(DOMException) on setting + + readonly attribute unsigned short cssValueType; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValueList.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValueList.idl new file mode 100644 index 00000000..ea2ba87e --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCSSValueList.idl @@ -0,0 +1,55 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2002 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Christopher A. Aillon (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMCSSValue.idl" + +/** + * The nsIDOMCSSValueList interface is a datatype for a list of CSS + * values in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(8f09fa84-39b9-4dca-9b2f-db0eeb186286)] +interface nsIDOMCSSValueList : nsIDOMCSSValue +{ + readonly attribute unsigned long length; + nsIDOMCSSValue item(in unsigned long index); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCharacterData.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCharacterData.idl new file mode 100644 index 00000000..38ae2d63 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCharacterData.idl @@ -0,0 +1,75 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMCharacterData interface extends nsIDOMNode with a set of + * attributes and methods for accessing character data in the DOM. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9072-15b3-11d2-932e-00805f8add32)] +interface nsIDOMCharacterData : nsIDOMNode +{ + attribute DOMString data; + // raises(DOMException) on setting + // raises(DOMException) on retrieval + + readonly attribute unsigned long length; + DOMString substringData(in unsigned long offset, + in unsigned long count) + raises(DOMException); + void appendData(in DOMString arg) + raises(DOMException); + void insertData(in unsigned long offset, + in DOMString arg) + raises(DOMException); + void deleteData(in unsigned long offset, + in unsigned long count) + raises(DOMException); + void replaceData(in unsigned long offset, + in unsigned long count, + in DOMString arg) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMComment.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMComment.idl new file mode 100644 index 00000000..82f42f35 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMComment.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMCharacterData.idl" + +/** + * The nsIDOMComment interface inherits from nsIDOMCharacterData and represents + * the content of a comment, i.e., all the characters between the starting + * ''. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9073-15b3-11d2-932e-00805f8add32)] +interface nsIDOMComment : nsIDOMCharacterData +{ +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCustomEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCustomEvent.idl new file mode 100644 index 00000000..1abf3d8a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMCustomEvent.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMEvent.idl" + +/** + * The nsIDOMEventTarget interface is the interface implemented by all + * event targets in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-3-Events/ + */ + +[scriptable, uuid(55c7af7b-1a64-40bf-87eb-2c2cbee0491b)] +interface nsIDOMCustomEvent : nsIDOMEvent +{ + void setCurrentTarget(in nsIDOMNode target); + void setEventPhase(in unsigned short phase); + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMException.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMException.idl new file mode 100644 index 00000000..2302c3bf --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMException.idl @@ -0,0 +1,86 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * In general, DOM methods return specific error values in ordinary + * processing situations, such as out-of-bound errors. + * However, DOM operations can raise exceptions in "exceptional" + * circumstances, i.e., when an operation is impossible to perform + * (either for logical reasons, because data is lost, or because the + * implementation has become unstable) + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-3-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf910a-15b3-11d2-932e-00805f8add32)] +interface nsIDOMDOMException : nsISupports +{ + const unsigned short INDEX_SIZE_ERR = 1; + const unsigned short DOMSTRING_SIZE_ERR = 2; + const unsigned short HIERARCHY_REQUEST_ERR = 3; + const unsigned short WRONG_DOCUMENT_ERR = 4; + const unsigned short INVALID_CHARACTER_ERR = 5; + const unsigned short NO_DATA_ALLOWED_ERR = 6; + const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7; + const unsigned short NOT_FOUND_ERR = 8; + const unsigned short NOT_SUPPORTED_ERR = 9; + const unsigned short INUSE_ATTRIBUTE_ERR = 10; + // Introduced in DOM Level 2: + const unsigned short INVALID_STATE_ERR = 11; + // Introduced in DOM Level 2: + const unsigned short SYNTAX_ERR = 12; + // Introduced in DOM Level 2: + const unsigned short INVALID_MODIFICATION_ERR = 13; + // Introduced in DOM Level 2: + const unsigned short NAMESPACE_ERR = 14; + // Introduced in DOM Level 2: + const unsigned short INVALID_ACCESS_ERR = 15; + // Introduced in DOM Level 3: + const unsigned short VALIDATION_ERR = 16; + // Introduced in DOM Level 3: + const unsigned short TYPE_MISMATCH_ERR = 17; + + readonly attribute unsigned long code; +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMImplementation.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMImplementation.idl new file mode 100644 index 00000000..17441807 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDOMImplementation.idl @@ -0,0 +1,68 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDOMImplementation interface provides a number of methods for + * performing operations that are independent of any particular instance + * of the document object model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9074-15b3-11d2-932e-00805f8add32)] +interface nsIDOMDOMImplementation : nsISupports +{ + boolean hasFeature(in DOMString feature, + in DOMString version); + + nsIDOMDocumentType createDocumentType(in DOMString qualifiedName, + in DOMString publicId, + in DOMString systemId) + raises(DOMException); + + nsIDOMDocument createDocument(in DOMString namespaceURI, + in DOMString qualifiedName, + in nsIDOMDocumentType doctype) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocument.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocument.idl new file mode 100644 index 00000000..ff48b212 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocument.idl @@ -0,0 +1,96 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMDocument interface represents the entire HTML or XML document. + * Conceptually, it is the root of the document tree, and provides the + * primary access to the document's data. + * Since elements, text nodes, comments, processing instructions, etc. + * cannot exist outside the context of a Document, the nsIDOMDocument + * interface also contains the factory methods needed to create these + * objects. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9075-15b3-11d2-932e-00805f8add32)] +interface nsIDOMDocument : nsIDOMNode +{ + readonly attribute nsIDOMDocumentType doctype; + readonly attribute nsIDOMDOMImplementation implementation; + readonly attribute nsIDOMElement documentElement; + nsIDOMElement createElement(in DOMString tagName) + raises(DOMException); + nsIDOMDocumentFragment createDocumentFragment(); + nsIDOMText createTextNode(in DOMString data); + nsIDOMComment createComment(in DOMString data); + nsIDOMCDATASection createCDATASection(in DOMString data) + raises(DOMException); + nsIDOMProcessingInstruction createProcessingInstruction(in DOMString target, + in DOMString data) + raises(DOMException); + nsIDOMAttr createAttribute(in DOMString name) + raises(DOMException); + nsIDOMEntityReference createEntityReference(in DOMString name) + raises(DOMException); + nsIDOMNodeList getElementsByTagName(in DOMString tagname); + + // Introduced in DOM Level 2: + nsIDOMNode importNode(in nsIDOMNode importedNode, + in boolean deep) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMElement createElementNS(in DOMString namespaceURI, + in DOMString qualifiedName) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMAttr createAttributeNS(in DOMString namespaceURI, + in DOMString qualifiedName) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMNodeList getElementsByTagNameNS(in DOMString namespaceURI, + in DOMString localName); + // Introduced in DOM Level 2: + nsIDOMElement getElementById(in DOMString elementId); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentEvent.idl new file mode 100644 index 00000000..fd6b5b07 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentEvent.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDocumentEvent interface is the interface to the event + * factory method on a DOM document object. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, uuid(46b91d66-28e2-11d4-ab1e-0010830123b4)] +interface nsIDOMDocumentEvent : nsISupports +{ + nsIDOMEvent createEvent(in DOMString eventType) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentFragment.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentFragment.idl new file mode 100644 index 00000000..015210d1 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentFragment.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * DocumentFragment is a "lightweight" or "minimal" Document object. + * nsIDOMDocumentFragment is used in situations where the Document + * interface can potentially be a heavyweight interface. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9076-15b3-11d2-932e-00805f8add32)] +interface nsIDOMDocumentFragment : nsIDOMNode +{ +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentRange.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentRange.idl new file mode 100644 index 00000000..efeee386 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentRange.idl @@ -0,0 +1,54 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDocumentRange interface is an interface to a document + * object that supports ranges in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ + * + * @status FROZEN + */ + +[scriptable, uuid(7b9badc6-c9bc-447a-8670-dbd195aed24b)] +interface nsIDOMDocumentRange : nsISupports { + nsIDOMRange createRange(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentStyle.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentStyle.idl new file mode 100644 index 00000000..7bff2f38 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentStyle.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDocumentStyle interface is an interface to a document + * object that supports style sheets in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(3d9f4973-dd2e-48f5-b5f7-2634e09eadd9)] +interface nsIDOMDocumentStyle : nsISupports +{ + readonly attribute nsIDOMStyleSheetList styleSheets; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentType.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentType.idl new file mode 100644 index 00000000..16c5e6cc --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentType.idl @@ -0,0 +1,63 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * Each Document has a doctype attribute whose value is either null + * or a DocumentType object. + * The nsIDOMDocumentType interface in the DOM Core provides an + * interface to the list of entities that are defined for the document. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9077-15b3-11d2-932e-00805f8add32)] +interface nsIDOMDocumentType : nsIDOMNode +{ + readonly attribute DOMString name; + readonly attribute nsIDOMNamedNodeMap entities; + readonly attribute nsIDOMNamedNodeMap notations; + readonly attribute DOMString publicId; + readonly attribute DOMString systemId; + readonly attribute DOMString internalSubset; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentView.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentView.idl new file mode 100644 index 00000000..50579acc --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMDocumentView.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMDocumentView interface is a datatype for a document that + * supports views in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Views + * + * @status FROZEN + */ + +[scriptable, uuid(1ACDB2BA-1DD2-11B2-95BC-9542495D2569)] +interface nsIDOMDocumentView : nsISupports +{ + readonly attribute nsIDOMAbstractView defaultView; +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElement.idl new file mode 100644 index 00000000..d844f7bb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElement.idl @@ -0,0 +1,94 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMElement interface represents an element in an HTML or + * XML document. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9078-15b3-11d2-932e-00805f8add32)] +interface nsIDOMElement : nsIDOMNode +{ + readonly attribute DOMString tagName; + DOMString getAttribute(in DOMString name); + void setAttribute(in DOMString name, + in DOMString value) + raises(DOMException); + void removeAttribute(in DOMString name) + raises(DOMException); + nsIDOMAttr getAttributeNode(in DOMString name); + nsIDOMAttr setAttributeNode(in nsIDOMAttr newAttr) + raises(DOMException); + nsIDOMAttr removeAttributeNode(in nsIDOMAttr oldAttr) + raises(DOMException); + nsIDOMNodeList getElementsByTagName(in DOMString name); + // Introduced in DOM Level 2: + DOMString getAttributeNS(in DOMString namespaceURI, + in DOMString localName); + // Introduced in DOM Level 2: + void setAttributeNS(in DOMString namespaceURI, + in DOMString qualifiedName, + in DOMString value) + raises(DOMException); + // Introduced in DOM Level 2: + void removeAttributeNS(in DOMString namespaceURI, + in DOMString localName) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMAttr getAttributeNodeNS(in DOMString namespaceURI, + in DOMString localName); + // Introduced in DOM Level 2: + nsIDOMAttr setAttributeNodeNS(in nsIDOMAttr newAttr) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMNodeList getElementsByTagNameNS(in DOMString namespaceURI, + in DOMString localName); + // Introduced in DOM Level 2: + boolean hasAttribute(in DOMString name); + // Introduced in DOM Level 2: + boolean hasAttributeNS(in DOMString namespaceURI, + in DOMString localName); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElementCSSInlineStyle.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElementCSSInlineStyle.idl new file mode 100644 index 00000000..9a8ba629 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMElementCSSInlineStyle.idl @@ -0,0 +1,55 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMElementCSSInlineStyle interface allows access to the inline + * style information for elements. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(99715845-95fc-4a56-aa53-214b65c26e22)] +interface nsIDOMElementCSSInlineStyle : nsISupports +{ + readonly attribute nsIDOMCSSStyleDeclaration style; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntity.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntity.idl new file mode 100644 index 00000000..ab27cdce --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntity.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMEntity interface represents an entity, either parsed + * or unparsed, in an XML document. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9079-15b3-11d2-932e-00805f8add32)] +interface nsIDOMEntity : nsIDOMNode +{ + readonly attribute DOMString publicId; + readonly attribute DOMString systemId; + readonly attribute DOMString notationName; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntityReference.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntityReference.idl new file mode 100644 index 00000000..70f9a104 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEntityReference.idl @@ -0,0 +1,55 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * nsIDOMEntityReference is an interface to a node that represents a + * reference to one of the entities defined in the document. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907a-15b3-11d2-932e-00805f8add32)] +interface nsIDOMEntityReference : nsIDOMNode +{ +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEvent.idl new file mode 100644 index 00000000..6c3471a0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEvent.idl @@ -0,0 +1,174 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +interface nsIDOMEventTarget; + +/** + * The nsIDOMEvent interface is the primary datatype for all events in + * the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, uuid(a66b7b80-ff46-bd97-0080-5f8ae38add32)] +interface nsIDOMEvent : nsISupports +{ + // PhaseType + /** + * The current event phase is the capturing phase. + */ + const unsigned short CAPTURING_PHASE = 1; + + /** + * The event is currently being evaluated at the target EventTarget. + */ + const unsigned short AT_TARGET = 2; + + /** + * The current event phase is the bubbling phase. + */ + const unsigned short BUBBLING_PHASE = 3; + + /** + * The name of the event (case-insensitive). The name must be an XML + * name. + */ + readonly attribute DOMString type; + + /** + * Used to indicate the EventTarget to which the event was originally + * dispatched. + */ + readonly attribute nsIDOMEventTarget target; + + /** + * Used to indicate the EventTarget whose EventListeners are currently + * being processed. This is particularly useful during capturing and + * bubbling. + */ + readonly attribute nsIDOMEventTarget currentTarget; + + /** + * Used to indicate which phase of event flow is currently being + * evaluated. + */ + readonly attribute unsigned short eventPhase; + + /** + * Used to indicate whether or not an event is a bubbling event. If the + * event can bubble the value is true, else the value is false. + */ + readonly attribute boolean bubbles; + + /** + * Used to indicate whether or not an event can have its default action + * prevented. If the default action can be prevented the value is true, + * else the value is false. + */ + readonly attribute boolean cancelable; + + /** + * Used to specify the time (in milliseconds relative to the epoch) at + * which the event was created. Due to the fact that some systems may + * not provide this information the value of timeStamp may be not + * available for all events. When not available, a value of 0 will be + * returned. Examples of epoch time are the time of the system start or + * 0:0:0 UTC 1st January 1970. + */ + readonly attribute DOMTimeStamp timeStamp; + + /** + * The stopPropagation method is used prevent further propagation of an + * event during event flow. If this method is called by any + * EventListener the event will cease propagating through the tree. The + * event will complete dispatch to all listeners on the current + * EventTarget before event flow stops. This method may be used during + * any stage of event flow. + */ + void stopPropagation(); + + /** + * If an event is cancelable, the preventDefault method is used to + * signify that the event is to be canceled, meaning any default action + * normally taken by the implementation as a result of the event will + * not occur. If, during any stage of event flow, the preventDefault + * method is called the event is canceled. Any default action associated + * with the event will not occur. Calling this method for a + * non-cancelable event has no effect. Once preventDefault has been + * called it will remain in effect throughout the remainder of the + * event's propagation. This method may be used during any stage of + * event flow. + */ + void preventDefault(); + + /** + * The initEvent method is used to initialize the value of an Event + * created through the DocumentEvent interface. This method may only be + * called before the Event has been dispatched via the dispatchEvent + * method, though it may be called multiple times during that phase if + * necessary. If called multiple times the final invocation takes + * precedence. If called from a subclass of Event interface only the + * values specified in the initEvent method are modified, all other + * attributes are left unchanged. + * + * @param eventTypeArg Specifies the event type. This type may be + * any event type currently defined in this + * specification or a new event type.. The string + * must be an XML name. + * Any new event type must not begin with any + * upper, lower, or mixed case version of the + * string "DOM". This prefix is reserved for + * future DOM event sets. It is also strongly + * recommended that third parties adding their + * own events use their own prefix to avoid + * confusion and lessen the probability of + * conflicts with other new events. + * @param canBubbleArg Specifies whether or not the event can bubble. + * @param cancelableArg Specifies whether or not the event's default + * action can be prevented. + */ + void initEvent(in DOMString eventTypeArg, + in boolean canBubbleArg, + in boolean cancelableArg); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventGroup.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventGroup.idl new file mode 100644 index 00000000..e9e7c5d7 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventGroup.idl @@ -0,0 +1,54 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMEventTarget interface is the interface implemented by all + * event targets in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-3-Events/ + */ + +[scriptable, uuid(33347bee-6620-4841-8152-36091ae80c7e)] +interface nsIDOMEventGroup : nsISupports +{ + // Introduced in DOM Level 3: + boolean isSameEventGroup(in nsIDOMEventGroup other); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventListener.idl new file mode 100644 index 00000000..6f2b1f67 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventListener.idl @@ -0,0 +1,65 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMEventListener interface is a callback interface for + * listening to events in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, function, uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4)] +interface nsIDOMEventListener : nsISupports +{ + /** + * This method is called whenever an event occurs of the type for which + * the EventListener interface was registered. + * + * @param evt The Event contains contextual information about the + * event. It also contains the stopPropagation and + * preventDefault methods which are used in determining the + * event's flow and default action. + */ + void handleEvent(in nsIDOMEvent event); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventTarget.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventTarget.idl new file mode 100644 index 00000000..817824cb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMEventTarget.idl @@ -0,0 +1,128 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMEventTarget interface is the interface implemented by all + * event targets in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, uuid(1c773b30-d1cf-11d2-bd95-00805f8ae3f4)] +interface nsIDOMEventTarget : nsISupports +{ + /** + * This method allows the registration of event listeners on the event target. + * If an EventListener is added to an EventTarget while it is processing an + * event, it will not be triggered by the current actions but may be + * triggered during a later stage of event flow, such as the bubbling phase. + * + * If multiple identical EventListeners are registered on the same + * EventTarget with the same parameters the duplicate instances are + * discarded. They do not cause the EventListener to be called twice + * and since they are discarded they do not need to be removed with the + * removeEventListener method. + * + * @param type The event type for which the user is registering + * @param listener The listener parameter takes an interface + * implemented by the user which contains the methods + * to be called when the event occurs. + * @param useCapture If true, useCapture indicates that the user + * wishes to initiate capture. After initiating + * capture, all events of the specified type will be + * dispatched to the registered EventListener before + * being dispatched to any EventTargets beneath them + * in the tree. Events which are bubbling upward + * through the tree will not trigger an + * EventListener designated to use capture. + */ + void addEventListener(in DOMString type, + in nsIDOMEventListener listener, + in boolean useCapture); + + /** + * This method allows the removal of event listeners from the event + * target. If an EventListener is removed from an EventTarget while it + * is processing an event, it will not be triggered by the current actions. + * EventListeners can never be invoked after being removed. + * Calling removeEventListener with arguments which do not identify any + * currently registered EventListener on the EventTarget has no effect. + * + * @param type Specifies the event type of the EventListener being + * removed. + * @param listener The EventListener parameter indicates the + * EventListener to be removed. + * @param useCapture Specifies whether the EventListener being + * removed was registered as a capturing listener or + * not. If a listener was registered twice, one with + * capture and one without, each must be removed + * separately. Removal of a capturing listener does + * not affect a non-capturing version of the same + * listener, and vice versa. + */ + void removeEventListener(in DOMString type, + in nsIDOMEventListener listener, + in boolean useCapture); + + /** + * This method allows the dispatch of events into the implementations + * event model. Events dispatched in this manner will have the same + * capturing and bubbling behavior as events dispatched directly by the + * implementation. The target of the event is the EventTarget on which + * dispatchEvent is called. + * + * @param evt Specifies the event type, behavior, and contextual + * information to be used in processing the event. + * @return Indicates whether any of the listeners which handled the + * event called preventDefault. If preventDefault was called + * the value is false, else the value is true. + * @throws UNSPECIFIED_EVENT_TYPE_ERR: Raised if the Event's type was + * not specified by initializing the event before + * dispatchEvent was called. Specification of the Event's + * type as null or an empty string will also trigger this + * exception. + */ + boolean dispatchEvent(in nsIDOMEvent evt) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAnchorElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAnchorElement.idl new file mode 100644 index 00000000..52322611 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAnchorElement.idl @@ -0,0 +1,69 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLAnchorElement interface is the interface to a [X]HTML + * a element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90aa-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement +{ + attribute DOMString accessKey; + attribute DOMString charset; + attribute DOMString coords; + attribute DOMString href; + attribute DOMString hreflang; + attribute DOMString name; + attribute DOMString rel; + attribute DOMString rev; + attribute DOMString shape; + attribute long tabIndex; + attribute DOMString target; + attribute DOMString type; + void blur(); + void focus(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAppletElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAppletElement.idl new file mode 100644 index 00000000..25e541dd --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAppletElement.idl @@ -0,0 +1,69 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLAppletElement interface is the interface to a [X]HTML + * applet element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ae-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute DOMString alt; + attribute DOMString archive; + attribute DOMString code; + attribute DOMString codeBase; + attribute DOMString height; + // Modified in DOM Level 2: + attribute long hspace; + attribute DOMString name; + // Modified in DOM Level 2: + attribute DOMString object; + // Modified in DOM Level 2: + attribute long vspace; + attribute DOMString width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAreaElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAreaElement.idl new file mode 100644 index 00000000..5ac481fb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLAreaElement.idl @@ -0,0 +1,63 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLAreaElement interface is the interface to a [X]HTML + * area element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b0-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement +{ + attribute DOMString accessKey; + attribute DOMString alt; + attribute DOMString coords; + attribute DOMString href; + attribute boolean noHref; + attribute DOMString shape; + attribute long tabIndex; + attribute DOMString target; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBRElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBRElement.idl new file mode 100644 index 00000000..952c3845 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBRElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLBRElement interface is the interface to a [X]HTML br + * element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a5-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLBRElement : nsIDOMHTMLElement +{ + attribute DOMString clear; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseElement.idl new file mode 100644 index 00000000..da4477a8 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLBaseElement interface is the interface to a [X]HTML + * base element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908b-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement +{ + attribute DOMString href; + attribute DOMString target; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseFontElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseFontElement.idl new file mode 100644 index 00000000..30997104 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBaseFontElement.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLBaseFontElement interface is the interface to a + * [X]HTML basefont element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a6-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLBaseFontElement : nsIDOMHTMLElement +{ + attribute DOMString color; + attribute DOMString face; + // Modified in DOM Level 2: + attribute long size; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBodyElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBodyElement.idl new file mode 100644 index 00000000..055c8a65 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLBodyElement.idl @@ -0,0 +1,61 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLBodyElement interface is the interface to a [X]HTML + * body element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908e-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement +{ + attribute DOMString aLink; + attribute DOMString background; + attribute DOMString bgColor; + attribute DOMString link; + attribute DOMString text; + attribute DOMString vLink; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLButtonElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLButtonElement.idl new file mode 100644 index 00000000..13b5cb55 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLButtonElement.idl @@ -0,0 +1,65 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLButtonElement interface is the interface to a [X]HTML + * button element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9095-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute boolean disabled; + attribute DOMString name; + attribute long tabIndex; + // The scriptable version of type is writable and lives on + // nsIDOMNSHTMLButtonElement (have to do it this way because this + // interface is frozen and we don't want to break binary compat). + [noscript] readonly attribute DOMString type; + attribute DOMString value; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLCollection.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLCollection.idl new file mode 100644 index 00000000..66b8e78a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLCollection.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMHTMLCollection interface is an interface to a collection + * of [X]HTML elements. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9083-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLCollection : nsISupports +{ + readonly attribute unsigned long length; + + nsIDOMNode item(in unsigned long index); + nsIDOMNode namedItem(in DOMString name); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDListElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDListElement.idl new file mode 100644 index 00000000..2dabc8ae --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDListElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLDListElement interface is the interface to a [X]HTML + * dl element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf909b-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLDListElement : nsIDOMHTMLElement +{ + attribute boolean compact; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDirectoryElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDirectoryElement.idl new file mode 100644 index 00000000..2d208ed4 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDirectoryElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLDirectoryElement interface is the interface to a + * [X]HTML dir element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf909c-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement +{ + attribute boolean compact; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDivElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDivElement.idl new file mode 100644 index 00000000..4c321eb3 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDivElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLDivElement interface is the interface to a [X]HTML + * div element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a0-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLDivElement : nsIDOMHTMLElement +{ + attribute DOMString align; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDocument.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDocument.idl new file mode 100644 index 00000000..b1093fde --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLDocument.idl @@ -0,0 +1,84 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMDocument.idl" + +/** + * The nsIDOMHTMLDocument interface is the interface to a [X]HTML + * document object. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9084-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLDocument : nsIDOMDocument +{ + attribute DOMString title; + readonly attribute DOMString referrer; + // domain is readonly per spec, but it's settable in + // nsIDOMNSHTMLDocument + [noscript] readonly attribute DOMString domain; + readonly attribute DOMString URL; + attribute nsIDOMHTMLElement body; + readonly attribute nsIDOMHTMLCollection images; + readonly attribute nsIDOMHTMLCollection applets; + readonly attribute nsIDOMHTMLCollection links; + readonly attribute nsIDOMHTMLCollection forms; + readonly attribute nsIDOMHTMLCollection anchors; + attribute DOMString cookie; + // raises(DOMException) on setting + + // open() is noscript here since the DOM Level 0 version of open() + // returned nsIDOMDocument, and not void. The script version of + // open() is defined in nsIDOMNSHTMLDocument. + [noscript] void open(); + void close(); + + // The methods write() and writeln() must be callable from JS with + // no arguments for backwards compatibility, thus they are marked + // [noscript] here. The JS versions of these methods are defined in + // nsIDOMNSHTMLDocument. + [noscript] void write(in DOMString text); + [noscript] void writeln(in DOMString text); + + nsIDOMNodeList getElementsByName(in DOMString elementName); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLElement.idl new file mode 100644 index 00000000..5f1a4168 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLElement.idl @@ -0,0 +1,61 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMElement.idl" + +/** + * The nsIDOMHTMLElement interface is the primary [X]HTML element + * interface. It represents a single [X]HTML element in the document + * tree. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9085-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLElement : nsIDOMElement +{ + attribute DOMString id; + attribute DOMString title; + attribute DOMString lang; + attribute DOMString dir; + attribute DOMString className; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLEmbedElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLEmbedElement.idl new file mode 100644 index 00000000..18dc9ea9 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLEmbedElement.idl @@ -0,0 +1,61 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLEmbedElement interface is the interface to a [X]HTML + * embed element. + * + * Note that this is not a W3C standard interface, it is Mozilla + * proprietary. + * + * @status FROZEN + */ + +[scriptable, uuid(123f90ab-15b3-11d2-456e-00805f8add32)] +interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute DOMString height; + attribute DOMString name; + attribute DOMString src; + attribute DOMString type; + attribute DOMString width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFieldSetElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFieldSetElement.idl new file mode 100644 index 00000000..a5f114f4 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFieldSetElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLFieldSetElement interface is the interface to a + * [X]HTML fieldset element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9097-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFontElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFontElement.idl new file mode 100644 index 00000000..b5cc7a9c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFontElement.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLFontElement interface is the interface to a [X]HTML + * font element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a7-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLFontElement : nsIDOMHTMLElement +{ + attribute DOMString color; + attribute DOMString face; + attribute DOMString size; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFormElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFormElement.idl new file mode 100644 index 00000000..6e442358 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFormElement.idl @@ -0,0 +1,65 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLFormElement interface is the interface to a [X]HTML + * form element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908f-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLFormElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLCollection elements; + readonly attribute long length; + attribute DOMString name; + attribute DOMString acceptCharset; + attribute DOMString action; + attribute DOMString enctype; + attribute DOMString method; + attribute DOMString target; + void submit(); + void reset(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameElement.idl new file mode 100644 index 00000000..67059223 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameElement.idl @@ -0,0 +1,65 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLFrameElement interface is the interface to a [X]HTML + * frame element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b9-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement +{ + attribute DOMString frameBorder; + attribute DOMString longDesc; + attribute DOMString marginHeight; + attribute DOMString marginWidth; + attribute DOMString name; + attribute boolean noResize; + attribute DOMString scrolling; + attribute DOMString src; + // Introduced in DOM Level 2: + readonly attribute nsIDOMDocument contentDocument; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameSetElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameSetElement.idl new file mode 100644 index 00000000..d67d7168 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLFrameSetElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLFrameSetElement interface is the interface to a + * [X]HTML frameset element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b8-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement +{ + attribute DOMString cols; + attribute DOMString rows; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHRElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHRElement.idl new file mode 100644 index 00000000..ca9ead38 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHRElement.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLHRElement interface is the interface to a [X]HTML hr + * element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a8-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLHRElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute boolean noShade; + attribute DOMString size; + attribute DOMString width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadElement.idl new file mode 100644 index 00000000..8ca74526 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLHeadElement interface is the interface to a [X]HTML + * head element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9087-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement +{ + attribute DOMString profile; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadingElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadingElement.idl new file mode 100644 index 00000000..463f2faf --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHeadingElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLHeadingElement interface is the interface to a + * [X]HTML h1, h2, h3, ... element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a2-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement +{ + attribute DOMString align; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHtmlElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHtmlElement.idl new file mode 100644 index 00000000..8e8ed09d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLHtmlElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLHtmlElement interface is the interface to a [X]HTML + * html element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9086-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement +{ + attribute DOMString version; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIFrameElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIFrameElement.idl new file mode 100644 index 00000000..3b8dd181 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIFrameElement.idl @@ -0,0 +1,67 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLIFrameElement interface is the interface to a [X]HTML + * iframe element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ba-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute DOMString frameBorder; + attribute DOMString height; + attribute DOMString longDesc; + attribute DOMString marginHeight; + attribute DOMString marginWidth; + attribute DOMString name; + attribute DOMString scrolling; + attribute DOMString src; + attribute DOMString width; + // Introduced in DOM Level 2: + readonly attribute nsIDOMDocument contentDocument; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLImageElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLImageElement.idl new file mode 100644 index 00000000..8b2df7bb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLImageElement.idl @@ -0,0 +1,71 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLImageElement interface is the interface to a [X]HTML + * img element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ab-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLImageElement : nsIDOMHTMLElement +{ + attribute DOMString name; + attribute DOMString align; + attribute DOMString alt; + attribute DOMString border; + // Modified in DOM Level 2: + attribute long height; + // Modified in DOM Level 2: + attribute long hspace; + attribute boolean isMap; + attribute DOMString longDesc; + attribute DOMString src; + attribute DOMString useMap; + // Modified in DOM Level 2: + attribute long vspace; + // Modified in DOM Level 2: + attribute long width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLInputElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLInputElement.idl new file mode 100644 index 00000000..ce39a9f6 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLInputElement.idl @@ -0,0 +1,79 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLInputElement interface is the interface to a [X]HTML + * input element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9093-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLInputElement : nsIDOMHTMLElement +{ + attribute DOMString defaultValue; + attribute boolean defaultChecked; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accept; + attribute DOMString accessKey; + attribute DOMString align; + attribute DOMString alt; + attribute boolean checked; + attribute boolean disabled; + attribute long maxLength; + attribute DOMString name; + attribute boolean readOnly; + // Modified in DOM Level 2: + attribute unsigned long size; + attribute DOMString src; + attribute long tabIndex; + // Modified in DOM Level 2: + attribute DOMString type; + attribute DOMString useMap; + attribute DOMString value; + void blur(); + void focus(); + void select(); + void click(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIsIndexElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIsIndexElement.idl new file mode 100644 index 00000000..0714a992 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLIsIndexElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLIsIndexElement interface is the interface to a + * [X]HTML isindex element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908c-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLIsIndexElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString prompt; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLIElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLIElement.idl new file mode 100644 index 00000000..27dd95ed --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLIElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLLIElement interface is the interface to a [X]HTML li + * element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf909e-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLLIElement : nsIDOMHTMLElement +{ + attribute DOMString type; + attribute long value; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLabelElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLabelElement.idl new file mode 100644 index 00000000..a8f5572b --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLabelElement.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLLabelElement interface is the interface to a [X]HTML + * label element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9096-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute DOMString htmlFor; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLegendElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLegendElement.idl new file mode 100644 index 00000000..116f0812 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLegendElement.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLLegendElement interface is the interface to a [X]HTML + * legend element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9098-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute DOMString align; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLinkElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLinkElement.idl new file mode 100644 index 00000000..935e4b73 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLLinkElement.idl @@ -0,0 +1,64 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLLinkElement interface is the interface to a [X]HTML + * link element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9088-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement +{ + attribute boolean disabled; + attribute DOMString charset; + attribute DOMString href; + attribute DOMString hreflang; + attribute DOMString media; + attribute DOMString rel; + attribute DOMString rev; + attribute DOMString target; + attribute DOMString type; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMapElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMapElement.idl new file mode 100644 index 00000000..8a9365a3 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMapElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLMapElement interface is the interface to a [X]HTML + * map element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90af-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLMapElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLCollection areas; + attribute DOMString name; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMenuElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMenuElement.idl new file mode 100644 index 00000000..55af8c02 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMenuElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLMenuElement interface is the interface to a [X]HTML + * menu element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf909d-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement +{ + attribute boolean compact; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMetaElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMetaElement.idl new file mode 100644 index 00000000..e769984d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLMetaElement.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLMetaElement interface is the interface to a [X]HTML + * meta element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908a-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement +{ + attribute DOMString content; + attribute DOMString httpEquiv; + attribute DOMString name; + attribute DOMString scheme; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLModElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLModElement.idl new file mode 100644 index 00000000..483a54ea --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLModElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLModElement interface is the interface to a [X]HTML + * ins and del element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a9-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLModElement : nsIDOMHTMLElement +{ + attribute DOMString cite; + attribute DOMString dateTime; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOListElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOListElement.idl new file mode 100644 index 00000000..5ed6a57d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOListElement.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLOListElement interface is the interface to a [X]HTML + * ol element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf909a-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLOListElement : nsIDOMHTMLElement +{ + attribute boolean compact; + attribute long start; + attribute DOMString type; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLObjectElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLObjectElement.idl new file mode 100644 index 00000000..5f285a36 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLObjectElement.idl @@ -0,0 +1,75 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLObjectElement interface is the interface to a [X]HTML + * object element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ac-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString code; + attribute DOMString align; + attribute DOMString archive; + attribute DOMString border; + attribute DOMString codeBase; + attribute DOMString codeType; + attribute DOMString data; + attribute boolean declare; + attribute DOMString height; + attribute long hspace; + attribute DOMString name; + attribute DOMString standby; + attribute long tabIndex; + attribute DOMString type; + attribute DOMString useMap; + attribute long vspace; + attribute DOMString width; + // Introduced in DOM Level 2: + readonly attribute nsIDOMDocument contentDocument; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptGroupElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptGroupElement.idl new file mode 100644 index 00000000..a8c11433 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptGroupElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLOptGroupElement interface is the interface to a + * [X]HTML optgroup element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9091-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement +{ + attribute boolean disabled; + attribute DOMString label; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionElement.idl new file mode 100644 index 00000000..66d0789c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionElement.idl @@ -0,0 +1,65 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLOptionElement interface is the interface to a [X]HTML + * option element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9092-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement +{ + readonly attribute nsIDOMHTMLFormElement form; + // Modified in DOM Level 2: + attribute boolean defaultSelected; + readonly attribute DOMString text; + // Modified in DOM Level 2: + readonly attribute long index; + attribute boolean disabled; + attribute DOMString label; + attribute boolean selected; + attribute DOMString value; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionsCollection.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionsCollection.idl new file mode 100644 index 00000000..cdce3996 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLOptionsCollection.idl @@ -0,0 +1,60 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLOptionsCollection interface is the interface to a + * collection of [X]HTML option elements. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +// Introduced in DOM Level 2: +[scriptable, uuid(bce0213c-f70f-488f-b93f-688acca55d63)] +interface nsIDOMHTMLOptionsCollection : nsISupports +{ + attribute unsigned long length; + // raises(DOMException) on setting + + nsIDOMNode item(in unsigned long index); + nsIDOMNode namedItem(in DOMString name); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParagraphElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParagraphElement.idl new file mode 100644 index 00000000..4acc1703 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParagraphElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLParagraphElement interface is the interface to a + * [X]HTML p element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a1-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement +{ + attribute DOMString align; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParamElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParamElement.idl new file mode 100644 index 00000000..a6cb3371 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLParamElement.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLParamElement interface is the interface to a [X]HTML + * param element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ad-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLParamElement : nsIDOMHTMLElement +{ + attribute DOMString name; + attribute DOMString type; + attribute DOMString value; + attribute DOMString valueType; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLPreElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLPreElement.idl new file mode 100644 index 00000000..69231573 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLPreElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLPreElement interface is the interface to a [X]HTML + * pre element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a4-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLPreElement : nsIDOMHTMLElement +{ + attribute long width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLQuoteElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLQuoteElement.idl new file mode 100644 index 00000000..eda43047 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLQuoteElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLQuoteElement interface is the interface to a [X]HTML + * q element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90a3-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement +{ + attribute DOMString cite; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLScriptElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLScriptElement.idl new file mode 100644 index 00000000..443e2d56 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLScriptElement.idl @@ -0,0 +1,62 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLScriptElement interface is the interface to a [X]HTML + * script element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b1-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement +{ + attribute DOMString text; + attribute DOMString htmlFor; + attribute DOMString event; + attribute DOMString charset; + attribute boolean defer; + attribute DOMString src; + attribute DOMString type; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLSelectElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLSelectElement.idl new file mode 100644 index 00000000..4847da26 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLSelectElement.idl @@ -0,0 +1,77 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" +#include "nsIDOMHTMLOptionsCollection.idl" + +/** + * The nsIDOMHTMLSelectElement interface is the interface to a [X]HTML + * select element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9090-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement +{ + readonly attribute DOMString type; + attribute long selectedIndex; + attribute DOMString value; + // Modified in DOM Level 2: + attribute unsigned long length; + // raises(DOMException) on setting + + readonly attribute nsIDOMHTMLFormElement form; + // Modified in DOM Level 2: + readonly attribute nsIDOMHTMLOptionsCollection options; + attribute boolean disabled; + attribute boolean multiple; + attribute DOMString name; + attribute long size; + attribute long tabIndex; + void add(in nsIDOMHTMLElement element, + in nsIDOMHTMLElement before) + raises(DOMException); + void remove(in long index); + void blur(); + void focus(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLStyleElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLStyleElement.idl new file mode 100644 index 00000000..9a32296a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLStyleElement.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLStyleElement interface is the interface to a [X]HTML + * style element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf908d-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement +{ + attribute boolean disabled; + attribute DOMString media; + attribute DOMString type; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCaptionElem.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCaptionElem.idl new file mode 100644 index 00000000..039b8fa4 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCaptionElem.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableCaptionElement interface is the interface to a + * [X]HTML caption element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b3-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement +{ + attribute DOMString align; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCellElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCellElement.idl new file mode 100644 index 00000000..00610da5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableCellElement.idl @@ -0,0 +1,70 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableCellElement interface is the interface to a + * [X]HTML td element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b7-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement +{ + readonly attribute long cellIndex; + attribute DOMString abbr; + attribute DOMString align; + attribute DOMString axis; + attribute DOMString bgColor; + attribute DOMString ch; + attribute DOMString chOff; + attribute long colSpan; + attribute DOMString headers; + attribute DOMString height; + attribute boolean noWrap; + attribute long rowSpan; + attribute DOMString scope; + attribute DOMString vAlign; + attribute DOMString width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableColElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableColElement.idl new file mode 100644 index 00000000..e63e8403 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableColElement.idl @@ -0,0 +1,61 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableColElement interface is the interface to a + * [X]HTML col element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b4-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute DOMString ch; + attribute DOMString chOff; + attribute long span; + attribute DOMString vAlign; + attribute DOMString width; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableElement.idl new file mode 100644 index 00000000..9791e932 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableElement.idl @@ -0,0 +1,90 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableElement interface is the interface to a [X]HTML + * table element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b2-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableElement : nsIDOMHTMLElement +{ + // Modified in DOM Level 2: + attribute nsIDOMHTMLTableCaptionElement caption; + // raises(DOMException) on setting + + // Modified in DOM Level 2: + attribute nsIDOMHTMLTableSectionElement tHead; + // raises(DOMException) on setting + + // Modified in DOM Level 2: + attribute nsIDOMHTMLTableSectionElement tFoot; + // raises(DOMException) on setting + + readonly attribute nsIDOMHTMLCollection rows; + readonly attribute nsIDOMHTMLCollection tBodies; + attribute DOMString align; + attribute DOMString bgColor; + attribute DOMString border; + attribute DOMString cellPadding; + attribute DOMString cellSpacing; + attribute DOMString frame; + attribute DOMString rules; + attribute DOMString summary; + attribute DOMString width; + nsIDOMHTMLElement createTHead(); + void deleteTHead(); + nsIDOMHTMLElement createTFoot(); + void deleteTFoot(); + nsIDOMHTMLElement createCaption(); + void deleteCaption(); + // Modified in DOM Level 2: + nsIDOMHTMLElement insertRow(in long index) + raises(DOMException); + // Modified in DOM Level 2: + void deleteRow(in long index) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableRowElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableRowElement.idl new file mode 100644 index 00000000..318fa6b5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableRowElement.idl @@ -0,0 +1,72 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableRowElement interface is the interface to a + * [X]HTML tr element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b6-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement +{ + // Modified in DOM Level 2: + readonly attribute long rowIndex; + // Modified in DOM Level 2: + readonly attribute long sectionRowIndex; + // Modified in DOM Level 2: + readonly attribute nsIDOMHTMLCollection cells; + attribute DOMString align; + attribute DOMString bgColor; + attribute DOMString ch; + attribute DOMString chOff; + attribute DOMString vAlign; + // Modified in DOM Level 2: + nsIDOMHTMLElement insertCell(in long index) + raises(DOMException); + // Modified in DOM Level 2: + void deleteCell(in long index) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableSectionElem.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableSectionElem.idl new file mode 100644 index 00000000..56c016fb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTableSectionElem.idl @@ -0,0 +1,66 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTableSectionElement interface is the interface to a + * [X]HTML thead, tbody, and tfoot element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90b5-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement +{ + attribute DOMString align; + attribute DOMString ch; + attribute DOMString chOff; + attribute DOMString vAlign; + readonly attribute nsIDOMHTMLCollection rows; + // Modified in DOM Level 2: + nsIDOMHTMLElement insertRow(in long index) + raises(DOMException); + // Modified in DOM Level 2: + void deleteRow(in long index) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTextAreaElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTextAreaElement.idl new file mode 100644 index 00000000..597975af --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTextAreaElement.idl @@ -0,0 +1,70 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTextAreaElement interface is the interface to a + * [X]HTML textarea element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9094-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement +{ + // Modified in DOM Level 2: + attribute DOMString defaultValue; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute long cols; + attribute boolean disabled; + attribute DOMString name; + attribute boolean readOnly; + attribute long rows; + attribute long tabIndex; + readonly attribute DOMString type; + attribute DOMString value; + void blur(); + void focus(); + void select(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTitleElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTitleElement.idl new file mode 100644 index 00000000..e082ecce --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLTitleElement.idl @@ -0,0 +1,56 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLTitleElement interface is the interface to a [X]HTML + * title element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9089-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement +{ + attribute DOMString text; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLUListElement.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLUListElement.idl new file mode 100644 index 00000000..37fc005b --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMHTMLUListElement.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMHTMLElement.idl" + +/** + * The nsIDOMHTMLUListElement interface is the interface to a [X]HTML + * ul element. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-HTML/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9099-15b3-11d2-932e-00805f8add32)] +interface nsIDOMHTMLUListElement : nsIDOMHTMLElement +{ + attribute boolean compact; + attribute DOMString type; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMediaList.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMediaList.idl new file mode 100644 index 00000000..044192ad --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMediaList.idl @@ -0,0 +1,64 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMMediaList interface is a datatype for a list of media + * types in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(9b0c2ed7-111c-4824-adf9-ef0da6dad371)] +interface nsIDOMMediaList : nsISupports +{ + attribute DOMString mediaText; + // raises(DOMException) on setting + + readonly attribute unsigned long length; + DOMString item(in unsigned long index); + void deleteMedium(in DOMString oldMedium) + raises(DOMException); + void appendMedium(in DOMString newMedium) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMouseEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMouseEvent.idl new file mode 100644 index 00000000..4b9089ed --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMMouseEvent.idl @@ -0,0 +1,84 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMUIEvent.idl" + +/** + * The nsIDOMMouseEvent interface is the datatype for all mouse events + * in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, uuid(ff751edc-8b02-aae7-0010-8301838a3123)] +interface nsIDOMMouseEvent : nsIDOMUIEvent +{ + readonly attribute long screenX; + readonly attribute long screenY; + + readonly attribute long clientX; + readonly attribute long clientY; + + readonly attribute boolean ctrlKey; + readonly attribute boolean shiftKey; + readonly attribute boolean altKey; + readonly attribute boolean metaKey; + + readonly attribute unsigned short button; + readonly attribute nsIDOMEventTarget relatedTarget; + + void initMouseEvent(in DOMString typeArg, + in boolean canBubbleArg, + in boolean cancelableArg, + in nsIDOMAbstractView viewArg, + in long detailArg, + in long screenXArg, + in long screenYArg, + in long clientXArg, + in long clientYArg, + in boolean ctrlKeyArg, + in boolean altKeyArg, + in boolean shiftKeyArg, + in boolean metaKeyArg, + in unsigned short buttonArg, + in nsIDOMEventTarget relatedTargetArg); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNSDocumentStyle.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNSDocumentStyle.idl new file mode 100644 index 00000000..7e4414e5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNSDocumentStyle.idl @@ -0,0 +1,60 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is nsIDOMNSDocumentStyle interface definition. + * + * The Initial Developer of the Original Code is + * Boris Zbarsky + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" +#include "nsIDOMDocumentStyle.idl" + +/** + * The nsIDOMNSDocumentStyle interface is an extension to the + * nsIDOMDocumentStyle interface. This interface exposes more ways to interact + * with style sheets in the Document Object Model. This interface is currently + * very much experimental. + */ + +[scriptable, uuid(4ecdf254-a21e-47b0-8d72-55da8208299f)] +interface nsIDOMNSDocumentStyle : nsIDOMDocumentStyle +{ + /** + * This attribute indicates the preferredStylesheetSet as set by the + * author. It is determined from the order of stylesheet declarations and the + * Default-Style HTTP headers. See [[HTML4]]. If there is no preferred + * stylesheet set, this attribute returns the empty string. The case of this + * attribute must exactly match the case given by the author where the + * preferred stylesheet is specified or implied. + */ + readonly attribute DOMString preferredStylesheetSet; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNamedNodeMap.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNamedNodeMap.idl new file mode 100644 index 00000000..9f0a9998 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNamedNodeMap.idl @@ -0,0 +1,72 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * Objects implementing the nsIDOMNamedNodeMap interface are used to + * represent collections of nodes that can be accessed by name. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907b-15b3-11d2-932e-00805f8add32)] +interface nsIDOMNamedNodeMap : nsISupports +{ + nsIDOMNode getNamedItem(in DOMString name); + nsIDOMNode setNamedItem(in nsIDOMNode arg) + raises(DOMException); + nsIDOMNode removeNamedItem(in DOMString name) + raises(DOMException); + nsIDOMNode item(in unsigned long index); + readonly attribute unsigned long length; + // Introduced in DOM Level 2: + nsIDOMNode getNamedItemNS(in DOMString namespaceURI, + in DOMString localName); + // Introduced in DOM Level 2: + nsIDOMNode setNamedItemNS(in nsIDOMNode arg) + raises(DOMException); + // Introduced in DOM Level 2: + nsIDOMNode removeNamedItemNS(in DOMString namespaceURI, + in DOMString localName) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNode.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNode.idl new file mode 100644 index 00000000..88383598 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNode.idl @@ -0,0 +1,110 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMNode interface is the primary datatype for the entire + * Document Object Model. + * It represents a single node in the document tree. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907c-15b3-11d2-932e-00805f8add32)] +interface nsIDOMNode : nsISupports +{ + const unsigned short ELEMENT_NODE = 1; + const unsigned short ATTRIBUTE_NODE = 2; + const unsigned short TEXT_NODE = 3; + const unsigned short CDATA_SECTION_NODE = 4; + const unsigned short ENTITY_REFERENCE_NODE = 5; + const unsigned short ENTITY_NODE = 6; + const unsigned short PROCESSING_INSTRUCTION_NODE = 7; + const unsigned short COMMENT_NODE = 8; + const unsigned short DOCUMENT_NODE = 9; + const unsigned short DOCUMENT_TYPE_NODE = 10; + const unsigned short DOCUMENT_FRAGMENT_NODE = 11; + const unsigned short NOTATION_NODE = 12; + + readonly attribute DOMString nodeName; + attribute DOMString nodeValue; + // raises(DOMException) on setting + // raises(DOMException) on retrieval + readonly attribute unsigned short nodeType; + readonly attribute nsIDOMNode parentNode; + readonly attribute nsIDOMNodeList childNodes; + readonly attribute nsIDOMNode firstChild; + readonly attribute nsIDOMNode lastChild; + readonly attribute nsIDOMNode previousSibling; + readonly attribute nsIDOMNode nextSibling; + readonly attribute nsIDOMNamedNodeMap attributes; + // Modified in DOM Level 2: + readonly attribute nsIDOMDocument ownerDocument; + nsIDOMNode insertBefore(in nsIDOMNode newChild, + in nsIDOMNode refChild) + raises(DOMException); + nsIDOMNode replaceChild(in nsIDOMNode newChild, + in nsIDOMNode oldChild) + raises(DOMException); + nsIDOMNode removeChild(in nsIDOMNode oldChild) + raises(DOMException); + nsIDOMNode appendChild(in nsIDOMNode newChild) + raises(DOMException); + boolean hasChildNodes(); + nsIDOMNode cloneNode(in boolean deep); + // Modified in DOM Level 2: + void normalize(); + // Introduced in DOM Level 2: + boolean isSupported(in DOMString feature, + in DOMString version); + // Introduced in DOM Level 2: + readonly attribute DOMString namespaceURI; + // Introduced in DOM Level 2: + attribute DOMString prefix; + // raises(DOMException) on setting + + // Introduced in DOM Level 2: + readonly attribute DOMString localName; + // Introduced in DOM Level 2: + boolean hasAttributes(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNodeList.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNodeList.idl new file mode 100644 index 00000000..a6ffebfb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNodeList.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMNodeList interface provides the abstraction of an ordered + * collection of nodes, without defining or constraining how this collection + * is implemented. + * The items in the list are accessible via an integral index, starting from 0. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907d-15b3-11d2-932e-00805f8add32)] +interface nsIDOMNodeList : nsISupports +{ + nsIDOMNode item(in unsigned long index); + readonly attribute unsigned long length; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNotation.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNotation.idl new file mode 100644 index 00000000..464a422d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMNotation.idl @@ -0,0 +1,58 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMNotation interface represents a notation declared in the DTD. + * A notation either declares, by name, the format of an unparsed entity, + * or is used for formal declaration of processing instruction targets. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907e-15b3-11d2-932e-00805f8add32)] +interface nsIDOMNotation : nsIDOMNode +{ + readonly attribute DOMString publicId; + readonly attribute DOMString systemId; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMProcessingInstruction.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMProcessingInstruction.idl new file mode 100644 index 00000000..4bb41bc1 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMProcessingInstruction.idl @@ -0,0 +1,59 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMNode.idl" + +/** + * The nsIDOMProcessingInstruction interface represents a + * "processing instruction", used in XML as a way to keep processor-specific + * information in the text of the document. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf907f-15b3-11d2-932e-00805f8add32)] +interface nsIDOMProcessingInstruction : nsIDOMNode +{ + readonly attribute DOMString target; + attribute DOMString data; + // raises(DOMException) on setting +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMRange.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMRange.idl new file mode 100644 index 00000000..3b3d9fda --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMRange.idl @@ -0,0 +1,116 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMRange interface is an interface to a DOM range object. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90ce-15b3-11d2-932e-00805f8add32)] +interface nsIDOMRange : nsISupports +{ + readonly attribute nsIDOMNode startContainer; + // raises(DOMException) on retrieval + + readonly attribute long startOffset; + // raises(DOMException) on retrieval + + readonly attribute nsIDOMNode endContainer; + // raises(DOMException) on retrieval + + readonly attribute long endOffset; + // raises(DOMException) on retrieval + + readonly attribute boolean collapsed; + // raises(DOMException) on retrieval + + readonly attribute nsIDOMNode commonAncestorContainer; + // raises(DOMException) on retrieval + + void setStart(in nsIDOMNode refNode, in long offset) + raises(RangeException, DOMException); + void setEnd(in nsIDOMNode refNode, in long offset) + raises(RangeException, DOMException); + void setStartBefore(in nsIDOMNode refNode) + raises(RangeException, DOMException); + void setStartAfter(in nsIDOMNode refNode) + raises(RangeException, DOMException); + void setEndBefore(in nsIDOMNode refNode) + raises(RangeException, DOMException); + void setEndAfter(in nsIDOMNode refNode) + raises(RangeException, DOMException); + void collapse(in boolean toStart) + raises(DOMException); + void selectNode(in nsIDOMNode refNode) + raises(RangeException, DOMException); + void selectNodeContents(in nsIDOMNode refNode) + raises(RangeException, DOMException); + + // CompareHow + const unsigned short START_TO_START = 0; + const unsigned short START_TO_END = 1; + const unsigned short END_TO_END = 2; + const unsigned short END_TO_START = 3; + + short compareBoundaryPoints(in unsigned short how, + in nsIDOMRange sourceRange) + raises(DOMException); + void deleteContents() + raises(DOMException); + nsIDOMDocumentFragment extractContents() + raises(DOMException); + nsIDOMDocumentFragment cloneContents() + raises(DOMException); + void insertNode(in nsIDOMNode newNode) + raises(DOMException, RangeException); + void surroundContents(in nsIDOMNode newParent) + raises(DOMException, RangeException); + nsIDOMRange cloneRange() + raises(DOMException); + DOMString toString() + raises(DOMException); + void detach() + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheet.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheet.idl new file mode 100644 index 00000000..da2adedb --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheet.idl @@ -0,0 +1,62 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMStyleSheet interface is a datatype for a style sheet in + * the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9080-15b3-11d2-932e-00805f8add32)] +interface nsIDOMStyleSheet : nsISupports +{ + readonly attribute DOMString type; + attribute boolean disabled; + readonly attribute nsIDOMNode ownerNode; + readonly attribute nsIDOMStyleSheet parentStyleSheet; + readonly attribute DOMString href; + readonly attribute DOMString title; + readonly attribute nsIDOMMediaList media; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheetList.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheetList.idl new file mode 100644 index 00000000..61228bfd --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMStyleSheetList.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMStyleSheetList interface is a datatype for a style sheet + * list in the Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Style + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9081-15b3-11d2-932e-00805f8add32)] +interface nsIDOMStyleSheetList : nsISupports +{ + readonly attribute unsigned long length; + nsIDOMStyleSheet item(in unsigned long index); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMText.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMText.idl new file mode 100644 index 00000000..0d4f6816 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMText.idl @@ -0,0 +1,57 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMCharacterData.idl" + +/** + * The nsIDOMText interface inherits from nsIDOMCharacterData and represents + * the textual content (termed character data in XML) of an Element or Attr. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Core/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf9082-15b3-11d2-932e-00805f8add32)] +interface nsIDOMText : nsIDOMCharacterData +{ + nsIDOMText splitText(in unsigned long offset) + raises(DOMException); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMUIEvent.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMUIEvent.idl new file mode 100644 index 00000000..f7ed4279 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMUIEvent.idl @@ -0,0 +1,62 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Tom Pixley (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMEvent.idl" + +/** + * The nsIDOMUIEvent interface is the datatype for all UI events in the + * Document Object Model. + * + * For more information on this interface please see + * http://www.w3.org/TR/DOM-Level-2-Events/ + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf90c3-15b3-11d2-932e-00805f8add32)] +interface nsIDOMUIEvent : nsIDOMEvent +{ + readonly attribute nsIDOMAbstractView view; + readonly attribute long detail; + void initUIEvent(in DOMString typeArg, + in boolean canBubbleArg, + in boolean cancelableArg, + in nsIDOMAbstractView viewArg, + in long detailArg); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow.idl new file mode 100644 index 00000000..1cbfd7e5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow.idl @@ -0,0 +1,155 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +interface nsISelection; + +/** + * The nsIDOMWindow interface is the primary interface for a DOM + * window object. It represents a single window object that may + * contain child windows if the document in the window contains a + * HTML frameset document or if the document contains iframe elements. + * + * This interface is not officially defined by any standard bodies, it + * originates from the defacto DOM Level 0 standard. + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf906b-15b3-11d2-932e-00805f8add32)] +interface nsIDOMWindow : nsISupports +{ + /** + * Accessor for the document in this window. + */ + readonly attribute nsIDOMDocument document; + + /** + * Accessor for this window's parent window, or the window itself if + * there is no parent, or if the parent is of different type + * (i.e. this does not cross chrome-content boundaries). + */ + readonly attribute nsIDOMWindow parent; + + /** + * Accessor for the root of this hierarchy of windows. This root may + * be the window itself if there is no parent, or if the parent is + * of different type (i.e. this does not cross chrome-content + * boundaries). + * + * This property is "replaceable" in JavaScript */ + readonly attribute nsIDOMWindow top; + + /** + * Accessor for the object that controls whether or not scrollbars + * are shown in this window. + * + * This attribute is "replaceable" in JavaScript + */ + readonly attribute nsIDOMBarProp scrollbars; + + /** + * Accessor for the child windows in this window. + */ + [noscript] readonly attribute nsIDOMWindowCollection frames; + + /** + * Set/Get the name of this window. + * + * This attribute is "replaceable" in JavaScript + */ + attribute DOMString name; + /** + * Set/Get the document scale factor as a multiplier on the default + * size. When setting this attribute, a NS_ERROR_NOT_IMPLEMENTED + * error may be returned by implementations not supporting + * zoom. Implementations not supporting zoom should return 1.0 all + * the time for the Get operation. 1.0 is equals normal size, + * i.e. no zoom. + */ + [noscript] attribute float textZoom; + + /** + * Accessor for the current x scroll position in this window in + * pixels. + * + * This attribute is "replaceable" in JavaScript + */ + readonly attribute long scrollX; + + /** + * Accessor for the current y scroll position in this window in + * pixels. + * + * This attribute is "replaceable" in JavaScript + */ + readonly attribute long scrollY; + + /** + * Method for scrolling this window to an absolute pixel offset. + */ + void scrollTo(in long xScroll, in long yScroll); + + /** + * Method for scrolling this window to a pixel offset relative to + * the current scroll position. + */ + void scrollBy(in long xScrollDif, in long yScrollDif); + + /** + * Method for accessing this window's selection object. + */ + nsISelection getSelection(); + + /** + * Method for scrolling this window by a number of lines. + */ + void scrollByLines(in long numLines); + + /** + * Method for scrolling this window by a number of pages. + */ + void scrollByPages(in long numPages); + + /** + * Method for sizing this window to the content in the window. + */ + void sizeToContent(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow2.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow2.idl new file mode 100644 index 00000000..6824bab0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindow2.idl @@ -0,0 +1,49 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Marco Pesenti Gritti + * Portions created by the Initial Developer are Copyright (C) 2004 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIDOMWindow.idl" + +[scriptable, uuid(65455132-b96a-40ec-adea-52fa22b1028c)] +interface nsIDOMWindow2 : nsIDOMWindow +{ + /** + * Get the window root for this window. This is useful for hooking + * up event listeners to this window and every other window nested + * in the window root. + */ + [noscript] readonly attribute nsIDOMEventTarget windowRoot; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowCollection.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowCollection.idl new file mode 100644 index 00000000..e12b26c7 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowCollection.idl @@ -0,0 +1,66 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Vidur Apparao (original author) + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "domstubs.idl" + +/** + * The nsIDOMWindowCollection interface is an interface for a + * collection of DOM window objects. + * + * @status FROZEN + */ + +[scriptable, uuid(a6cf906f-15b3-11d2-932e-00805f8add32)] +interface nsIDOMWindowCollection : nsISupports +{ + /** + * Accessor for the number of windows in this collection. + */ + readonly attribute unsigned long length; + + /** + * Method for accessing an item in this collection by index. + */ + nsIDOMWindow item(in unsigned long index); + + /** + * Method for accessing an item in this collection by window name. + */ + nsIDOMWindow namedItem(in DOMString name); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowUtils.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowUtils.idl new file mode 100644 index 00000000..41f6178d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDOMWindowUtils.idl @@ -0,0 +1,74 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Mozilla.org + * Portions created by the Initial Developer are Copyright (C) 2004 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * nsIDOMWindowUtils is intended for giving privileged script access to + * additional properties and methods of nsIDOMWindow unavailable to + * content script. Access this interface by calling getInterface on a DOMWindow. + */ + +[scriptable, uuid(8a157a4f-a81e-489f-baf2-bc8970d60472)] +interface nsIDOMWindowUtils : nsISupports { + + /** + * Image animation mode of the window. When this attribute's value + * is changed, the implementation should set all images in the window + * to the given value. That is, when set to kDontAnimMode, all images + * will stop animating. The attribute's value must be one of the + * animationMode values from imgIContainer. + * @note Images may individually override the window's setting after + * the window's mode is set. Therefore images given different modes + * since the last setting of the window's mode may behave + * out of line with the window's overall mode. + * @note The attribute's value is the window's overall mode. It may + * for example continue to report kDontAnimMode after all images + * have subsequently been individually animated. + * @note Only images immediately in this window are affected; + * this is not recursive to subwindows. + * @see imgIContainer + */ + attribute unsigned short imageAnimationMode; + + /** + * Function to get metadata associated with the window's current document + * @param aName the name of the metadata. This should be all lowercase. + * @return the value of the metadata, or the empty string if it's not set + */ + AString getDocumentMetadata(in AString aName); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDebug.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDebug.idl new file mode 100644 index 00000000..73b3912a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDebug.idl @@ -0,0 +1,67 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is XPCOM + * + * The Initial Developer of the Original Code is Doug Turner + * + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + + +#include "nsISupports.idl" + +/** + * nsIDebug is an interface between XPCOM Glue and XPCOM. Users should access + * the nsIDebug interface through the static class nsDebug. + * @see nsDebug.h + * + * @status UNDER_REVIEW + * + */ + +[scriptable, uuid(3bf0c3d7-3bd9-4cf2-a971-33572c503e1e)] +interface nsIDebug : nsISupports +{ + void assertion(in string aStr, + in string aExpr, + in string aFile, + in long aLine); + + void warning(in string aStr, + in string aFile, + in long aLine); + + void break(in string aFile, + in long aLine); + + void abort(in string aFile, + in long aLine); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIDirectoryService.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDirectoryService.idl new file mode 100644 index 00000000..c18a7d08 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIDirectoryService.idl @@ -0,0 +1,139 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsIFile.idl" + +/** + * nsIDirectoryServiceProvider + * + * Used by Directory Service to get file locations. + * + * @status FROZEN + */ + +[scriptable, uuid(bbf8cab0-d43a-11d3-8cc2-00609792278c)] +interface nsIDirectoryServiceProvider: nsISupports +{ + /** + * getFile + * + * Directory Service calls this when it gets the first request for + * a prop or on every request if the prop is not persistent. + * + * @param prop The symbolic name of the file. + * @param persistent TRUE - The returned file will be cached by Directory + * Service. Subsequent requests for this prop will + * bypass the provider and use the cache. + * FALSE - The provider will be asked for this prop + * each time it is requested. + * + * @return The file represented by the property. + * + */ + nsIFile getFile(in string prop, out PRBool persistent); +}; + +/** + * nsIDirectoryServiceProvider2 + * + * An extension of nsIDirectoryServiceProvider which allows + * multiple files to be returned for the given key. + * + * @status FROZEN + */ + +[scriptable, uuid(2f977d4b-5485-11d4-87e2-0010a4e75ef2)] +interface nsIDirectoryServiceProvider2: nsIDirectoryServiceProvider +{ + /** + * getFiles + * + * Directory Service calls this when it gets a request for + * a prop and the requested type is nsISimpleEnumerator. + * + * @param prop The symbolic name of the file list. + * + * @return An enumerator for a list of file locations. + * The elements in the enumeration are nsIFile + * @returnCode NS_SUCCESS_AGGREGATE_RESULT if this result should be + * aggregated with other "lower" providers. + */ + nsISimpleEnumerator getFiles(in string prop); +}; + +/** + * nsIDirectoryService + * + * @status FROZEN + */ + +[scriptable, uuid(57a66a60-d43a-11d3-8cc2-00609792278c)] +interface nsIDirectoryService: nsISupports +{ + /** + * init + * + * Must be called. Used internally by XPCOM initialization. + * + */ + void init(); + + /** + * registerProvider + * + * Register a provider with the service. + * + * @param prov The service will keep a strong reference + * to this object. It will be released when + * the service is released. + * + */ + void registerProvider(in nsIDirectoryServiceProvider prov); + + /** + * unregisterProvider + * + * Unregister a provider with the service. + * + * @param prov + * + */ + void unregisterProvider(in nsIDirectoryServiceProvider prov); +}; + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIEmbeddingSiteWindow.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIEmbeddingSiteWindow.idl new file mode 100644 index 00000000..25bc7e54 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIEmbeddingSiteWindow.idl @@ -0,0 +1,155 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Adam Lock + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/* THIS IS A PUBLIC EMBEDDING API */ + +/** + * The nsIEmbeddingSiteWindow is implemented by the embedder to provide + * Gecko with the means to call up to the host to resize the window, + * hide or show it and set/get its title. + * + * @status FROZEN + */ +[scriptable, uuid(3E5432CD-9568-4bd1-8CBE-D50ABA110743)] +interface nsIEmbeddingSiteWindow : nsISupports +{ + /** + * Flag indicates that position of the top left corner of the outer area + * is required/specified. + * + * @see setDimensions + * @see getDimensions + */ + const unsigned long DIM_FLAGS_POSITION = 1; + + /** + * Flag indicates that the size of the inner area is required/specified. + * + * @note The inner and outer flags are mutually exclusive and it is + * invalid to combine them. + * + * @see setDimensions + * @see getDimensions + * @see DIM_FLAGS_SIZE_OUTER + */ + const unsigned long DIM_FLAGS_SIZE_INNER = 2; + + /** + * Flag indicates that the size of the outer area is required/specified. + * + * @see setDimensions + * @see getDimensions + * @see DIM_FLAGS_SIZE_INNER + */ + const unsigned long DIM_FLAGS_SIZE_OUTER = 4; + + /** + * Sets the dimensions for the window; the position & size. The + * flags to indicate what the caller wants to set and whether the size + * refers to the inner or outer area. The inner area refers to just + * the embedded area, wheras the outer area can also include any + * surrounding chrome, window frame, title bar, and so on. + * + * @param flags Combination of position, inner and outer size flags. + * @param x Left hand corner of the outer area. + * @param y Top corner of the outer area. + * @param cx Width of the inner or outer area. + * @param cy Height of the inner or outer area. + * + * @return NS_OK if operation was performed correctly; + * NS_ERROR_UNEXPECTED if window could not be + * destroyed; + * NS_ERROR_INVALID_ARG for bad flag combination + * or illegal dimensions. + * + * @see getDimensions + * @see DIM_FLAGS_POSITION + * @see DIM_FLAGS_SIZE_OUTER + * @see DIM_FLAGS_SIZE_INNER + */ + void setDimensions(in unsigned long flags, in long x, in long y, in long cx, in long cy); + + /** + * Gets the dimensions of the window. The caller may pass + * nsnull for any value it is uninterested in receiving. + * + * @param flags Combination of position, inner and outer size flag . + * @param x Left hand corner of the outer area; or nsnull. + * @param y Top corner of the outer area; or nsnull. + * @param cx Width of the inner or outer area; or nsnull. + * @param cy Height of the inner or outer area; or nsnull. + * + * @see setDimensions + * @see DIM_FLAGS_POSITION + * @see DIM_FLAGS_SIZE_OUTER + * @see DIM_FLAGS_SIZE_INNER + */ + void getDimensions(in unsigned long flags, out long x, out long y, out long cx, out long cy); + + /** + * Give the window focus. + */ + void setFocus(); + + /** + * Visibility of the window. + */ + attribute boolean visibility; + + /** + * Title of the window. + */ + attribute wstring title; + + /** + * Native window for the site's window. The implementor should copy the + * native window object into the address supplied by the caller. The + * type of the native window that the address refers to is platform + * and OS specific as follows: + * + *
    + *
  • On Win32 it is an HWND.
  • + *
  • On MacOS this is a WindowPtr.
  • + *
  • On GTK this is a GtkWidget*.
  • + *
+ */ + [noscript] readonly attribute voidPtr siteWindow; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIFactory.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFactory.idl new file mode 100644 index 00000000..bda0b43a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFactory.idl @@ -0,0 +1,79 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * A class factory allows the creation of nsISupports derived + * components without specifying a concrete base class. + * + * @status FROZEN + */ + +[scriptable, object, uuid(00000001-0000-0000-c000-000000000046)] +interface nsIFactory : nsISupports { + /** + * Creates an instance of a component. + * + * @param aOuter Pointer to a component that wishes to be aggregated + * in the resulting instance. This will be nsnull if no + * aggregation is requested. + * @param iid The IID of the interface being requested in + * the component which is being currently created. + * @param result [out] Pointer to the newly created instance, if successful. + * @return NS_OK - Component successfully created and the interface + * being requested was successfully returned in result. + * NS_NOINTERFACE - Interface not accessible. + * NS_ERROR_NO_AGGREGATION - if an 'outer' object is supplied, but the + * component is not aggregatable. + * NS_ERROR* - Method failure. + */ + void createInstance(in nsISupports aOuter, in nsIIDRef iid, + [retval, iid_is(iid)] out nsQIResult result); + + /** + * LockFactory provides the client a way to keep the component + * in memory until it is finished with it. The client can call + * LockFactory(PR_TRUE) to lock the factory and LockFactory(PR_FALSE) + * to release the factory. + * + * @param lock - Must be PR_TRUE or PR_FALSE + * @return NS_OK - If the lock operation was successful. + * NS_ERROR* - Method failure. + */ + void lockFactory(in PRBool lock); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIFile.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFile.idl new file mode 100644 index 00000000..7057253b --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFile.idl @@ -0,0 +1,343 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Doug Turner + * Christopher Blizzard + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsISimpleEnumerator; + +/** + * This is the only correct cross-platform way to specify a file. + * Strings are not such a way. If you grew up on windows or unix, you + * may think they are. Welcome to reality. + * + * All methods with string parameters have two forms. The preferred + * form operates on UCS-2 encoded characters strings. An alternate + * form operates on characters strings encoded in the "native" charset. + * + * A string containing characters encoded in the native charset cannot + * be safely passed to javascript via xpconnect. Therefore, the "native + * methods" are not scriptable. + * + * @status FROZEN + */ +[scriptable, uuid(c8c0a080-0868-11d3-915f-d9d889d48e3c)] +interface nsIFile : nsISupports +{ + /** + * Create Types + * + * NORMAL_FILE_TYPE - A normal file. + * DIRECTORY_TYPE - A directory/folder. + */ + const unsigned long NORMAL_FILE_TYPE = 0; + const unsigned long DIRECTORY_TYPE = 1; + + /** + * append[Native] + * + * This function is used for constructing a descendent of the + * current nsIFile. + * + * @param node + * A string which is intended to be a child node of the nsIFile. + * For the |appendNative| method, the node must be in the native + * filesystem charset. + */ + void append(in AString node); + [noscript] void appendNative(in ACString node); + + /** + * Normalize the pathName (e.g. removing .. and . components on Unix). + */ + void normalize(); + + /** + * create + * + * This function will create a new file or directory in the + * file system. Any nodes that have not been created or + * resolved, will be. If the file or directory already + * exists create() will return NS_ERROR_FILE_ALREADY_EXISTS. + * + * @param type + * This specifies the type of file system object + * to be made. The only two types at this time + * are file and directory which are defined above. + * If the type is unrecongnized, we will return an + * error (NS_ERROR_FILE_UNKNOWN_TYPE). + * + * @param permissions + * The unix style octal permissions. This may + * be ignored on systems that do not need to do + * permissions. + */ + void create(in unsigned long type, in unsigned long permissions); + + /** + * Accessor to the leaf name of the file itself. + * For the |nativeLeafName| method, the nativeLeafName must + * be in the native filesystem charset. + */ + attribute AString leafName; + [noscript] attribute ACString nativeLeafName; + + /** + * copyTo[Native] + * + * This will copy this file to the specified newParentDir. + * If a newName is specified, the file will be renamed. + * If 'this' is not created we will return an error + * (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST). + * + * copyTo may fail if the file already exists in the destination + * directory. + * + * copyTo will NOT resolve aliases/shortcuts during the copy. + * + * @param newParentDir + * This param is the destination directory. If the + * newParentDir is null, copyTo() will use the parent + * directory of this file. If the newParentDir is not + * empty and is not a directory, an error will be + * returned (NS_ERROR_FILE_DESTINATION_NOT_DIR). For the + * |CopyToNative| method, the newName must be in the + * native filesystem charset. + * + * @param newName + * This param allows you to specify a new name for + * the file to be copied. This param may be empty, in + * which case the current leaf name will be used. + */ + void copyTo(in nsIFile newParentDir, in AString newName); + [noscript] void CopyToNative(in nsIFile newParentDir, in ACString newName); + + /** + * copyToFollowingLinks[Native] + * + * This function is identical to copyTo with the exception that, + * as the name implies, it follows symbolic links. The XP_UNIX + * implementation always follow symbolic links when copying. For + * the |CopyToFollowingLinks| method, the newName must be in the + * native filesystem charset. + */ + void copyToFollowingLinks(in nsIFile newParentDir, in AString newName); + [noscript] void copyToFollowingLinksNative(in nsIFile newParentDir, in ACString newName); + + /** + * moveTo[Native] + * + * A method to move this file or directory to newParentDir. + * If a newName is specified, the file or directory will be renamed. + * If 'this' is not created we will return an error + * (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST). + * If 'this' is a file, and the destination file already exists, moveTo + * will replace the old file. + * + * moveTo will NOT resolve aliases/shortcuts during the copy. + * moveTo will do the right thing and allow copies across volumes. + * moveTo will return an error (NS_ERROR_FILE_DIR_NOT_EMPTY) if 'this' is + * a directory and the destination directory is not empty. + * moveTo will return an error (NS_ERROR_FILE_ACCESS_DENIED) if 'this' is + * a directory and the destination directory is not writable. + * + * @param newParentDir + * This param is the destination directory. If the + * newParentDir is empty, moveTo() will rename the file + * within its current directory. If the newParentDir is + * not empty and does not name a directory, an error will + * be returned (NS_ERROR_FILE_DESTINATION_NOT_DIR). For + * the |moveToNative| method, the newName must be in the + * native filesystem charset. + * + * @param newName + * This param allows you to specify a new name for + * the file to be moved. This param may be empty, in + * which case the current leaf name will be used. + */ + void moveTo(in nsIFile newParentDir, in AString newName); + [noscript] void moveToNative(in nsIFile newParentDir, in ACString newName); + + /** + * This will try to delete this file. The 'recursive' flag + * must be PR_TRUE to delete directories which are not empty. + * + * This will not resolve any symlinks. + */ + void remove(in boolean recursive); + + /** + * Attributes of nsIFile. + */ + + attribute unsigned long permissions; + attribute unsigned long permissionsOfLink; + + /** + * File Times are to be in milliseconds from + * midnight (00:00:00), January 1, 1970 Greenwich Mean + * Time (GMT). + */ + attribute PRInt64 lastModifiedTime; + attribute PRInt64 lastModifiedTimeOfLink; + + /** + * WARNING! On the Mac, getting/setting the file size with nsIFile + * only deals with the size of the data fork. If you need to + * know the size of the combined data and resource forks use the + * GetFileSizeWithResFork() method defined on nsILocalFileMac. + */ + attribute PRInt64 fileSize; + readonly attribute PRInt64 fileSizeOfLink; + + /** + * target & path + * + * Accessor to the string path. The native version of these + * strings are not guaranteed to be a usable path to pass to + * NSPR or the C stdlib. There are problems that affect + * platforms on which a path does not fully specify a file + * because two volumes can have the same name (e.g., XP_MAC). + * This is solved by holding "private", native data in the + * nsIFile implementation. This native data is lost when + * you convert to a string. + * + * DO NOT PASS TO USE WITH NSPR OR STDLIB! + * + * target + * Find out what the symlink points at. Will give error + * (NS_ERROR_FILE_INVALID_PATH) if not a symlink. + * + * path + * Find out what the nsIFile points at. + * + * Note that the ACString attributes are returned in the + * native filesystem charset. + * + */ + readonly attribute AString target; + [noscript] readonly attribute ACString nativeTarget; + readonly attribute AString path; + [noscript] readonly attribute ACString nativePath; + + boolean exists(); + boolean isWritable(); + boolean isReadable(); + boolean isExecutable(); + boolean isHidden(); + boolean isDirectory(); + boolean isFile(); + boolean isSymlink(); + /** + * Not a regular file, not a directory, not a symlink. + */ + boolean isSpecial(); + + /** + * createUnique + * + * This function will create a new file or directory in the + * file system. Any nodes that have not been created or + * resolved, will be. If this file already exists, we try + * variations on the leaf name "suggestedName" until we find + * one that did not already exist. + * + * If the search for nonexistent files takes too long + * (thousands of the variants already exist), we give up and + * return NS_ERROR_FILE_TOO_BIG. + * + * @param type + * This specifies the type of file system object + * to be made. The only two types at this time + * are file and directory which are defined above. + * If the type is unrecongnized, we will return an + * error (NS_ERROR_FILE_UNKNOWN_TYPE). + * + * @param permissions + * The unix style octal permissions. This may + * be ignored on systems that do not need to do + * permissions. + */ + void createUnique(in unsigned long type, in unsigned long permissions); + + /** + * clone() + * + * This function will allocate and initialize a nsIFile object to the + * exact location of the |this| nsIFile. + * + * @param file + * A nsIFile which this object will be initialize + * with. + * + */ + nsIFile clone(); + + /** + * Will determine if the inFile equals this. + */ + boolean equals(in nsIFile inFile); + + /** + * Will determine if inFile is a descendant of this file + * If |recur| is true, look in subdirectories too + */ + boolean contains(in nsIFile inFile, in boolean recur); + + /** + * Parent will be null when this is at the top of the volume. + */ + readonly attribute nsIFile parent; + + /** + * Returns an enumeration of the elements in a directory. Each + * element in the enumeration is an nsIFile. + * + * @return NS_ERROR_FILE_NOT_DIRECTORY if the current nsIFile does + * not specify a directory. + */ + readonly attribute nsISimpleEnumerator directoryEntries; +}; + +%{C++ +#ifdef MOZILLA_INTERNAL_API +#include "nsDirectoryServiceUtils.h" +#endif +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIFileURL.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFileURL.idl new file mode 100644 index 00000000..1cf2774b --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIFileURL.idl @@ -0,0 +1,64 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Darin Fisher (extracted from nsIFileChannel.idl) + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIURL.idl" + +interface nsIFile; + +/** + * nsIFileURL provides access to the underlying nsIFile object corresponding to + * an URL. The URL scheme need not be file:, since other local protocols may + * map URLs to files (e.g., resource:). + * + * @status FROZEN + */ +[scriptable, uuid(d26b2e2e-1dd1-11b2-88f3-8545a7ba7949)] +interface nsIFileURL : nsIURL +{ + /** + * Get/Set nsIFile corresponding to this URL. + * + * - Getter returns a reference to an immutable object. Callers must clone + * before attempting to modify the returned nsIFile object. NOTE: this + * constraint might not be enforced at runtime, so beware!! + * + * - Setter clones the nsIFile object (allowing the caller to safely modify + * the nsIFile object after setting it on this interface). + */ + attribute nsIFile file; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIGlobalHistory.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIGlobalHistory.idl new file mode 100644 index 00000000..02f1eb8f --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIGlobalHistory.idl @@ -0,0 +1,75 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * + * The interface to global history. + * + * @status FROZEN & DEPRECATED. This interface is still accepted, but new + * implementations should use nsIGlobalHistory2. + * @version 1.0 + */ + +#include "nsISupports.idl" + +[scriptable, uuid(9491C383-E3C4-11d2-BDBE-0050040A9B44)] +interface nsIGlobalHistory : nsISupports +{ + /** + * addPage + * Add a page to the history + * + * @param aURL the url to the page + */ + + void addPage(in string aURL); + + /** + * isVisited + * Checks to see if the given page is in history + * + * @return true if a page has been passed into addPage(). + * @param aURL the url to the page + */ + boolean isVisited(in string aURL); +}; + +%{ C++ +#define NS_GLOBALHISTORY_CONTRACTID \ + "@mozilla.org/browser/global-history;1" +%} + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIHistoryEntry.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHistoryEntry.idl new file mode 100644 index 00000000..41f6c5e0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHistoryEntry.idl @@ -0,0 +1,93 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Radha Kulkarni + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * An interface to individual entries in session history. Each + * document or frame will have a nsIHistoryEntry associated with + * it. nsIHistoryEntry provides access to information like URI, + * title and frame traversal status for that document. + * This interface is accessible from javascript. + * + * @status FROZEN + */ +#include "nsISupports.idl" + +interface nsIURI; + +[scriptable, uuid(A41661D4-1417-11D5-9882-00C04FA02F40)] +interface nsIHistoryEntry : nsISupports +{ + + /** + * A readonly property that returns the URI + * of the current entry. The object returned is + * of type nsIURI + */ + readonly attribute nsIURI URI; + + /** + * A readonly property that returns the title + * of the current entry. The object returned + * is a encoded string + */ + readonly attribute wstring title; + + /** + * A readonly property that returns a boolean + * flag which indicates if the entry was created as a + * result of a subframe navigation. This flag will be + * 'false' when a frameset page is visited for + * the first time. This flag will be 'true' for all + * history entries created as a result of a subframe + * navigation. + */ + readonly attribute boolean isSubFrame; + +}; + + +%{ C++ +// {A41661D5-1417-11D5-9882-00C04FA02F40} +#define NS_HISTORYENTRY_CID \ +{0xa41661d5, 0x1417, 0x11d5, {0x98, 0x82, 0x0, 0xc0, 0x4f, 0xa0, 0x2f, 0x40}} + +#define NS_HISTORYENTRY_CONTRACTID \ + "@mozilla.org/browser/history-entry;1" + +%} + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpChannel.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpChannel.idl new file mode 100644 index 00000000..b96dbee7 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpChannel.idl @@ -0,0 +1,296 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla. + * + * The Initial Developer of the Original Code is + * Netscape Communications. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Gagan Saksena (original author) + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIChannel.idl" + +interface nsIHttpHeaderVisitor; + +/** + * nsIHttpChannel + * + * This interface allows for the modification of HTTP request parameters and + * the inspection of the resulting HTTP response status and headers when they + * become available. + * + * @status FROZEN + */ +[scriptable, uuid(9277fe09-f0cc-4cd9-bbce-581dd94b0260)] +interface nsIHttpChannel : nsIChannel +{ + /************************************************************************** + * REQUEST CONFIGURATION + * + * Modifying request parameters after asyncOpen has been called is an error. + */ + + /** + * Set/get the HTTP request method (default is "GET"). Setter is case + * insensitive; getter returns an uppercase string. + * + * This attribute may only be set before the channel is opened. + * + * NOTE: The data for a "POST" or "PUT" request can be configured via + * nsIUploadChannel; however, after setting the upload data, it may be + * necessary to set the request method explicitly. The documentation + * for nsIUploadChannel has further details. + * + * @throws NS_ERROR_IN_PROGRESS if set after the channel has been opened. + */ + attribute ACString requestMethod; + + /** + * Get/set the HTTP referrer URI. This is the address (URI) of the + * resource from which this channel's URI was obtained (see RFC2616 section + * 14.36). + * + * This attribute may only be set before the channel is opened. + * + * NOTE: The channel may silently refuse to set the Referer header if the + * URI does not pass certain security checks (e.g., a "https://" URL will + * never be sent as the referrer for a plaintext HTTP request). The + * implementation is not required to throw an exception when the referrer + * URI is rejected. + * + * @throws NS_ERROR_IN_PROGRESS if set after the channel has been opened. + */ + attribute nsIURI referrer; + + /** + * Get the value of a particular request header. + * + * @param aHeader + * The case-insensitive name of the request header to query (e.g., + * "Cache-Control"). + * + * @return the value of the request header. + * @throws NS_ERROR_NOT_AVAILABLE if the header is not set. + */ + ACString getRequestHeader(in ACString aHeader); + + /** + * Set the value of a particular request header. + * + * This method allows, for example, the cookies module to add "Cookie" + * headers to the outgoing HTTP request. + * + * This method may only be called before the channel is opened. + * + * @param aHeader + * The case-insensitive name of the request header to set (e.g., + * "Cookie"). + * @param aValue + * The request header value to set (e.g., "X=1"). + * @param aMerge + * If true, the new header value will be merged with any existing + * values for the specified header. This flag is ignored if the + * specified header does not support merging (e.g., the "Content- + * Type" header can only have one value). The list of headers for + * which this flag is ignored is an implementation detail. If this + * flag is false, then the header value will be replaced with the + * contents of |aValue|. + * + * If aValue is empty and aMerge is false, the header will be cleared. + * + * @throws NS_ERROR_IN_PROGRESS if called after the channel has been + * opened. + */ + void setRequestHeader(in ACString aHeader, + in ACString aValue, + in boolean aMerge); + + /** + * Call this method to visit all request headers. Calling setRequestHeader + * while visiting request headers has undefined behavior. Don't do it! + * + * @param aVisitor + * the header visitor instance. + */ + void visitRequestHeaders(in nsIHttpHeaderVisitor aVisitor); + + /** + * This attribute is a hint to the channel to indicate whether or not + * the underlying HTTP transaction should be allowed to be pipelined + * with other transactions. This should be set to FALSE, for example, + * if the application knows that the corresponding document is likely + * to be very large. + * + * This attribute is true by default, though other factors may prevent + * pipelining. + * + * This attribute may only be set before the channel is opened. + * + * @throws NS_ERROR_FAILURE if set after the channel has been opened. + */ + attribute boolean allowPipelining; + + /** + * This attribute specifies the number of redirects this channel is allowed + * to make. If zero, the channel will fail to redirect and will generate + * a NS_ERROR_REDIRECT_LOOP failure status. + * + * NOTE: An HTTP redirect results in a new channel being created. If the + * new channel supports nsIHttpChannel, then it will be assigned a value + * to its |redirectionLimit| attribute one less than the value of the + * redirected channel's |redirectionLimit| attribute. The initial value + * for this attribute may be a configurable preference (depending on the + * implementation). + */ + attribute unsigned long redirectionLimit; + + + /************************************************************************** + * RESPONSE INFO + * + * Accessing response info before the onStartRequest event is an error. + */ + + /** + * Get the HTTP response code (e.g., 200). + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + readonly attribute unsigned long responseStatus; + + /** + * Get the HTTP response status text (e.g., "OK"). + * + * NOTE: This returns the raw (possibly 8-bit) text from the server. There + * are no assumptions made about the charset of the returned text. You + * have been warned! + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + readonly attribute ACString responseStatusText; + + /** + * Returns true if the HTTP response code indicates success. The value of + * nsIRequest::status will be NS_OK even when processing a 404 response + * because a 404 response may include a message body that (in some cases) + * should be shown to the user. + * + * Use this attribute to distinguish server error pages from normal pages, + * instead of comparing the response status manually against the set of + * valid response codes, if that is required by your application. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + readonly attribute boolean requestSucceeded; + + /** + * Get the value of a particular response header. + * + * @param aHeader + * The case-insensitive name of the response header to query (e.g., + * "Set-Cookie"). + * + * @return the value of the response header. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest) or if the header is + * not set in the response. + */ + ACString getResponseHeader(in ACString header); + + /** + * Set the value of a particular response header. + * + * This method allows, for example, the HTML content sink to inform the HTTP + * channel about HTTP-EQUIV headers found in HTML tags. + * + * @param aHeader + * The case-insensitive name of the response header to set (e.g., + * "Cache-control"). + * @param aValue + * The response header value to set (e.g., "no-cache"). + * @param aMerge + * If true, the new header value will be merged with any existing + * values for the specified header. This flag is ignored if the + * specified header does not support merging (e.g., the "Content- + * Type" header can only have one value). The list of headers for + * which this flag is ignored is an implementation detail. If this + * flag is false, then the header value will be replaced with the + * contents of |aValue|. + * + * If aValue is empty and aMerge is false, the header will be cleared. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + * @throws NS_ERROR_ILLEGAL_VALUE if changing the value of this response + * header is not allowed. + */ + void setResponseHeader(in ACString header, + in ACString value, + in boolean merge); + + /** + * Call this method to visit all response headers. Calling + * setResponseHeader while visiting response headers has undefined + * behavior. Don't do it! + * + * @param aVisitor + * the header visitor instance. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + void visitResponseHeaders(in nsIHttpHeaderVisitor aVisitor); + + /** + * Returns true if the server sent a "Cache-Control: no-store" response + * header. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + boolean isNoStoreResponse(); + + /** + * Returns true if the server sent the equivalent of a "Cache-control: + * no-cache" response header. Equivalent response headers include: + * "Pragma: no-cache", "Expires: 0", and "Expires" with a date value + * in the past relative to the value of the "Date" header. + * + * @throws NS_ERROR_NOT_AVAILABLE if called before the response + * has been received (before onStartRequest). + */ + boolean isNoCacheResponse(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpHeaderVisitor.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpHeaderVisitor.idl new file mode 100644 index 00000000..1e1b56e3 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIHttpHeaderVisitor.idl @@ -0,0 +1,61 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla. + * + * The Initial Developer of the Original Code is + * Netscape Communications. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Darin Fisher (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * Implement this interface to visit http headers. + * + * @status FROZEN + */ +[scriptable, uuid(0cf40717-d7c1-4a94-8c1e-d6c9734101bb)] +interface nsIHttpHeaderVisitor : nsISupports +{ + /** + * Called by the nsIHttpChannel implementation when visiting request and + * response headers. + * + * @param aHeader + * the header being visited. + * @param aValue + * the header value (possibly a comma delimited list). + * + * @throw any exception to terminate enumeration + */ + void visitHeader(in ACString aHeader, in ACString aValue); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIIOService.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIIOService.idl new file mode 100644 index 00000000..8b9298da --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIIOService.idl @@ -0,0 +1,146 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIProtocolHandler; +interface nsIChannel; +interface nsIURI; +interface nsIFile; + +/** + * nsIIOService provides a set of network utility functions. This interface + * duplicates many of the nsIProtocolHandler methods in a protocol handler + * independent way (e.g., NewURI inspects the scheme in order to delegate + * creation of the new URI to the appropriate protocol handler). nsIIOService + * also provides a set of URL parsing utility functions. These are provided + * as a convenience to the programmer and in some cases to improve performance + * by eliminating intermediate data structures and interfaces. + * + * @status FROZEN + */ +[scriptable, uuid(bddeda3f-9020-4d12-8c70-984ee9f7935e)] +interface nsIIOService : nsISupports +{ + /** + * Returns a protocol handler for a given URI scheme. + * + * @param aScheme the URI scheme + * @return reference to corresponding nsIProtocolHandler + */ + nsIProtocolHandler getProtocolHandler(in string aScheme); + + /** + * Returns the protocol flags for a given scheme. + * + * @param aScheme the URI scheme + * @return value of corresponding nsIProtocolHandler::protocolFlags + */ + unsigned long getProtocolFlags(in string aScheme); + + /** + * This method constructs a new URI by determining the scheme of the + * URI spec, and then delegating the construction of the URI to the + * protocol handler for that scheme. QueryInterface can be used on + * the resulting URI object to obtain a more specific type of URI. + * + * @see nsIProtocolHandler::newURI + */ + nsIURI newURI(in AUTF8String aSpec, + in string aOriginCharset, + in nsIURI aBaseURI); + + /** + * This method constructs a new URI from a nsIFile. + * + * @param aFile specifies the file path + * @return reference to a new nsIURI object + */ + nsIURI newFileURI(in nsIFile aFile); + + /** + * Creates a channel for a given URI. + * + * @param aURI nsIURI from which to make a channel + * @return reference to the new nsIChannel object + */ + nsIChannel newChannelFromURI(in nsIURI aURI); + + /** + * Equivalent to newChannelFromURI(newURI(...)) + */ + nsIChannel newChannel(in AUTF8String aSpec, + in string aOriginCharset, + in nsIURI aBaseURI); + + /** + * Returns true if networking is in "offline" mode. When in offline mode, + * attempts to access the network will fail (although this is not + * necessarily corrolated with whether there is actually a network + * available -- that's hard to detect without causing the dialer to + * come up). + */ + attribute boolean offline; + + /** + * Checks if a port number is banned. This involves consulting a list of + * unsafe ports, corresponding to network services that may be easily + * exploitable. If the given port is considered unsafe, then the protocol + * handler (corresponding to aScheme) will be asked whether it wishes to + * override the IO service's decision to block the port. This gives the + * protocol handler ultimate control over its own security policy while + * ensuring reasonable, default protection. + * + * @see nsIProtocolHandler::allowPort + */ + boolean allowPort(in long aPort, in string aScheme); + + /** + * Utility to extract the scheme from a URL string, consistently and + * according to spec (see RFC 2396). + * + * NOTE: Most URL parsing is done via nsIURI, and in fact the scheme + * can also be extracted from a URL string via nsIURI. This method + * is provided purely as an optimization. + * + * @param aSpec the URL string to parse + * @return URL scheme + * + * @throws NS_ERROR_MALFORMED_URI if URL string is not of the right form. + */ + ACString extractScheme(in AUTF8String urlString); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIInputStream.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIInputStream.idl new file mode 100644 index 00000000..827f6363 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIInputStream.idl @@ -0,0 +1,139 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Warren Harris + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInputStream; + +%{C++ +/** + * The signature of the writer function passed to ReadSegments. This + * is the "consumer" of data that gets read from the stream's buffer. + * + * @param aInStream stream being read + * @param aClosure opaque parameter passed to ReadSegments + * @param aFromSegment pointer to memory owned by the input stream + * @param aToOffset amount already read (since ReadSegments was called) + * @param aCount length of fromSegment + * @param aWriteCount number of bytes read + * + * Implementers should return the following: + * + * @return NS_OK and (*aWriteCount > 0) if consumed some data + * @return if not interested in consuming any data + * + * Errors are never passed to the caller of ReadSegments. + * + * NOTE: returning NS_OK and (*aWriteCount = 0) has undefined behavior. + * + * @status FROZEN + */ +typedef NS_CALLBACK(nsWriteSegmentFun)(nsIInputStream *aInStream, + void *aClosure, + const char *aFromSegment, + PRUint32 aToOffset, + PRUint32 aCount, + PRUint32 *aWriteCount); +%} + +native nsWriteSegmentFun(nsWriteSegmentFun); + +/** + * nsIInputStream + * + * @status FROZEN + */ +[scriptable, uuid(fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a)] +interface nsIInputStream : nsISupports +{ + /** + * Close the stream. + */ + void close(); + + /** + * @return number of bytes currently available in the stream + */ + unsigned long available(); + + /** + * Read data from the stream. + * + * @param aBuf the buffer into which the data is to be read + * @param aCount the maximum number of bytes to be read + * + * @return number of bytes read (may be less than aCount). + * @return 0 if reached end of file + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if reading from the input stream would + * block the calling thread (non-blocking mode only) + * @throws on failure + */ + [noscript] unsigned long read(in charPtr aBuf, in unsigned long aCount); + + /** + * Low-level read method that has access to the stream's underlying buffer. + * The writer function may be called multiple times for segmented buffers. + * ReadSegments is expected to keep calling the writer until either there is + * nothing left to read or the writer returns an error. ReadSegments should + * not call the writer with zero bytes to consume. + * + * @param aWriter the "consumer" of the data to be read + * @param aClosure opaque parameter passed to writer + * @param aCount the maximum number of bytes to be read + * + * @return number of bytes read (may be less than aCount) + * @return 0 if reached end of file (or if aWriter refused to consume data) + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if reading from the input stream would + * block the calling thread (non-blocking mode only) + * @throws on failure + * + * NOTE: this function may be unimplemented if a stream has no underlying + * buffer (e.g., socket input stream). + */ + [noscript] unsigned long readSegments(in nsWriteSegmentFun aWriter, + in voidPtr aClosure, + in unsigned long aCount); + + /** + * @return true if stream is non-blocking + */ + boolean isNonBlocking(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIInterfaceRequestor.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIInterfaceRequestor.idl new file mode 100644 index 00000000..31388643 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIInterfaceRequestor.idl @@ -0,0 +1,72 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * The nsIInterfaceRequestor interface defines a generic interface for + * requesting interfaces that a given object might provide access to. + * This is very similar to QueryInterface found in nsISupports. + * The main difference is that interfaces returned from GetInterface() + * are not required to provide a way back to the object implementing this + * interface. The semantics of QI() dictate that given an interface A that + * you QI() on to get to interface B, you must be able to QI on B to get back + * to A. This interface however allows you to obtain an interface C from A + * that may or most likely will not have the ability to get back to A. + * + * @status FROZEN + */ + +[scriptable, uuid(033A1470-8B2A-11d3-AF88-00A024FFC08C)] +interface nsIInterfaceRequestor : nsISupports +{ + /** + * Retrieves the specified interface pointer. + * + * @param uuid The IID of the interface being requested. + * @param result [out] The interface pointer to be filled in if + * the interface is accessible. + * @return NS_OK - interface was successfully returned. + * NS_NOINTERFACE - interface not accessible. + * NS_ERROR* - method failure. + */ + void getInterface(in nsIIDRef uuid, + [iid_is(uuid),retval] out nsQIResult result); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsILoadGroup.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsILoadGroup.idl new file mode 100644 index 00000000..9efba4ba --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsILoadGroup.idl @@ -0,0 +1,105 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIRequest.idl" + +interface nsISimpleEnumerator; +interface nsIRequestObserver; +interface nsIInterfaceRequestor; + +/** + * A load group maintains a collection of nsIRequest objects. + * + * @status FROZEN + */ +[scriptable, uuid(3de0a31c-feaf-400f-9f1e-4ef71f8b20cc)] +interface nsILoadGroup : nsIRequest +{ + /** + * The group observer is notified when requests are added to and removed + * from this load group. The groupObserver is weak referenced. + */ + attribute nsIRequestObserver groupObserver; + + /** + * Accesses the default load request for the group. Each time a number + * of requests are added to a group, the defaultLoadRequest may be set + * to indicate that all of the requests are related to a base request. + * + * The load group inherits its load flags from the default load request. + * If the default load request is NULL, then the group's load flags are + * not changed. + */ + attribute nsIRequest defaultLoadRequest; + + /** + * Adds a new request to the group. This will cause the default load + * flags to be applied to the request. If this is a foreground + * request then the groupObserver's onStartRequest will be called. + * + * If the request is the default load request or if the default load + * request is null, then the load group will inherit its load flags from + * the request. + */ + void addRequest(in nsIRequest aRequest, + in nsISupports aContext); + + /** + * Removes a request from the group. If this is a foreground request + * then the groupObserver's onStopRequest will be called. + */ + void removeRequest(in nsIRequest aRequest, + in nsISupports aContext, + in nsresult aStatus); + + /** + * Returns the requests contained directly in this group. + * Enumerator element type: nsIRequest. + */ + readonly attribute nsISimpleEnumerator requests; + + /** + * Returns the count of "active" requests (ie. requests without the + * LOAD_BACKGROUND bit set). + */ + readonly attribute unsigned long activeCount; + + /** + * Notification callbacks for the load group. + */ + attribute nsIInterfaceRequestor notificationCallbacks; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsILocalFile.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsILocalFile.idl new file mode 100644 index 00000000..8d7a1dda --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsILocalFile.idl @@ -0,0 +1,180 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Doug Turner + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIFile.idl" + +%{C++ +#include "prio.h" +#include "prlink.h" +#include +%} + +[ptr] native PRFileDescStar(PRFileDesc); +[ptr] native PRLibraryStar(PRLibrary); +[ptr] native FILE(FILE); + +/** + * This interface adds methods to nsIFile that are particular to a file + * that is accessible via the local file system. + * + * It follows the same string conventions as nsIFile. + * + * @status FROZEN + */ +[scriptable, uuid(aa610f20-a889-11d3-8c81-000064657374)] +interface nsILocalFile : nsIFile +{ + /** + * initWith[Native]Path + * + * This function will initialize the nsILocalFile object. Any + * internal state information will be reset. + * + * NOTE: This function has a known bug on the macintosh and + * other OSes which do not represent file locations as paths. + * If you do use this function, be very aware of this problem! + * + * @param filePath + * A string which specifies a full file path to a + * location. Relative paths will be treated as an + * error (NS_ERROR_FILE_UNRECOGNIZED_PATH). For + * initWithNativePath, the filePath must be in the native + * filesystem charset. + */ + void initWithPath(in AString filePath); + [noscript] void initWithNativePath(in ACString filePath); + + /** + * initWithFile + * + * Initialize this object with another file + * + * @param aFile + * the file this becomes equivalent to + */ + void initWithFile(in nsILocalFile aFile); + + /** + * followLinks + * + * This attribute will determine if the nsLocalFile will auto + * resolve symbolic links. By default, this value will be false + * on all non unix systems. On unix, this attribute is effectively + * a noop. + */ + attribute PRBool followLinks; + + [noscript] PRFileDescStar openNSPRFileDesc(in long flags, in long mode); + [noscript] FILE openANSIFileDesc(in string mode); + + [noscript] PRLibraryStar load(); + + readonly attribute PRInt64 diskSpaceAvailable; + + /** + * appendRelative[Native]Path + * + * Append a relative path to the current path of the nsILocalFile object. + * + * @param relativeFilePath + * relativeFilePath is a native relative path. For security reasons, + * this cannot contain .. or cannot start with a directory separator. + * For the |appendRelativeNativePath| method, the relativeFilePath + * must be in the native filesystem charset. + */ + void appendRelativePath(in AString relativeFilePath); + [noscript] void appendRelativeNativePath(in ACString relativeFilePath); + + /** + * Accessor to a null terminated string which will specify + * the file in a persistent manner for disk storage. + * + * The character set of this attribute is undefined. DO NOT TRY TO + * INTERPRET IT AS HUMAN READABLE TEXT! + */ + attribute ACString persistentDescriptor; + + /** + * reveal + * + * Ask the operating system to open the folder which contains + * this file or folder. This routine only works on platforms which + * support the ability to open a folder... + */ + void reveal(); + + /** + * launch + * + * Ask the operating system to attempt to open the file. + * this really just simulates "double clicking" the file on your platform. + * This routine only works on platforms which support this functionality. + */ + void launch(); + + /** + * getRelativeDescriptor + * + * Returns a relative file path in an opaque, XP format. It is therefore + * not a native path. + * + * The character set of the string returned from this function is + * undefined. DO NOT TRY TO INTERPRET IT AS HUMAN READABLE TEXT! + * + * @param fromFile + * the file from which the descriptor is relative. + * There is no defined result if this param is null. + */ + ACString getRelativeDescriptor(in nsILocalFile fromFile); + + /** + * setRelativeDescriptor + * + * Initializes the file to the location relative to fromFile using + * a string returned by getRelativeDescriptor. + * + * @param fromFile + * the file to which the descriptor is relative + * @param relative + * the relative descriptor obtained from getRelativeDescriptor + */ + void setRelativeDescriptor(in nsILocalFile fromFile, in ACString relativeDesc); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIMemory.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIMemory.idl new file mode 100644 index 00000000..315a8c22 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIMemory.idl @@ -0,0 +1,130 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * + * nsIMemory: interface to allocate and deallocate memory. Also provides + * for notifications in low-memory situations. + * + * The frozen exported symbols NS_Alloc, NS_Realloc, and NS_Free + * provide a more efficient way to access XPCOM memory allocation. Using + * those symbols is preferred to using the methods on this interface. + * + * A client that wishes to be notified of low memory situations (for + * example, because the client maintains a large memory cache that + * could be released when memory is tight) should register with the + * observer service (see nsIObserverService) using the topic + * "memory-pressure". There are three specific types of notications + * that can occur. These types will be passed as the |aData| + * parameter of the of the "memory-pressure" notification: + * + * "low-memory" + * This will be passed as the extra data when the pressure + * observer is being asked to flush for low-memory conditions. + * + * "heap-minimize" + * This will be passed as the extra data when the pressure + * observer is being asked to flush because of a heap minimize + * call. + * + * "alloc-failure" + * This will be passed as the extra data when the pressure + * observer has been asked to flush because a malloc() or + * realloc() has failed. + * + * @status FROZEN + */ + +[scriptable, uuid(59e7e77a-38e4-11d4-8cf5-0060b0fc14a3)] +interface nsIMemory : nsISupports +{ + /** + * Allocates a block of memory of a particular size. If the memory + * cannot be allocated (because of an out-of-memory condition), null + * is returned. + * + * @param size - the size of the block to allocate + * @result the block of memory + */ + [noscript, notxpcom] voidPtr alloc(in size_t size); + + /** + * Reallocates a block of memory to a new size. + * + * @param ptr - the block of memory to reallocate + * @param size - the new size + * @result the reallocated block of memory + * + * If ptr is null, this function behaves like malloc. + * If s is the size of the block to which ptr points, the first + * min(s, size) bytes of ptr's block are copied to the new block. + * If the allocation succeeds, ptr is freed and a pointer to the + * new block returned. If the allocation fails, ptr is not freed + * and null is returned. The returned value may be the same as ptr. + */ + [noscript, notxpcom] voidPtr realloc(in voidPtr ptr, + in size_t newSize); + + /** + * Frees a block of memory. Null is a permissible value, in which case + * nothing happens. + * + * @param ptr - the block of memory to free + */ + [noscript, notxpcom] void free(in voidPtr ptr); + + /** + * Attempts to shrink the heap. + * @param immediate - if true, heap minimization will occur + * immediately if the call was made on the main thread. If + * false, the flush will be scheduled to happen when the app is + * idle. + * @return NS_ERROR_FAILURE if 'immediate' is set an the call + * was not on the application's main thread. + */ + void heapMinimize(in boolean immediate); + + /** + * This predicate can be used to determine if we're in a low-memory + * situation (what constitutes low-memory is platform dependent). This + * can be used to trigger the memory pressure observers. + */ + boolean isLowMemory(); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIModule.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIModule.idl new file mode 100644 index 00000000..a71b9b13 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIModule.idl @@ -0,0 +1,115 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIFile; +interface nsIComponentManager; + +/** + * The nsIModule interface. + * @status FROZEN + */ + +[scriptable, uuid(7392D032-5371-11d3-994E-00805FD26FEE)] +interface nsIModule : nsISupports +{ + /** + * Object Instance Creation + * + * Obtains a Class Object from a nsIModule for a given CID and IID pair. + * This class object can either be query to a nsIFactory or a may be + * query to a nsIClassInfo. + * + * @param aCompMgr : The global component manager + * @param aClass : ClassID of object instance requested + * @param aIID : IID of interface requested + * + */ + void getClassObject(in nsIComponentManager aCompMgr, + in nsCIDRef aClass, + in nsIIDRef aIID, + [retval, iid_is(aIID)] out nsQIResult aResult); + + + /** + * One time registration callback + * + * When the nsIModule is discovered, this method will be + * called so that any setup registration can be preformed. + * + * @param aCompMgr : The global component manager + * @param aLocation : The location of the nsIModule on disk + * @param aLoaderStr: Opaque loader specific string + * @param aType : Loader Type being used to load this module + */ + void registerSelf(in nsIComponentManager aCompMgr, + in nsIFile aLocation, + in string aLoaderStr, + in string aType); + /** + * One time unregistration callback + * + * When the nsIModule is being unregistered, this method will be + * called so that any unregistration can be preformed + * + * @param aCompMgr : The global component manager + * @param aLocation : The location of the nsIModule on disk + * @param aLoaderStr : Opaque loader specific string + * + */ + void unregisterSelf(in nsIComponentManager aCompMgr, + in nsIFile aLocation, + in string aLoaderStr); + + /** + * Module load management + * + * @param aCompMgr : The global component manager + * + * @return indicates to the caller if the module can be unloaded. + * Returning PR_TRUE isn't a guarantee that the module will be + * unloaded. It constitues only willingness of the module to be + * unloaded. It is very important to ensure that no outstanding + * references to the module's code/data exist before returning + * PR_TRUE. + * Returning PR_FALSE guaratees that the module wont be unloaded. + */ + boolean canUnload(in nsIComponentManager aCompMgr); +}; + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserver.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserver.idl new file mode 100644 index 00000000..d2240f2e --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserver.idl @@ -0,0 +1,72 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * This interface is implemented by an object that wants + * to observe an event corresponding to a topic. + * + * @status FROZEN + */ + +[scriptable, uuid(DB242E01-E4D9-11d2-9DDE-000064657374)] +interface nsIObserver : nsISupports { + + /** + * Observe will be called when there is a notification for the + * topic |aTopic|. This assumes that the object implementing + * this interface has been registered with an observer service + * such as the nsIObserverService. + * + * If you expect multiple topics/subjects, the impl is + * responsible for filtering. + * + * You should not modify, add, remove, or enumerate + * notifications in the implemention of observe. + * + * @param aSubject : Notification specific interface pointer. + * @param aTopic : The notification topic or subject. + * @param aData : Notification specific wide string. + * subject event. + */ + void observe( in nsISupports aSubject, + in string aTopic, + in wstring aData ); + +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserverService.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserverService.idl new file mode 100644 index 00000000..059a903a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIObserverService.idl @@ -0,0 +1,111 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIObserver; +interface nsISimpleEnumerator; + +/** + * nsIObserverService + * + * Service allows a client listener (nsIObserver) to register and unregister for + * notifications of specific string referenced topic. Service also provides a + * way to notify registered listeners and a way to enumerate registered client + * listeners. + * + * @status FROZEN + */ + +[scriptable, uuid(D07F5192-E3D1-11d2-8ACD-00105A1B8860)] +interface nsIObserverService : nsISupports +{ + + /** + * AddObserver + * + * Registers a given listener for a notifications regarding the specified + * topic. + * + * @param anObserve : The interface pointer which will receive notifications. + * @param aTopic : The notification topic or subject. + * @param ownsWeak : If set to false, the nsIObserverService will hold a + * strong reference to |anObserver|. If set to true and + * |anObserver| supports the nsIWeakReference interface, + * a weak reference will be held. Otherwise an error will be + * returned. + */ + void addObserver( in nsIObserver anObserver, in string aTopic, in boolean ownsWeak); + + /** + * removeObserver + * + * Unregisters a given listener from notifications regarding the specified + * topic. + * + * @param anObserver : The interface pointer which will stop recieving + * notifications. + * @param aTopic : The notification topic or subject. + */ + void removeObserver( in nsIObserver anObserver, in string aTopic ); + + /** + * notifyObservers + * + * Notifies all registered listeners of the given topic. + * + * @param aSubject : Notification specific interface pointer. + * @param aTopic : The notification topic or subject. + * @param someData : Notification specific wide string. + */ + void notifyObservers( in nsISupports aSubject, + in string aTopic, + in wstring someData ); + + /** + * enumerateObservers + * + * Returns an enumeration of all registered listeners. + * + * @param aTopic : The notification topic or subject. + */ + nsISimpleEnumerator enumerateObservers( in string aTopic ); + + +}; + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIOutputStream.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIOutputStream.idl new file mode 100644 index 00000000..ec5035c6 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIOutputStream.idl @@ -0,0 +1,167 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Warren Harris + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIOutputStream; +interface nsIInputStream; + +%{C++ +/** + * The signature for the reader function passed to WriteSegments. This + * is the "provider" of data that gets written into the stream's buffer. + * + * @param aOutStream stream being written to + * @param aClosure opaque parameter passed to WriteSegments + * @param aToSegment pointer to memory owned by the output stream + * @param aFromOffset amount already written (since WriteSegments was called) + * @param aCount length of toSegment + * @param aReadCount number of bytes written + * + * Implementers should return the following: + * + * @return NS_OK and (*aReadCount > 0) if successfully provided some data + * @return NS_OK and (*aReadCount = 0) or + * @return if not interested in providing any data + * + * Errors are never passed to the caller of WriteSegments. + * + * @status FROZEN + */ +typedef NS_CALLBACK(nsReadSegmentFun)(nsIOutputStream *aOutStream, + void *aClosure, + char *aToSegment, + PRUint32 aFromOffset, + PRUint32 aCount, + PRUint32 *aReadCount); +%} + +native nsReadSegmentFun(nsReadSegmentFun); + +/** + * nsIOutputStream + * + * @status FROZEN + */ +[scriptable, uuid(0d0acd2a-61b4-11d4-9877-00c04fa0cf4a)] +interface nsIOutputStream : nsISupports +{ + /** + * Close the stream. Forces the output stream to flush any buffered data. + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if unable to flush without blocking + * the calling thread (non-blocking mode only) + */ + void close(); + + /** + * Flush the stream. + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if unable to flush without blocking + * the calling thread (non-blocking mode only) + */ + void flush(); + + /** + * Write data into the stream. + * + * @param aBuf the buffer containing the data to be written + * @param aCount the maximum number of bytes to be written + * + * @return number of bytes written (may be less than aCount) + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if writing to the output stream would + * block the calling thread (non-blocking mode only) + * @throws on failure + */ + unsigned long write(in string aBuf, in unsigned long aCount); + + /** + * Writes data into the stream from an input stream. + * + * @param aFromStream the stream containing the data to be written + * @param aCount the maximum number of bytes to be written + * + * @return number of bytes written (may be less than aCount) + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if writing to the output stream would + * block the calling thread (non-blocking mode only) + * @throws on failure + * + * NOTE: This method is defined by this interface in order to allow the + * output stream to efficiently copy the data from the input stream into + * its internal buffer (if any). If this method was provided as an external + * facility, a separate char* buffer would need to be used in order to call + * the output stream's other Write method. + */ + unsigned long writeFrom(in nsIInputStream aFromStream, + in unsigned long aCount); + + /** + * Low-level write method that has access to the stream's underlying buffer. + * The reader function may be called multiple times for segmented buffers. + * WriteSegments is expected to keep calling the reader until either there + * is nothing left to write or the reader returns an error. WriteSegments + * should not call the reader with zero bytes to provide. + * + * @param aReader the "provider" of the data to be written + * @param aClosure opaque parameter passed to reader + * @param aCount the maximum number of bytes to be written + * + * @return number of bytes written (may be less than aCount) + * + * @throws NS_BASE_STREAM_WOULD_BLOCK if writing to the output stream would + * block the calling thread (non-blocking mode only) + * @throws on failure + * + * NOTE: this function may be unimplemented if a stream has no underlying + * buffer (e.g., socket output stream). + */ + [noscript] unsigned long writeSegments(in nsReadSegmentFun aReader, + in voidPtr aClosure, + in unsigned long aCount); + + /** + * @return true if stream is non-blocking + * + * NOTE: writing to a blocking output stream will block the calling thread + * until all given data can be consumed by the stream. + */ + boolean isNonBlocking(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch.idl new file mode 100644 index 00000000..b609117f --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch.idl @@ -0,0 +1,353 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Alec Flett + * Brian Nesse + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * The nsIPrefBranch interface is used to manipulate the preferences data. This + * object may be obtained from the preferences service (nsIPrefService) and + * used to get and set default and/or user preferences across the application. + * + * This object is created with a "root" value which describes the base point in + * the preferences "tree" from which this "branch" stems. Preferences are + * accessed off of this root by using just the final portion of the preference. + * For example, if this object is created with the root "browser.startup.", + * the preferences "browser.startup.page", "browser.startup.homepage", + * and "browser.startup.homepage_override" can be accessed by simply passing + * "page", "homepage", or "homepage_override" to the various Get/Set methods. + * + * @see nsIPrefService + * + * @status FROZEN + */ + +[scriptable, uuid(56c35506-f14b-11d3-99d3-ddbfac2ccf65)] +interface nsIPrefBranch : nsISupports +{ + + /** + * Values describing the basic preference types. + * + * @see getPrefType + */ + const long PREF_INVALID = 0; + const long PREF_STRING = 32; + const long PREF_INT = 64; + const long PREF_BOOL = 128; + + /** + * Called to get the root on which this branch is based, such as + * "browser.startup." + */ + readonly attribute string root; + + /** + * Called to determine the type of a specific preference. + * + * @param aPrefName The preference to get the type of. + * + * @return long A value representing the type of the preference. This + * value will be PREF_STRING, PREF_INT, or PREF_BOOL. + */ + long getPrefType(in string aPrefName); + + /** + * Called to get the state of an individual boolean preference. + * + * @param aPrefName The boolean preference to get the state of. + * + * @return boolean The value of the requested boolean preference. + * + * @see setBoolPref + */ + boolean getBoolPref(in string aPrefName); + + /** + * Called to set the state of an individual boolean preference. + * + * @param aPrefName The boolean preference to set the state of. + * @param aValue The boolean value to set the preference to. + * + * @return NS_OK The value was successfully set. + * @return Other The value was not set or is the wrong type. + * + * @see getBoolPref + */ + void setBoolPref(in string aPrefName, in long aValue); + + /** + * Called to get the state of an individual string preference. + * + * @param aPrefName The string preference to retrieve. + * + * @return string The value of the requested string preference. + * + * @see setCharPref + */ + string getCharPref(in string aPrefName); + + /** + * Called to set the state of an individual string preference. + * + * @param aPrefName The string preference to set. + * @param aValue The string value to set the preference to. + * + * @return NS_OK The value was successfully set. + * @return Other The value was not set or is the wrong type. + * + * @see getCharPref + */ + void setCharPref(in string aPrefName, in string aValue); + + /** + * Called to get the state of an individual integer preference. + * + * @param aPrefName The integer preference to get the value of. + * + * @return long The value of the requested integer preference. + * + * @see setIntPref + */ + long getIntPref(in string aPrefName); + + /** + * Called to set the state of an individual integer preference. + * + * @param aPrefName The integer preference to set the value of. + * @param aValue The integer value to set the preference to. + * + * @return NS_OK The value was successfully set. + * @return Other The value was not set or is the wrong type. + * + * @see getIntPref + */ + void setIntPref(in string aPrefName, in long aValue); + + /** + * Called to get the state of an individual complex preference. A complex + * preference is a preference which represents an XPCOM object that can not + * be easily represented using a standard boolean, integer or string value. + * + * @param aPrefName The complex preference to get the value of. + * @param aType The XPCOM interface that this complex preference + * represents. Interfaces currently supported are: + * - nsILocalFile + * - nsISupportsString (UniChar) + * - nsIPrefLocalizedString (Localized UniChar) + * - nsIFileSpec (deprecated - to be removed eventually) + * @param aValue The XPCOM object into which to the complex preference + * value should be retrieved. + * + * @return NS_OK The value was successfully retrieved. + * @return Other The value does not exist or is the wrong type. + * + * @see setComplexValue + */ + void getComplexValue(in string aPrefName, in nsIIDRef aType, + [iid_is(aType), retval] out nsQIResult aValue); + + /** + * Called to set the state of an individual complex preference. A complex + * preference is a preference which represents an XPCOM object that can not + * be easily represented using a standard boolean, integer or string value. + * + * @param aPrefName The complex preference to set the value of. + * @param aType The XPCOM interface that this complex preference + * represents. Interfaces currently supported are: + * - nsILocalFile + * - nsISupportsString (UniChar) + * - nsIPrefLocalizedString (Localized UniChar) + * - nsIFileSpec (deprecated - to be removed eventually) + * @param aValue The XPCOM object from which to set the complex preference + * value. + * + * @return NS_OK The value was successfully set. + * @return Other The value was not set or is the wrong type. + * + * @see getComplexValue + */ + void setComplexValue(in string aPrefName, in nsIIDRef aType, in nsISupports aValue); + + /** + * Called to clear a user set value from a specific preference. This will, in + * effect, reset the value to the default value. If no default value exists + * the preference will cease to exist. + * + * @param aPrefName The preference to be cleared. + * + * @note + * This method does nothing if this object is a default branch. + * + * @return NS_OK The user preference was successfully cleared. + * @return Other The preference does not exist or have a user set value. + */ + void clearUserPref(in string aPrefName); + + /** + * Called to lock a specific preference. Locking a preference will cause the + * preference service to always return the default value regardless of + * whether there is a user set value or not. + * + * @param aPrefName The preference to be locked. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on the default branch. + * + * @return NS_OK The preference was successfully locked. + * @return Other The preference does not exist or an error occurred. + * + * @see unlockPref + */ + void lockPref(in string aPrefName); + + /** + * Called to check if a specific preference has a user value associated to + * it. + * + * @param aPrefName The preference to be tested. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on the user branch. + * + * @return boolean true The preference has a user set value. + * false The preference only has a default value. + */ + boolean prefHasUserValue(in string aPrefName); + + /** + * Called to check if a specific preference is locked. If a preference is + * locked calling its Get method will always return the default value. + * + * @param aPrefName The preference to be tested. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on the default branch. + * + * @return boolean true The preference is locked. + * false The preference is not locked. + * + * @see lockPref + * @see unlockPref + */ + boolean prefIsLocked(in string aPrefName); + + /** + * Called to unlock a specific preference. Unlocking a previously locked + * preference allows the preference service to once again return the user set + * value of the preference. + * + * @param aPrefName The preference to be unlocked. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on the default branch. + * + * @return NS_OK The preference was successfully unlocked. + * @return Other The preference does not exist or an error occurred. + * + * @see lockPref + */ + void unlockPref(in string aPrefName); + + + /** + * Called to remove all of the preferences referenced by this branch. + * + * @param aStartingAt The point on the branch at which to start the deleting + * preferences. Pass in "" to remove all preferences + * referenced by this branch. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on both. + * + * @return NS_OK The preference(s) were successfully removed. + * @return Other The preference(s) do not exist or an error occurred. + */ + void deleteBranch(in string aStartingAt); + + /** + * Returns an array of strings representing the child preferences of the + * root of this branch. + * + * @param aStartingAt The point on the branch at which to start enumerating + * the child preferences. Pass in "" to enumerate all + * preferences referenced by this branch. + * @param aCount Receives the number of elements in the array. + * @param aChildArray Receives the array of child preferences. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on both. + * + * @return NS_OK The preference list was successfully retrieved. + * @return Other The preference(s) do not exist or an error occurred. + */ + void getChildList(in string aStartingAt, out unsigned long aCount, + [array, size_is(aCount), retval] out string aChildArray); + + /** + * Called to reset all of the preferences referenced by this branch to their + * default values. + * + * @param aStartingAt The point on the branch at which to start the resetting + * preferences to their default values. Pass in "" to + * reset all preferences referenced by this branch. + * + * @note + * This method can be called on either a default or user branch but, in + * effect, always operates on the user branch. + * + * @return NS_OK The preference(s) were successfully reset. + * @return Other The preference(s) do not exist or an error occurred. + */ + void resetBranch(in string aStartingAt); + +}; + + +%{C++ + +#define NS_PREFBRANCH_CONTRACTID "@mozilla.org/preferencesbranch;1" +#define NS_PREFBRANCH_CLASSNAME "Preferences Branch" + +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch2.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch2.idl new file mode 100644 index 00000000..55470b88 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefBranch2.idl @@ -0,0 +1,114 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Alec Flett + * Brian Nesse + * Benjamin Smedberg + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIPrefBranch.idl" + +interface nsIObserver; + +/** + * nsIPrefBranch2 allows clients to observe changes to pref values. + * + * @status FROZEN + * @see nsIPrefBranch + */ +[scriptable, uuid(74567534-eb94-4b1c-8f45-389643bfc555)] +interface nsIPrefBranch2 : nsIPrefBranch +{ + /** + * Add a preference change observer. On preference changes, the following + * arguments will be passed to the nsIObserver.observe() method: + * aSubject - The nsIPrefBranch object (this) + * aTopic - The string defined by NS_PREFBRANCH_PREFCHANGE_TOPIC_ID + * aData - The preference which has changed + * + * @param aDomain The preference on which to listen for changes. This can + * be the name of an entire branch to observe. + * e.g. Holding the "root" prefbranch and calling + * addObserver("foo.bar.", ...) will observe changes to + * foo.bar.baz and foo.bar.bzip + * @param aObserver The object to be notified if the preference changes. + * @param aHoldWeak true Hold a weak reference to |aObserver|. The object + * must implement the nsISupportsWeakReference + * interface or this will fail. + * false Hold a strong reference to |aObserver|. + * + * @note + * Registering as a preference observer can open an object to potential + * cyclical references which will cause memory leaks. These cycles generally + * occur because an object both registers itself as an observer (causing the + * branch to hold a reference to the observer) and holds a reference to the + * branch object for the purpose of getting/setting preference values. There + * are 3 approaches which have been implemented in an attempt to avoid these + * situations. + * 1) The nsPrefBranch object supports nsISupportsWeakReference. Any consumer + * may hold a weak reference to it instead of a strong one. + * 2) The nsPrefBranch object listens for xpcom-shutdown and frees all of the + * objects currently in its observer list. This insures that long lived + * objects (services for example) will be freed correctly. + * 3) The observer can request to be held as a weak reference when it is + * registered. This insures that shorter lived objects (say one tied to an + * open window) will not fall into the cyclical reference trap. + * + * @see nsIObserver + * @see removeObserver + */ + void addObserver(in string aDomain, in nsIObserver aObserver, + in boolean aHoldWeak); + + /** + * Remove a preference change observer. + * + * @param aDomain The preference which is being observed for changes. + * @param aObserver An observer previously registered with addObserver(). + * + * @see nsIObserver + * @see addObserver + */ + void removeObserver(in string aDomain, in nsIObserver aObserver); +}; + +%{C++ + +/** + * Notification sent when a preference changes. + */ +#define NS_PREFBRANCH_PREFCHANGE_TOPIC_ID "nsPref:changed" + +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefLocalizedString.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefLocalizedString.idl new file mode 100644 index 00000000..3ae485b5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefLocalizedString.idl @@ -0,0 +1,104 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Alec Flett + * Brian Nesse + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * The nsIPrefLocalizedString interface is simply a wrapper interface for + * nsISupportsString so the preferences service can have a unique identifier + * to distinguish between requests for normal wide strings (nsISupportsString) + * and "localized" wide strings, which get their default values from properites + * files. + * + * @see nsIPrefBranch + * @see nsISupportsString + * + * @status FROZEN + */ + +[scriptable, uuid(ae419e24-1dd1-11b2-b39a-d3e5e7073802)] +interface nsIPrefLocalizedString : nsISupports +{ + /** + * Provides access to string data stored in this property. + * + * @return NS_OK The operation succeeded. + * @return Other An error occured. + */ + attribute wstring data; + + /** + * Used to retrieve the contents of this object into a wide string. + * + * @return wstring The string containing the data stored within this object. + */ + wstring toString(); + + /** + * Used to set the contents of this object. + * + * @param length The length of the string. This value should not include + * space for the null terminator, nor should it account for the + * size of a character. It should only be the number of + * characters for which there is space in the string. + * @param data The string data to be stored. + * + * @note + * This makes a copy of the string argument passed in. + * + * @return NS_OK The data was successfully stored. + */ + void setDataWithLength(in unsigned long length, + [size_is(length)] in wstring data); +}; + +%{C++ + +#define NS_PREFLOCALIZEDSTRING_CID \ + { /* {064d9cee-1dd2-11b2-83e3-d25ab0193c26} */ \ + 0x064d9cee, \ + 0x1dd2, \ + 0x11b2, \ + { 0x83, 0xe3, 0xd2, 0x5a, 0xb0, 0x19, 0x3c, 0x26 } \ + } + +#define NS_PREFLOCALIZEDSTRING_CONTRACTID "@mozilla.org/pref-localizedstring;1" +#define NS_PREFLOCALIZEDSTRING_CLASSNAME "Pref LocalizedString" + +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefService.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefService.idl new file mode 100644 index 00000000..49cdf992 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPrefService.idl @@ -0,0 +1,182 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Alec Flett + * Brian Nesse + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsIPrefBranch.idl" + +interface nsIFile; + +/** + * The nsIPrefService interface is the main entry point into the back end + * preferences management library. The preference service is directly + * responsible for the management of the preferences files and also facilitates + * access to the preference branch object which allows the direct manipulation + * of the preferences themselves. + * + * @see nsIPrefBranch + * + * @status FROZEN + */ + +[scriptable, uuid(decb9cc7-c08f-4ea5-be91-a8fc637ce2d2)] +interface nsIPrefService : nsISupports +{ + /** + * Called to read in the preferences specified in a user preference file. + * + * @param aFile The file to be read. + * + * @note + * If nsnull is passed in for the aFile parameter the default preferences + * file(s) [prefs.js, user.js] will be read and processed. + * + * @return NS_OK File was read and processed. + * @return Other File failed to read or contained invalid data. + * + * @see savePrefFile + * @see nsIFile + */ + void readUserPrefs(in nsIFile aFile); + + /** + * Called to completely flush and re-initialize the preferences system. + * + * @return NS_OK The preference service was re-initialized correctly. + * @return Other The preference service failed to restart correctly. + */ + void resetPrefs(); + + /** + * Called to reset all preferences with user set values back to the + * application default values. + * + * @return NS_OK Always. + */ + void resetUserPrefs(); + + /** + * Called to write current preferences state to a file. + * + * @param aFile The file to be written. + * + * @note + * If nsnull is passed in for the aFile parameter the preference data is + * written out to the current preferences file (usually prefs.js.) + * + * @return NS_OK File was written. + * @return Other File failed to write. + * + * @see readUserPrefs + * @see nsIFile + */ + void savePrefFile(in nsIFile aFile); + + + /** + * Call to get a Preferences "Branch" which accesses user preference data. + * Using a Set method on this object will always create or set a user + * preference value. When using a Get method a user set value will be + * returned if one exists, otherwise a default value will be returned. + * + * @param aPrefRoot The preference "root" on which to base this "branch". + * For example, if the root "browser.startup." is used, the + * branch will be able to easily access the preferences + * "browser.startup.page", "browser.startup.homepage", or + * "browser.startup.homepage_override" by simply requesting + * "page", "homepage", or "homepage_override". nsnull or "" + * may be used to access to the entire preference "tree". + * + * @return nsIPrefBranch The object representing the requested branch. + * + * @see getDefaultBranch + */ + nsIPrefBranch getBranch(in string aPrefRoot); + + /** + * Call to get a Preferences "Branch" which accesses only the default + * preference data. Using a Set method on this object will always create or + * set a default preference value. When using a Get method a default value + * will always be returned. + * + * @param aPrefRoot The preference "root" on which to base this "branch". + * For example, if the root "browser.startup." is used, the + * branch will be able to easily access the preferences + * "browser.startup.page", "browser.startup.homepage", or + * "browser.startup.homepage_override" by simply requesting + * "page", "homepage", or "homepage_override". nsnull or "" + * may be used to access to the entire preference "tree". + * + * @note + * Few consumers will want to create default branch objects. Many of the + * branch methods do nothing on a default branch because the operations only + * make sense when applied to user set preferences. + * + * @return nsIPrefBranch The object representing the requested default branch. + * + * @see getBranch + */ + nsIPrefBranch getDefaultBranch(in string aPrefRoot); + +}; + +%{C++ + +#define NS_PREFSERVICE_CID \ + { /* {1cd91b88-1dd2-11b2-92e1-ed22ed298000} */ \ + 0x1cd91b88, \ + 0x1dd2, \ + 0x11b2, \ + { 0x92, 0xe1, 0xed, 0x22, 0xed, 0x29, 0x80, 0x00 } \ + } + +#define NS_PREFSERVICE_CONTRACTID "@mozilla.org/preferences-service;1" +#define NS_PREFSERVICE_CLASSNAME "Preferences Server" + +/** + * Notification sent before reading the default user preferences files. + */ +#define NS_PREFSERVICE_READ_TOPIC_ID "prefservice:before-read-userprefs" + +/** + * Notification sent when resetPrefs has been called, but before the actual + * reset process occurs. + */ +#define NS_PREFSERVICE_RESET_TOPIC_ID "prefservice:before-reset" + +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfile.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfile.idl new file mode 100644 index 00000000..e1259d75 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfile.idl @@ -0,0 +1,87 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" +#include "nsIFile.idl" + +%{C++ + +#define NS_PROFILE_CID \ + { /* {02b0625b-e7f3-11d2-9f5a-006008a6efe9} */ \ + 0x02b0625b, \ + 0xe7f3, \ + 0x11d2, \ + { 0x9f, 0x5a, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9 } \ + } + +#define NS_PROFILE_CONTRACTID \ + "@mozilla.org/profile/manager;1" + +#define NS_PROFILE_STARTUP_CATEGORY \ + "profile-startup-category" +%} + +/** + * nsIProfile + * + * @status FROZEN + * @version 1.0 + */ + +[scriptable, uuid(02b0625a-e7f3-11d2-9f5a-006008a6efe9)] +interface nsIProfile : nsISupports { + + readonly attribute long profileCount; + void getProfileList(out unsigned long length, [retval, array, size_is(length)] out wstring profileNames); + boolean profileExists(in wstring profileName); + + attribute wstring currentProfile; + + const unsigned long SHUTDOWN_PERSIST = 0x00000001; + const unsigned long SHUTDOWN_CLEANSE = 0x00000002; + + void shutDownCurrentProfile(in unsigned long shutDownType); + + void createNewProfile(in wstring profileName, + in wstring nativeProfileDir, + in wstring langcode, + in boolean useExistingDir); + + void renameProfile(in wstring oldName, in wstring newName); + void deleteProfile(in wstring name, in boolean canDeleteFiles); + void cloneProfile(in wstring profileName); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfileChangeStatus.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfileChangeStatus.idl new file mode 100644 index 00000000..dc0850e8 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProfileChangeStatus.idl @@ -0,0 +1,142 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * ccarlen@netscape.com + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +%{C++ + + /** + * nsIObserver topics for profile changing. Profile changing happens in phases + * in the order given below. An observer may register separately for each phase + * of the process depending on its needs. The subject passed to the observer's + * Observe() method can be QI'd to an nsIProfileChangeStatus. + * + * "profile-approve-change" + * Called before a profile change is attempted. Typically, + * the application level observer will ask the user if + * he/she wants to stop all network activity, close all open + * windows, etc. If the user says NO, the observer should + * call the subject's vetoChange(). If any observer does + * this, the profile will not be changed. + * + * "profile-change-teardown" + * All async activity must be stopped in this phase. Typically, + * the application level observer will close all open windows. + * This is the last phase in which the subject's vetoChange() + * method may still be called. + * The next notification will be either + * profile-change-teardown-veto or profile-before-change. + * + * "profile-change-teardown-veto" + * This notification will only be sent, if the profile change + * was vetoed during the profile-change-teardown phase. + * This allows components to bring back required resources, + * that were tore down on profile-change-teardown. + * + * "profile-before-change" + * Called before the profile has changed. Use this notification + * to prepare for the profile going away. If a component is + * holding any state which needs to be flushed to a profile-relative + * location, it should be done here. + * + * "profile-do-change" + * Called after the profile has changed. Do the work to + * respond to having a new profile. Any change which + * affects others must be done in this phase. + * + * "profile-after-change" + * Called after the profile has changed. Use this notification + * to make changes that are dependent on what some other listener + * did during its profile-do-change. For example, to respond to + * new preferences. + * + * "profile-initial-state" + * Called after all phases of a change have completed. Typically + * in this phase, an application level observer will open a new window. + * + * Contexts for profile changes. These are passed as the someData param to the + * observer's Observe() method. + + * "startup" + * Going from no profile to a profile. + * + * The following topics happen in this context: + * profile-do-change + * profile-after-change + * + * "shutdown-persist" + * The user is logging out and whatever data the observer stores + * for the current profile should be released from memory and + * saved to disk. + * + * "shutdown-cleanse" + * The user is logging out and whatever data the observer stores + * for the current profile should be released from memory and + * deleted from disk. + * + * The following topics happen in both shutdown contexts: + * profile-approve-change + * profile-change-teardown + * profile-before-change + * + * "switch" + * Going from one profile to another. + * + * All of the above topics happen in a profile switch. + * + */ +%} + + +[scriptable, uuid(2f977d43-5485-11d4-87e2-0010a4e75ef2)] +interface nsIProfileChangeStatus : nsISupports { + + void vetoChange(); + + /** + * Called by a profile change observer when a fatal error + * occurred during the attempt to switch the profile. + * + * The profile should be considered in an unsafe condition, + * and the profile manager should inform the user and + * exit immediately. + * + */ + void changeFailed(); + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIProgrammingLanguage.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProgrammingLanguage.idl new file mode 100644 index 00000000..2fe6fb58 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProgrammingLanguage.idl @@ -0,0 +1,70 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * John Bandhauer + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +%{C++ +#ifdef XP_OS2 // OS2 has UNKNOWN problems :) +#undef UNKNOWN +#endif +%} + +/** + * Enumeration of Programming Languages + * @status FROZEN + */ + +[scriptable, uuid(ea604e90-40ba-11d5-90bb-0010a4e73d9a)] +interface nsIProgrammingLanguage : nsISupports +{ + /** + * Identifiers for programming languages. + */ + const PRUint32 UNKNOWN = 0; + const PRUint32 CPLUSPLUS = 1; + const PRUint32 JAVASCRIPT = 2; + const PRUint32 PYTHON = 3; + const PRUint32 PERL = 4; + const PRUint32 JAVA = 5; + const PRUint32 ZX81_BASIC = 6; // it could happen :) + const PRUint32 JAVASCRIPT2 = 7; + // This list can grow indefinitely. Just don't ever change an existing item. + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIPromptService.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPromptService.idl new file mode 100644 index 00000000..cc2da4c3 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIPromptService.idl @@ -0,0 +1,380 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIDOMWindow; + +/** + * This is the interface to the embeddable prompt service; the service that + * implements nsIPrompt. Its interface is designed to be just nsIPrompt, each + * method modified to take a parent window parameter. + * + * Accesskeys can be attached to buttons and checkboxes by inserting an & + * before the accesskey character in the checkbox message or button title. For + * a real &, use && instead. (A "button title" generally refers to the text + * label of a button.) + * + * One note: in all cases, the parent window parameter can be null. However, + * these windows are all intended to have parents. So when no parent is + * specified, the implementation should try hard to find a suitable foster + * parent. + * + * Implementations are free to choose how they present the various button + * types. For example, while prompts that give the user a choice between OK + * and Cancel are required to return a boolean value indicating whether or not + * the user accepted the prompt (pressed OK) or rejected the prompt (pressed + * Cancel), the implementation of this interface could very well speak the + * prompt to the user instead of rendering any visual user-interface. The + * standard button types are merely idioms used to convey the nature of the + * choice the user is to make. + * + * Because implementations of this interface may loosely interpret the various + * button types, it is advised that text messages passed to these prompts do + * not refer to the button types by name. For example, it is inadvisable to + * tell the user to "Press OK to proceed." Instead, such a prompt might be + * rewritten to ask the user: "Would you like to proceed?" + * + * @status FROZEN + */ +[scriptable, uuid(1630C61A-325E-49ca-8759-A31B16C47AA5)] +interface nsIPromptService : nsISupports +{ + /** + * Puts up an alert dialog with an OK button. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + */ + void alert(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText); + + /** + * Puts up an alert dialog with an OK button and a labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aCheckMsg + * Text to appear with the checkbox. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + */ + void alertCheck(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Puts up a dialog with OK and Cancel buttons. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * + * @return true for OK, false for Cancel + */ + boolean confirm(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText); + + /** + * Puts up a dialog with OK and Cancel buttons and a labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aCheckMsg + * Text to appear with the checkbox. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + * + * @return true for OK, false for Cancel + */ + boolean confirmCheck(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Button Flags + * + * The following flags are combined to form the aButtonFlags parameter passed + * to confirmEx. See confirmEx for more information on how the flags may be + * combined. + */ + + /** + * Button Position Flags + */ + const unsigned long BUTTON_POS_0 = 1; + const unsigned long BUTTON_POS_1 = 1 << 8; + const unsigned long BUTTON_POS_2 = 1 << 16; + + /** + * Button Title Flags (used to set the labels of buttons in the prompt) + */ + const unsigned long BUTTON_TITLE_OK = 1; + const unsigned long BUTTON_TITLE_CANCEL = 2; + const unsigned long BUTTON_TITLE_YES = 3; + const unsigned long BUTTON_TITLE_NO = 4; + const unsigned long BUTTON_TITLE_SAVE = 5; + const unsigned long BUTTON_TITLE_DONT_SAVE = 6; + const unsigned long BUTTON_TITLE_REVERT = 7; + const unsigned long BUTTON_TITLE_IS_STRING = 127; + + /** + * Button Default Flags (used to select which button is the default one) + */ + const unsigned long BUTTON_POS_0_DEFAULT = 0; + const unsigned long BUTTON_POS_1_DEFAULT = 1 << 24; + const unsigned long BUTTON_POS_2_DEFAULT = 1 << 25; + + /** + * Causes the buttons to be initially disabled. They are enabled after a + * timeout expires. The implementation may interpret this loosely as the + * intent is to ensure that the user does not click through a security dialog + * too quickly. Strictly speaking, the implementation could choose to ignore + * this flag. + */ + const unsigned long BUTTON_DELAY_ENABLE = 1 << 26; + + /** + * Selects the standard set of OK/Cancel buttons. + */ + const unsigned long STD_OK_CANCEL_BUTTONS = (BUTTON_TITLE_OK * BUTTON_POS_0) + + (BUTTON_TITLE_CANCEL * BUTTON_POS_1); + + /** + * Selects the standard set of Yes/No buttons. + */ + const unsigned long STD_YES_NO_BUTTONS = (BUTTON_TITLE_YES * BUTTON_POS_0) + + (BUTTON_TITLE_NO * BUTTON_POS_1); + + + /** + * Puts up a dialog with up to 3 buttons and an optional, labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aButtonFlags + * A combination of Button Flags. + * @param aButton0Title + * Used when button 0 uses TITLE_IS_STRING + * @param aButton1Title + * Used when button 1 uses TITLE_IS_STRING + * @param aButton2Title + * Used when button 2 uses TITLE_IS_STRING + * @param aCheckMsg + * Text to appear with the checkbox. Null if no checkbox. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + * + * @return index of the button pressed. + * + * Buttons are numbered 0 - 2. The implementation can decide whether the + * sequence goes from right to left or left to right. Button 0 is the + * default button unless one of the Button Default Flags is specified. + * + * A button may use a predefined title, specified by one of the Button Title + * Flags values. Each title value can be multiplied by a position value to + * assign the title to a particular button. If BUTTON_TITLE_IS_STRING is + * used for a button, the string parameter for that button will be used. If + * the value for a button position is zero, the button will not be shown. + * + * In general, aButtonFlags is constructed per the following example: + * + * aButtonFlags = (BUTTON_POS_0) * (BUTTON_TITLE_AAA) + + * (BUTTON_POS_1) * (BUTTON_TITLE_BBB) + + * BUTTON_POS_1_DEFAULT; + * + * where "AAA" and "BBB" correspond to one of the button titles. + */ + PRInt32 confirmEx(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + in unsigned long aButtonFlags, + in wstring aButton0Title, + in wstring aButton1Title, + in wstring aButton2Title, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Puts up a dialog with an edit field and an optional, labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aValue + * Contains the default value for the dialog field when this method + * is called (null value is ok). Upon return, if the user pressed + * OK, then this parameter contains a newly allocated string value. + * Otherwise, the parameter's value is unmodified. + * @param aCheckMsg + * Text to appear with the checkbox. If null, check box will not be shown. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + * + * @return true for OK, false for Cancel. + */ + boolean prompt(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + inout wstring aValue, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Puts up a dialog with an edit field, a password field, and an optional, + * labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aUsername + * Contains the default value for the username field when this method + * is called (null value is ok). Upon return, if the user pressed OK, + * then this parameter contains a newly allocated string value. + * Otherwise, the parameter's value is unmodified. + * @param aPassword + * Contains the default value for the password field when this method + * is called (null value is ok). Upon return, if the user pressed OK, + * then this parameter contains a newly allocated string value. + * Otherwise, the parameter's value is unmodified. + * @param aCheckMsg + * Text to appear with the checkbox. If null, check box will not be shown. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + * + * @return true for OK, false for Cancel. + */ + boolean promptUsernameAndPassword(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + inout wstring aUsername, + inout wstring aPassword, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Puts up a dialog with a password field and an optional, labeled checkbox. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aPassword + * Contains the default value for the password field when this method + * is called (null value is ok). Upon return, if the user pressed OK, + * then this parameter contains a newly allocated string value. + * Otherwise, the parameter's value is unmodified. + * @param aCheckMsg + * Text to appear with the checkbox. If null, check box will not be shown. + * @param aCheckState + * Contains the initial checked state of the checkbox when this method + * is called and the final checked state after this method returns. + * + * @return true for OK, false for Cancel. + */ + boolean promptPassword(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + inout wstring aPassword, + in wstring aCheckMsg, + inout boolean aCheckState); + + /** + * Puts up a dialog box which has a list box of strings from which the user + * may make a single selection. + * + * @param aParent + * The parent window or null. + * @param aDialogTitle + * Text to appear in the title of the dialog. + * @param aText + * Text to appear in the body of the dialog. + * @param aCount + * The length of the aSelectList array parameter. + * @param aSelectList + * The list of strings to display. + * @param aOutSelection + * Contains the index of the selected item in the list when this + * method returns true. + * + * @return true for OK, false for Cancel. + */ + boolean select(in nsIDOMWindow aParent, + in wstring aDialogTitle, + in wstring aText, + in PRUint32 aCount, + [array, size_is(aCount)] in wstring aSelectList, + out long aOutSelection); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIProperties.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProperties.idl new file mode 100644 index 00000000..32a2a057 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProperties.idl @@ -0,0 +1,79 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/* + * Simple mapping service interface. + * @status FROZEN + */ + +[scriptable, uuid(78650582-4e93-4b60-8e85-26ebd3eb14ca)] +interface nsIProperties : nsISupports +{ + /** + * Gets a property with a given name. + * + * @return NS_ERROR_FAILURE if a property with that name doesn't exist. + * @return NS_ERROR_NO_INTERFACE if the found property fails to QI to the + * given iid. + */ + void get(in string prop, in nsIIDRef iid, + [iid_is(iid),retval] out nsQIResult result); + + /** + * Sets a property with a given name to a given value. + */ + void set(in string prop, in nsISupports value); + + /** + * Returns true if the property with the given name exists. + */ + boolean has(in string prop); + + /** + * Undefines a property. + * @return NS_ERROR_FAILURE if a property with that name doesn't + * already exist. + */ + void undefine(in string prop); + + /** + * Returns an array of the keys. + */ + void getKeys(out PRUint32 count, [array, size_is(count), retval] out string keys); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIProtocolHandler.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProtocolHandler.idl new file mode 100644 index 00000000..da6612c5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIProtocolHandler.idl @@ -0,0 +1,167 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIURI; +interface nsIChannel; + +/** + * nsIProtocolHandler + * + * @status FROZEN + */ +[scriptable, uuid(15fd6940-8ea7-11d3-93ad-00104ba0fd40)] +interface nsIProtocolHandler : nsISupports +{ + /** + * The scheme of this protocol (e.g., "file"). + */ + readonly attribute ACString scheme; + + /** + * The default port is the port that this protocol normally uses. + * If a port does not make sense for the protocol (e.g., "about:") + * then -1 will be returned. + */ + readonly attribute long defaultPort; + + /** + * Returns the protocol specific flags (see flag definitions below). + */ + readonly attribute unsigned long protocolFlags; + + /** + * Makes a URI object that is suitable for loading by this protocol, + * where the URI string is given as an UTF-8 string. The caller may + * provide the charset from which the URI string originated, so that + * the URI string can be translated back to that charset (if necessary) + * before communicating with, for example, the origin server of the URI + * string. (Many servers do not support UTF-8 IRIs at the present time, + * so we must be careful about tracking the native charset of the origin + * server.) + * + * @param aSpec - the URI string in UTF-8 encoding. depending + * on the protocol implementation, unicode character + * sequences may or may not be %xx escaped. + * @param aOriginCharset - the charset of the document from which this URI + * string originated. this corresponds to the + * charset that should be used when communicating + * this URI to an origin server, for example. if + * null, then UTF-8 encoding is assumed (i.e., + * no charset transformation from aSpec). + * @param aBaseURI - if null, aSpec must specify an absolute URI. + * otherwise, aSpec may be resolved relative + * to aBaseURI, depending on the protocol. + * If the protocol has no concept of relative + * URI aBaseURI will simply be ignored. + */ + nsIURI newURI(in AUTF8String aSpec, + in string aOriginCharset, + in nsIURI aBaseURI); + + /** + * Constructs a new channel from the given URI for this protocol handler. + */ + nsIChannel newChannel(in nsIURI aURI); + + /** + * Allows a protocol to override blacklisted ports. + * + * This method will be called when there is an attempt to connect to a port + * that is blacklisted. For example, for most protocols, port 25 (Simple Mail + * Transfer) is banned. When a URI containing this "known-to-do-bad-things" + * port number is encountered, this function will be called to ask if the + * protocol handler wants to override the ban. + */ + boolean allowPort(in long port, in string scheme); + + + /************************************************************************** + * Constants for the protocol flags (the first is the default mask, the + * others are deviations): + * + * NOTE: Implementation must ignore any flags they do not understand. + */ + + /** + * standard full URI with authority component and concept of relative + * URIs (http, ftp, ...) + */ + const unsigned long URI_STD = 0; + + /** + * no concept of relative URIs (about, javascript, finger, ...) + */ + const unsigned long URI_NORELATIVE = (1<<0); + + /** + * no authority component (file, ...) + */ + const unsigned long URI_NOAUTH = (1<<1); + + /** + * This protocol handler can be proxied via a proxy (socks or http) + * (e.g., irc, smtp, http, etc.). If the protocol supports transparent + * proxying, the handler should implement nsIProxiedProtocolHandler. + * + * If it supports only HTTP proxying, then it need not support + * nsIProxiedProtocolHandler, but should instead set the ALLOWS_PROXY_HTTP + * flag (see below). + * + * @see nsIProxiedProtocolHandler + */ + const unsigned long ALLOWS_PROXY = (1<<2); + + /** + * This protocol handler can be proxied using a http proxy (e.g., http, + * ftp, etc.). nsIIOService::newChannelFromURI will feed URIs from this + * protocol handler to the HTTP protocol handler instead. This flag is + * ignored if ALLOWS_PROXY is not set. + */ + const unsigned long ALLOWS_PROXY_HTTP = (1<<3); +}; + +%{C++ +/** + * Protocol handlers are registered with XPCOM under the following CONTRACTID prefix: + */ +#define NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "@mozilla.org/network/protocol;1?name=" +/** + * For example, "@mozilla.org/network/protocol;1?name=http" + */ +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequest.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequest.idl new file mode 100644 index 00000000..88d4438c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequest.idl @@ -0,0 +1,198 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsILoadGroup; + +typedef unsigned long nsLoadFlags; + +/** + * nsIRequest + * + * @status FROZEN + */ +[scriptable, uuid(ef6bfbd2-fd46-48d8-96b7-9f8f0fd387fe)] +interface nsIRequest : nsISupports +{ + /** + * The name of the request. Often this is the URI of the request. + */ + readonly attribute AUTF8String name; + + /** + * @return TRUE if the request has yet to reach completion. + * @return FALSE if the request has reached completion (e.g., after + * OnStopRequest has fired). + * Suspended requests are still considered pending. + */ + boolean isPending(); + + /** + * The error status associated with the request. + */ + readonly attribute nsresult status; + + /** + * Cancels the current request. This will close any open input or + * output streams and terminate any async requests. Users should + * normally pass NS_BINDING_ABORTED, although other errors may also + * be passed. The error passed in will become the value of the + * status attribute. + * + * @param aStatus the reason for canceling this request. + * + * NOTE: most nsIRequest implementations expect aStatus to be a + * failure code; however, some implementations may allow aStatus to + * be a success code such as NS_OK. In general, aStatus should be + * a failure code. + */ + void cancel(in nsresult aStatus); + + /** + * Suspends the current request. This may have the effect of closing + * any underlying transport (in order to free up resources), although + * any open streams remain logically opened and will continue delivering + * data when the transport is resumed. + * + * NOTE: some implementations are unable to immediately suspend, and + * may continue to deliver events already posted to an event queue. In + * general, callers should be capable of handling events even after + * suspending a request. + */ + void suspend(); + + /** + * Resumes the current request. This may have the effect of re-opening + * any underlying transport and will resume the delivery of data to + * any open streams. + */ + void resume(); + + /** + * The load group of this request. While pending, the request is a + * member of the load group. It is the responsibility of the request + * to implement this policy. + */ + attribute nsILoadGroup loadGroup; + + /** + * The load flags of this request. Bits 0-15 are reserved. + * + * When added to a load group, this request's load flags are merged with + * the load flags of the load group. + */ + attribute nsLoadFlags loadFlags; + + /************************************************************************** + * Listed below are the various load flags which may be or'd together. + */ + + /** + * No special load flags: + */ + const unsigned long LOAD_NORMAL = 0; + + /** + * Don't deliver status notifications to the nsIProgressEventSink, or keep + * this load from completing the nsILoadGroup it may belong to. + */ + const unsigned long LOAD_BACKGROUND = 1 << 0; + + /************************************************************************** + * The following flags control the flow of data into the cache. + */ + + /** + * This flag prevents caching of any kind. It does not, however, prevent + * cached content from being used to satisfy this request. + */ + const unsigned long INHIBIT_CACHING = 1 << 7; + + /** + * This flag prevents caching on disk (or other persistent media), which + * may be needed to preserve privacy. For HTTPS, this flag is set auto- + * matically. + */ + const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8; + + /************************************************************************** + * The following flags control what happens when the cache contains data + * that could perhaps satisfy this request. They are listed in descending + * order of precidence. + */ + + /** + * Force an end-to-end download of content data from the origin server. + * This flag is used for a shift-reload. + */ + const unsigned long LOAD_BYPASS_CACHE = 1 << 9; + + /** + * Load from the cache, bypassing protocol specific validation logic. This + * flag is used when browsing via history. It is not recommended for normal + * browsing as it may likely violate reasonable assumptions made by the + * server and confuse users. + */ + const unsigned long LOAD_FROM_CACHE = 1 << 10; + + /** + * The following flags control the frequency of cached content validation + * when neither LOAD_BYPASS_CACHE or LOAD_FROM_CACHE are set. By default, + * cached content is automatically validated if necessary before reuse. + * + * VALIDATE_ALWAYS forces validation of any cached content independent of + * its expiration time. + * + * VALIDATE_NEVER disables validation of expired content. + * + * VALIDATE_ONCE_PER_SESSION disables validation of expired content, + * provided it has already been validated (at least once) since the start + * of this session. + * + * NOTE TO IMPLEMENTORS: + * These flags are intended for normal browsing, and they should therefore + * not apply to content that must be validated before each use. Consider, + * for example, a HTTP response with a "Cache-control: no-cache" header. + * According to RFC2616, this response must be validated before it can + * be taken from a cache. Breaking this requirement could result in + * incorrect and potentially undesirable side-effects. + */ + const unsigned long VALIDATE_ALWAYS = 1 << 11; + const unsigned long VALIDATE_NEVER = 1 << 12; + const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 13; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequestObserver.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequestObserver.idl new file mode 100644 index 00000000..414a8e65 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIRequestObserver.idl @@ -0,0 +1,75 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIRequest; + +/** + * nsIRequestObserver + * + * @status FROZEN + */ +[scriptable, uuid(fd91e2e0-1481-11d3-9333-00104ba0fd40)] +interface nsIRequestObserver : nsISupports +{ + /** + * Called to signify the beginning of an asynchronous request. + * + * @param aRequest request being observed + * @param aContext user defined context + * + * An exception thrown from onStartRequest has the side-effect of + * causing the request to be canceled. + */ + void onStartRequest(in nsIRequest aRequest, + in nsISupports aContext); + + /** + * Called to signify the end of an asynchronous request. This + * call is always preceded by a call to onStartRequest. + * + * @param aRequest request being observed + * @param aContext user defined context + * @param aStatusCode reason for stopping (NS_OK if completed successfully) + * + * An exception thrown from onStopRequest is generally ignored. + */ + void onStopRequest(in nsIRequest aRequest, + in nsISupports aContext, + in nsresult aStatusCode); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistory.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistory.idl new file mode 100644 index 00000000..c67fba0d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistory.idl @@ -0,0 +1,174 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Radha Kulkarni (radha@netscape.com) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIHistoryEntry; +interface nsISHistoryListener; +interface nsISimpleEnumerator; +/** + * An interface to the primary properties of the Session History + * component. In an embedded browser environment, the nsIWebBrowser + * object creates an instance of session history for each open window. + * A handle to the session history object can be obtained from + * nsIWebNavigation. In a non-embedded situation, the owner of the + * session history component must create a instance of it and set + * it in the nsIWebNavigation object. + * This interface is accessible from javascript. + * + * @status FROZEN + */ + + +%{C++ +#define NS_SHISTORY_CID \ +{0x7294fe9c, 0x14d8, 0x11d5, {0x98, 0x82, 0x00, 0xC0, 0x4f, 0xa0, 0x2f, 0x40}} + +#define NS_SHISTORY_CONTRACTID "@mozilla.org/browser/shistory;1" +%} + +[scriptable, uuid(7294FE9B-14D8-11D5-9882-00C04FA02F40)] +interface nsISHistory: nsISupports +{ + /** + * A readonly property of the interface that returns + * the number of toplevel documents currently available + * in session history. + */ + readonly attribute long count; + + /** + * A readonly property of the interface that returns + * the index of the current document in session history. + */ + readonly attribute long index; + + /** + * A read/write property of the interface, used to Get/Set + * the maximum number of toplevel documents, session history + * can hold for each instance. + */ + attribute long maxLength; + + /** + * Called to obtain handle to the history entry at a + * given index. + * + * @param index The index value whose entry is requested. + * @param modifyIndex A boolean flag that indicates if the current + * index of session history should be modified + * to the parameter index. + * + * @return NS_OK history entry for + * the index is obtained successfully. + * NS_ERROR_FAILURE Error in obtaining + * history entry for the given index. + */ + nsIHistoryEntry getEntryAtIndex(in long index, in boolean modifyIndex); + + + /** + * Called to purge older documents from history. + * Documents can be removed from session history for various + * reasons. For example to control memory usage of the browser, to + * prevent users from loading documents from history, to erase evidence of + * prior page loads etc... + * + * @param numEntries The number of toplevel documents to be + * purged from history. During purge operation, + * the latest documents are maintained and older + * 'numEntries' documents are removed from history. + * @throws NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA Purge was vetod. + * @throws NS_ERROR_FAILURE numEntries is + * invalid or out of bounds with the size of history. + * + */ + void PurgeHistory(in long numEntries); + + /** + * Called to register a listener for the session history component. + * Listeners are notified when pages are loaded or purged from history. + * + * @param aListener Listener object to be notified for all + * page loads that initiate in session history. + * + * @note A listener object must implement + * nsISHistoryListener and nsSupportsWeakReference + * + * @see nsISHistoryListener + * @see nsSupportsWeakReference + */ + void addSHistoryListener(in nsISHistoryListener aListener); + + /** + * Called to remove a listener for the session history component. + * Listeners are notified when pages are loaded from history. + * + * @param aListener Listener object to be removed from + * session history. + * + * @note A listener object must implement + * nsISHistoryListener and nsSupportsWeakReference + * @see nsISHistoryListener + * @see nsSupportsWeakReference + */ + void removeSHistoryListener(in nsISHistoryListener aListener); + + /** + * Called to obtain a enumerator for all the documents stored in + * session history. The enumerator object thus returned by this method + * can be traversed using nsISimpleEnumerator. + * + * @note To access individual history entries of the enumerator, perform the + * following steps: + * 1) Call nsISHistory->GetSHistoryEnumerator() to obtain handle + * the nsISimpleEnumerator object. + * 2) Use nsISimpleEnumerator->GetNext() on the object returned + * by step #1 to obtain handle to the next object in the list. + * The object returned by this step is of type nsISupports. + * 3) Perform a QueryInterface on the object returned by step #2 + * to nsIHistoryEntry. + * 4) Use nsIHistoryEntry to access properties of each history entry. + * + * @see nsISimpleEnumerator + * @see nsIHistoryEntry + * @see QueryInterface() + * @see do_QueryInterface() + */ + readonly attribute nsISimpleEnumerator SHistoryEnumerator; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistoryListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistoryListener.idl new file mode 100644 index 00000000..bc6fdc85 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISHistoryListener.idl @@ -0,0 +1,179 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIURI; + + +/** + * nsISHistoryListener defines the interface for an object that wishes + * to receive notifications about activities in History. A history + * listener will be notified when pages are added, removed and loaded + * from session history. A listener to session history can be registered + * using the interface nsISHistory. + * + * @status FROZEN + */ +%{C++ +#define NS_SHISTORYLISTENER_CONTRACTID "@mozilla.org/browser/shistorylistener;1" +%} + +// interface nsISHistoryListener + +[scriptable, uuid(3b07f591-e8e1-11d4-9882-00c04fa02f40)] +interface nsISHistoryListener : nsISupports +{ + + /** + * called to notify a listener when a new document is + * added to session history. New documents are added to + * session history by docshell when new pages are loaded + * in a frame or content area. + * + * @param aNewURI The uri of the document to be added to session history + * + * @return NS_OK notification sent out successfully + */ + void OnHistoryNewEntry(in nsIURI aNewURI); + + /** + * called to notify a listener when the user presses the 'back' button + * of the browser OR when the user attempts to go back one page + * in history thro' other means, from javascript or using nsIWebNavigation + * + * @param aBackURI The uri of the previous page which is to be + * loaded. + * + * @return aReturn A boolean flag returned by the listener to + * indicate if the back operation is to be aborted + * or continued. If the listener returns 'true', it indicates + * that the back operation can be continued. If the listener + * returns 'false', then the back operation will be aborted. + * This is a mechanism for the listener to control user's + * operations with history. + * + */ + boolean OnHistoryGoBack(in nsIURI aBackURI); + + /** + * called to notify a listener when the user presses the 'forward' button + * of the browser OR when the user attempts to go forward one page + * in history thro' other means, from javascript or using nsIWebNavigation + * + * @param aForwardURI The uri of the next page which is to be + * loaded. + * + * @return aReturn A boolean flag returned by the listener to + * indicate if the forward operation is to be aborted + * or continued. If the listener returns 'true', it indicates + * that the forward operation can be continued. If the listener + * returns 'false', then the forward operation will be aborted. + * This is a mechanism for the listener to control user's + * operations with history. + * + */ + boolean OnHistoryGoForward(in nsIURI aForwardURI); + + /** + * called to notify a listener when the user presses the 'reload' button + * of the browser OR when the user attempts to reload the current document + * through other means, like from javascript or using nsIWebNavigation + * + * @param aReloadURI The uri of the current document to be reloaded. + * @param aReloadFlags Flags that indicate how the document is to be + * refreshed. For example, from cache or bypassing + * cache and/or Proxy server. + * @return aReturn A boolean flag returned by the listener to indicate + * if the reload operation is to be aborted or continued. + * If the listener returns 'true', it indicates that the + * reload operation can be continued. If the listener + * returns 'false', then the reload operation will be aborted. + * This is a mechanism for the listener to control user's + * operations with history. + * @see nsIWebNavigation + * + */ + boolean OnHistoryReload(in nsIURI aReloadURI, in unsigned long aReloadFlags); + + /** + * called to notify a listener when the user visits a page using the 'Go' menu + * of the browser OR when the user attempts to go to a page at a particular index + * through other means, like from javascript or using nsIWebNavigation + * + * @param aIndex The index in history of the document to be loaded. + * @param aGotoURI The uri of the document to be loaded. + * + * @return aReturn A boolean flag returned by the listener to + * indicate if the GotoIndex operation is to be aborted + * or continued. If the listener returns 'true', it indicates + * that the GotoIndex operation can be continued. If the listener + * returns 'false', then the GotoIndex operation will be aborted. + * This is a mechanism for the listener to control user's + * operations with history. + * + */ + boolean OnHistoryGotoIndex(in long aIndex, in nsIURI aGotoURI); + + /** + * called to notify a listener when documents are removed from session + * history. Documents can be removed from session history for various + * reasons. For example to control the memory usage of the browser, to + * prevent users from loading documents from history, to erase evidence of + * prior page loads etc... To purge documents from session history call + * nsISHistory::PurgeHistory() + * + * @param aNumEntries The number of documents to be removed from session history. + * + * @return aReturn A boolean flag returned by the listener to + * indicate if the purge operation is to be aborted + * or continued. If the listener returns 'true', it indicates + * that the purge operation can be continued. If the listener + * returns 'false', then the purge operation will be aborted. + * This is a mechanism for the listener to control user's + * operations with history. + * + * @note While purging history, the older documents are removed + * and newly loaded documents are kept. For example if there + * are 5 documents in history, and nsISHistory::PurgeHistory(3) + * is called, then, document 1, 2 and 3 are removed from history + * and most recently loaded document 4 and 5 are kept. + * + */ + boolean OnHistoryPurge(in long aNumEntries); +}; \ No newline at end of file diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIScriptableInputStream.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIScriptableInputStream.idl new file mode 100644 index 00000000..9a21b1d0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIScriptableInputStream.idl @@ -0,0 +1,73 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInputStream; + +/** + * nsIScriptableInputStream provides scriptable access to the nsIInputStream. + * + * @status FROZEN + */ +[scriptable, uuid(a2a32f90-9b90-11d3-a189-0050041caf44)] +interface nsIScriptableInputStream : nsISupports +{ + /** + * Closes the stream. + */ + void close(); + + /** Wrap the given nsIInputStream with this nsIScriptableInputStream. + * @param aInputStream [in] parameter providing the stream to wrap + */ + void init(in nsIInputStream aInputStream); + + /** Return the number of bytes currently available in the stream + * @param _retval [out] parameter to hold the number of bytes + * if an error occurs, the parameter will be undefined + * @return error status + */ + unsigned long available(); + + /** Read data from the stream. + * @param aCount [in] the maximum number of bytes to read + * @param _retval [out] the data + */ + string read(in unsigned long aCount); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISecurityWarningDialogs.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISecurityWarningDialogs.idl new file mode 100644 index 00000000..e493911e --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISecurityWarningDialogs.idl @@ -0,0 +1,124 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Terry Hayes + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInterfaceRequestor; + +/** + * Functions that display warnings for transitions between secure + * and insecure pages, posts to insecure servers etc. + * + * @status FROZEN + */ +[scriptable, uuid(1c399d06-1dd2-11b2-bc58-c87cbcacdb78)] +interface nsISecurityWarningDialogs : nsISupports +{ + /** + * Inform the user that a transition + * from an insecure page + * to a secure page + * is happening. + * + * @param ctx A user interface context. + * + * @return true if the user confirms to continue + */ + boolean confirmEnteringSecure(in nsIInterfaceRequestor ctx); + + /** + * Inform the user that a transition + * from an insecure page + * or from a secure page + * to a weak security page + * is happening. + * + * @param ctx A user interface context. + * + * @return true if the user confirms to continue + */ + boolean confirmEnteringWeak(in nsIInterfaceRequestor ctx); + + /** + * Inform the user that a transition + * from a secure page + * to an insecure page + * is happening. + * + * @param ctx A user interface context. + * + * @return true if the user confirms to continue + */ + boolean confirmLeavingSecure(in nsIInterfaceRequestor ctx); + + /** + * Inform the user the currently displayed page + * contains some secure and some insecure page components. + * + * @param ctx A user interface context. + * + * @return true if the user decides to show insecure objects. + */ + boolean confirmMixedMode(in nsIInterfaceRequestor ctx); + + /** + * Inform the user that information is being submitted + * to an insecure page. + * + * @param ctx A user interface context. + * + * @return true if the user confirms to submit. + */ + boolean confirmPostToInsecure(in nsIInterfaceRequestor ctx); + + /** + * Inform the user: Although the currently displayed + * page was loaded using a secure connection, and the UI probably + * currently indicates a secure page, + * that information is being submitted to an insecure page. + * + * @param ctx A user interface context. + * + * @return true if the user confirms to submit. + */ + boolean confirmPostToInsecureFromSecure(in nsIInterfaceRequestor ctx); +}; + +%{C++ +#define NS_SECURITYWARNINGDIALOGS_CONTRACTID "@mozilla.org/nsSecurityWarningDialogs;1" +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISelection.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISelection.idl new file mode 100644 index 00000000..7a4c1614 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISelection.idl @@ -0,0 +1,170 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/* THIS IS A PUBLIC INTERFACE */ + +interface nsIDOMNode; +interface nsIDOMRange; + +/** + * Interface for manipulating and querying the current selected range + * of nodes within the document. + * + * @status FROZEN + * @version 1.0 + */ + +[scriptable, uuid(B2C7ED59-8634-4352-9E37-5484C8B6E4E1)] +interface nsISelection : nsISupports +{ + /** + * The node representing one end of the selection. + */ + readonly attribute nsIDOMNode anchorNode; + + /** + * The offset within the (text) node where the selection begins. + */ + readonly attribute long anchorOffset; + + /** + * The node with keyboard focus. + */ + readonly attribute nsIDOMNode focusNode; + + /** + * The offset within the (text) node where focus starts. + */ + readonly attribute long focusOffset; + + /** + * Indicates if the selection is collapsed or not. + */ + readonly attribute boolean isCollapsed; + + /** + * Returns the number of ranges in the selection. + */ + readonly attribute long rangeCount; + + /** + * Returns the range at the specified index. + */ + nsIDOMRange getRangeAt(in long index); + + /** + * Collapses the selection to a single point, at the specified offset + * in the given DOM node. When the selection is collapsed, and the content + * is focused and editable, the caret will blink there. + * @param parentNode The given dom node where the selection will be set + * @param offset Where in given dom node to place the selection (the offset into the given node) + */ + void collapse(in nsIDOMNode parentNode, in long offset); + + + /** + * Extends the selection by moving the focus to the specified node and offset, + * preserving the anchor postion. The new selection end result will always + * be from the anchor to the new focus, regardless of direction. + * @param parentNode The node where the selection will be extended to + * @param offset Where in node to place the offset in the new focused node + */ + void extend(in nsIDOMNode parentNode, in long offset); + + /** + * Collapses the whole selection to a single point at the start + * of the current selection (irrespective of direction). If content + * is focused and editable, the caret will blink there. + */ + void collapseToStart(); + + /** + * Collapses the whole selection to a single point at the end + * of the current selection (irrespective of direction). If content + * is focused and editable, the caret will blink there. + */ + void collapseToEnd(); + + /** + * The value of entirelyContained determines the detail of the search to determine if + * the selection contains the node. If entirelyContained is set to PR_TRUE, t + * or false if + * @param node The node where the selection will be extended to + * @param entirelyContained Whether + */ + boolean containsNode(in nsIDOMNode node, in boolean entirelyContained); + + /** + * Adds all children of the specified node to the selection. + * @param parentNode the parent of the children to be added to the selection. + */ + void selectAllChildren(in nsIDOMNode parentNode); + + /** + * Adds a range to the current selection. + */ + void addRange(in nsIDOMRange range); + + /** + * Removes a range from the current selection. + */ + void removeRange(in nsIDOMRange range); + + /** + * Removes all ranges from the current selection. + */ + void removeAllRanges(); + + /** + * Deletes this selection from document the nodes belong to. + */ + void deleteFromDocument(); + + /** + * Modifies the cursor Bidi level after a change in keyboard direction + * @param langRTL is PR_TRUE if the new language is right-to-left or + * PR_FALSE if the new language is left-to-right. + */ + void selectionLanguageChange(in boolean langRTL); + + /** + * Returns the whole selection into a plain text string. + */ + wstring toString(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIServiceManager.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIServiceManager.idl new file mode 100644 index 00000000..13aaba7c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIServiceManager.idl @@ -0,0 +1,113 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is XPCOM. + * + * The Initial Developer of the Original Code is Netscape Communications. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + + +#include "nsISupports.idl" + +/** + * The nsIServiceManager manager interface provides a means to obtain + * global services in an application. The service manager depends on the + * repository to find and instantiate factories to obtain services. + * + * Users of the service manager must first obtain a pointer to the global + * service manager by calling NS_GetServiceManager. After that, + * they can request specific services by calling GetService. When they are + * finished they can NS_RELEASE() the service as usual. + * + * A user of a service may keep references to particular services indefinitely + * and only must call Release when it shuts down. + * + * @status FROZEN + */ + +[scriptable, uuid(8bb35ed9-e332-462d-9155-4a002ab5c958)] +interface nsIServiceManager : nsISupports +{ + /** + * getServiceByContractID + * + * Returns the instance that implements aClass or aContractID and the + * interface aIID. This may result in the instance being created. + * + * @param aClass or aContractID : aClass or aContractID of object + * instance requested + * @param aIID : IID of interface requested + * @param result : resulting service + */ + void getService(in nsCIDRef aClass, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); + + void getServiceByContractID(in string aContractID, + in nsIIDRef aIID, + [iid_is(aIID),retval] out nsQIResult result); + + /** + * isServiceInstantiated + * + * isServiceInstantiated will return a true if the service has already + * been created, otherwise false + * + * @param aClass or aContractID : aClass or aContractID of object + * instance requested + * @param aIID : IID of interface requested + * @param aIID : IID of interface requested + */ + boolean isServiceInstantiated(in nsCIDRef aClass, in nsIIDRef aIID); + boolean isServiceInstantiatedByContractID(in string aContractID, in nsIIDRef aIID); +}; + + +%{C++ +#define NS_ERROR_SERVICE_NOT_AVAILABLE NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_XPCOM, 22) +/** + * @status DEPRECATED + */ +#define NS_ERROR_SERVICE_NOT_FOUND NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_XPCOM, 22) +/** + * @status DEPRECATED + */ +#define NS_ERROR_SERVICE_IN_USE NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_XPCOM, 23) + +// Observing xpcom autoregistration. Topics will be 'start' and 'stop'. +#define NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID "xpcom-autoregistration" + +#ifdef MOZILLA_INTERNAL_API +#include "nsXPCOM.h" +#include "nsServiceManagerUtils.h" +#include "nsIServiceManagerObsolete.h" +#endif +%} + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISimpleEnumerator.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISimpleEnumerator.idl new file mode 100644 index 00000000..3f0efbf5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISimpleEnumerator.idl @@ -0,0 +1,81 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * Used to enumerate over elements defined by its implementor. + * Although hasMoreElements() can be called independently of getNext(), + * getNext() must be pre-ceeded by a call to hasMoreElements(). There is + * no way to "reset" an enumerator, once you obtain one. + * + * @status FROZEN + * @version 1.0 + */ + +[scriptable, uuid(D1899240-F9D2-11D2-BDD6-000064657374)] +interface nsISimpleEnumerator : nsISupports { + /** + * Called to determine whether or not the enumerator has + * any elements that can be returned via getNext(). This method + * is generally used to determine whether or not to initiate or + * continue iteration over the enumerator, though it can be + * called without subsequent getNext() calls. Does not affect + * internal state of enumerator. + * + * @see getNext() + * @return PR_TRUE if there are remaining elements in the enumerator. + * PR_FALSE if there are no more elements in the enumerator. + */ + boolean hasMoreElements(); + + /** + * Called to retrieve the next element in the enumerator. The "next" + * element is the first element upon the first call. Must be + * pre-ceeded by a call to hasMoreElements() which returns PR_TRUE. + * This method is generally called within a loop to iterate over + * the elements in the enumerator. + * + * @see hasMoreElements() + * @return NS_OK if the call succeeded in returning a non-null + * value through the out parameter. + * NS_ERROR_FAILURE if there are no more elements + * to enumerate. + * @return the next element in the enumeration. + */ + nsISupports getNext(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIStreamListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIStreamListener.idl new file mode 100644 index 00000000..7c1cac80 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIStreamListener.idl @@ -0,0 +1,71 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIRequestObserver.idl" + +interface nsIInputStream; + +/** + * nsIStreamListener + * + * @status FROZEN + */ +[scriptable, uuid(1a637020-1482-11d3-9333-00104ba0fd40)] +interface nsIStreamListener : nsIRequestObserver +{ + /** + * Called when the next chunk of data (corresponding to the request) may + * be read without blocking the calling thread. The onDataAvailable impl + * must read exactly |aCount| bytes of data before returning. + * + * @param aRequest request corresponding to the source of the data + * @param aContext user defined context + * @param aInputStream input stream containing the data chunk + * @param aOffset current stream position + * @param aCount number of bytes available in the stream + * + * NOTE: The aInputStream parameter must implement readSegments. + * + * An exception thrown from onDataAvailable has the side-effect of + * causing the request to be canceled. + */ + void onDataAvailable(in nsIRequest aRequest, + in nsISupports aContext, + in nsIInputStream aInputStream, + in unsigned long aOffset, + in unsigned long aCount); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISupports.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISupports.idl new file mode 100644 index 00000000..b1127b4c --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISupports.idl @@ -0,0 +1,77 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * The mother of all xpcom interfaces. + * @status FROZEN + */ + +/* In order to get both the right typelib and the right header we force +* the 'real' output from xpidl to be commented out in the generated header +* and includes a copy of the original nsISupports.h. This is all just to deal +* with the Mac specific ": public __comobject" thing. +*/ + +#include "nsrootidl.idl" + +%{C++ +/* + * Start commenting out the C++ versions of the below in the output header + */ +#if 0 +%} + +[scriptable, uuid(00000000-0000-0000-c000-000000000046)] +interface nsISupports { + void QueryInterface(in nsIIDRef uuid, + [iid_is(uuid),retval] out nsQIResult result); + [noscript, notxpcom] nsrefcnt AddRef(); + [noscript, notxpcom] nsrefcnt Release(); +}; + +%{C++ +/* + * End commenting out the C++ versions of the above in the output header + */ +#endif +%} + + +%{C++ +#include "nsISupportsBase.h" +#include "nsISupportsUtils.h" +%} diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsISupportsPrimitives.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsISupportsPrimitives.idl new file mode 100644 index 00000000..680e5599 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsISupportsPrimitives.idl @@ -0,0 +1,304 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Dan Rosen + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* nsISupports wrappers for single primitive pieces of data. */ + +#include "nsISupports.idl" + +/** + * Primitive base interface. + * + * These first three are pointer types and do data copying + * using the nsIMemory. Be careful! + * + * @status FROZEN + */ + +[scriptable, uuid(d0d4b136-1dd1-11b2-9371-f0727ef827c0)] +interface nsISupportsPrimitive : nsISupports +{ + const unsigned short TYPE_ID = 1; + const unsigned short TYPE_CSTRING = 2; + const unsigned short TYPE_STRING = 3; + const unsigned short TYPE_PRBOOL = 4; + const unsigned short TYPE_PRUINT8 = 5; + const unsigned short TYPE_PRUINT16 = 6; + const unsigned short TYPE_PRUINT32 = 7; + const unsigned short TYPE_PRUINT64 = 8; + const unsigned short TYPE_PRTIME = 9; + const unsigned short TYPE_CHAR = 10; + const unsigned short TYPE_PRINT16 = 11; + const unsigned short TYPE_PRINT32 = 12; + const unsigned short TYPE_PRINT64 = 13; + const unsigned short TYPE_FLOAT = 14; + const unsigned short TYPE_DOUBLE = 15; + const unsigned short TYPE_VOID = 16; + const unsigned short TYPE_INTERFACE_POINTER = 17; + + readonly attribute unsigned short type; +}; + +/** + * Scriptable storage for nsID structures + * + * @status FROZEN + */ + +[scriptable, uuid(d18290a0-4a1c-11d3-9890-006008962422)] +interface nsISupportsID : nsISupportsPrimitive +{ + attribute nsIDPtr data; + string toString(); +}; + +/** + * Scriptable storage for ASCII strings + * + * @status FROZEN + */ + +[scriptable, uuid(d65ff270-4a1c-11d3-9890-006008962422)] +interface nsISupportsCString : nsISupportsPrimitive +{ + attribute ACString data; + string toString(); +}; + +/** + * Scriptable storage for Unicode strings + * + * @status FROZEN + */ + +[scriptable, uuid(d79dc970-4a1c-11d3-9890-006008962422)] +interface nsISupportsString : nsISupportsPrimitive +{ + attribute AString data; + wstring toString(); +}; + +/** + * The rest are truly primitive and are passed by value + */ + +/** + * Scriptable storage for booleans + * + * @status FROZEN + */ + +[scriptable, uuid(ddc3b490-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRBool : nsISupportsPrimitive +{ + attribute PRBool data; + string toString(); +}; + +/** + * Scriptable storage for 8-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(dec2e4e0-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRUint8 : nsISupportsPrimitive +{ + attribute PRUint8 data; + string toString(); +}; + +/** + * Scriptable storage for unsigned 16-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(dfacb090-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRUint16 : nsISupportsPrimitive +{ + attribute PRUint16 data; + string toString(); +}; + +/** + * Scriptable storage for unsigned 32-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(e01dc470-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRUint32 : nsISupportsPrimitive +{ + attribute PRUint32 data; + string toString(); +}; + +/** + * Scriptable storage for 64-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(e13567c0-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRUint64 : nsISupportsPrimitive +{ + attribute PRUint64 data; + string toString(); +}; + +/** + * Scriptable storage for NSPR date/time values + * + * @status FROZEN + */ + +[scriptable, uuid(e2563630-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRTime : nsISupportsPrimitive +{ + attribute PRTime data; + string toString(); +}; + +/** + * Scriptable storage for single character values + * (often used to store an ASCII character) + * + * @status FROZEN + */ + +[scriptable, uuid(e2b05e40-4a1c-11d3-9890-006008962422)] +interface nsISupportsChar : nsISupportsPrimitive +{ + attribute char data; + string toString(); +}; + +/** + * Scriptable storage for 16-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(e30d94b0-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRInt16 : nsISupportsPrimitive +{ + attribute PRInt16 data; + string toString(); +}; + +/** + * Scriptable storage for 32-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(e36c5250-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRInt32 : nsISupportsPrimitive +{ + attribute PRInt32 data; + string toString(); +}; + +/** + * Scriptable storage for 64-bit integers + * + * @status FROZEN + */ + +[scriptable, uuid(e3cb0ff0-4a1c-11d3-9890-006008962422)] +interface nsISupportsPRInt64 : nsISupportsPrimitive +{ + attribute PRInt64 data; + string toString(); +}; + +/** + * Scriptable storage for floating point numbers + * + * @status FROZEN + */ + +[scriptable, uuid(abeaa390-4ac0-11d3-baea-00805f8a5dd7)] +interface nsISupportsFloat : nsISupportsPrimitive +{ + attribute float data; + string toString(); +}; + +/** + * Scriptable storage for doubles + * + * @status FROZEN + */ + +[scriptable, uuid(b32523a0-4ac0-11d3-baea-00805f8a5dd7)] +interface nsISupportsDouble : nsISupportsPrimitive +{ + attribute double data; + string toString(); +}; + +/** + * Scriptable storage for generic pointers + * + * @status FROZEN + */ + +[scriptable, uuid(464484f0-568d-11d3-baf8-00805f8a5dd7)] +interface nsISupportsVoid : nsISupportsPrimitive +{ + [noscript] attribute voidPtr data; + string toString(); +}; + +/** + * Scriptable storage for other XPCOM objects + * + * @status FROZEN + */ + +[scriptable, uuid(995ea724-1dd1-11b2-9211-c21bdd3e7ed0)] +interface nsISupportsInterfacePointer : nsISupportsPrimitive +{ + attribute nsISupports data; + attribute nsIDPtr dataIID; + + string toString(); +}; + + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipListener.idl new file mode 100644 index 00000000..42cbeb7a --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipListener.idl @@ -0,0 +1,78 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Mike Pinkerton + * Adam Lock + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * An optional interface for embedding clients wishing to receive + * notifications for when a tooltip should be displayed or removed. + * The embedder implements this interface on the web browser chrome + * object associated with the window that notifications are required + * for. + * + * @see nsITooltipTextProvider + * + * @status FROZEN + */ +[scriptable, uuid(44b78386-1dd2-11b2-9ad2-e4eee2ca1916)] +interface nsITooltipListener : nsISupports +{ + /** + * Called when a tooltip should be displayed. + * + * @param aXCoords The tooltip left edge X coordinate. + * @param aYCoords The tooltip top edge Y coordinate. + * @param aTipText The text to display in the tooltip, typically obtained + * from the TITLE attribute of the node (or containing parent) + * over which the pointer has been positioned. + * + * @note + * Coordinates are specified in pixels, relative to the top-left + * corner of the browser area. + * + * @return NS_OK if the tooltip was displayed. + */ + void onShowTooltip(in long aXCoords, in long aYCoords, in wstring aTipText); + + /** + * Called when the tooltip should be hidden, either because the pointer + * has moved or the tooltip has timed out. + */ + void onHideTooltip(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipTextProvider.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipTextProvider.idl new file mode 100644 index 00000000..211fddfd --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsITooltipTextProvider.idl @@ -0,0 +1,78 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Adam Lock + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIDOMNode; + +/** + * An interface implemented by a tooltip text provider service. This + * service is called to discover what tooltip text is associated + * with the node that the pointer is positioned over. + * + * Embedders may implement and register their own tooltip text provider + * service if they wish to provide different tooltip text. + * + * The default service returns the text stored in the TITLE + * attribute of the node or a containing parent. + * + * @note + * The tooltip text provider service is registered with the contract + * defined in NS_TOOLTIPTEXTPROVIDER_CONTRACTID. + * + * @see nsITooltipListener + * @see nsIComponentManager + * @see nsIDOMNode + * + * @status FROZEN + */ +[scriptable, uuid(b128a1e6-44f3-4331-8fbe-5af360ff21ee)] +interface nsITooltipTextProvider : nsISupports +{ + /** + * Called to obtain the tooltip text for a node. + * + * @arg aNode The node to obtain the text from. + * @arg aText The tooltip text. + * + * @return PR_TRUE if tooltip text is associated + * with the node and was returned in the aText argument; + * PR_FALSE otherwise. + */ + boolean getNodeText(in nsIDOMNode aNode, out wstring aText); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsITraceRefcnt.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsITraceRefcnt.idl new file mode 100644 index 00000000..536861a0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsITraceRefcnt.idl @@ -0,0 +1,72 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is XPCOM + * + * The Initial Developer of the Original Code is Doug Turner + * + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + + +#include "nsISupports.idl" + +/** + * nsITraceRefcnt is an interface between XPCOM Glue and XPCOM. Users should + * access the nsITraceRefcnt interface through the static class nsTraceRefcnt. + * @see nsTraceRefcnt.h + * + * @status UNDER_REVIEW + */ + +[uuid(273dc92f-0fe6-4545-96a9-21be77828039)] +interface nsITraceRefcnt : nsISupports +{ + void logAddRef(in voidPtr aPtr, + in nsrefcnt aNewRefcnt, + in string aTypeName, + in unsigned long aInstanceSize); + + void logRelease(in voidPtr aPtr, + in nsrefcnt aNewRefcnt, + in string aTypeName); + + void logCtor(in voidPtr aPtr, + in string aTypeName, + in unsigned long aInstanceSize); + + void logDtor(in voidPtr aPtr, + in string aTypeName, + in unsigned long aInstanceSize); + + + void logAddCOMPtr(in voidPtr aPtr, in nsISupports aObject); + + void logReleaseCOMPtr(in voidPtr aPtr, in nsISupports aObject); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIURI.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURI.idl new file mode 100644 index 00000000..6767a6f9 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURI.idl @@ -0,0 +1,232 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Gagan Saksena (original author) + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * URIs are essentially structured names for things -- anything. This interface + * provides accessors to set and query the most basic components of an URI. + * Subclasses, including nsIURL, impose greater structure on the URI. + * + * This interface follows Tim Berners-Lee's URI spec (RFC2396) [1], where the + * basic URI components are defined as such: + * + * ftp://username:password@hostname:portnumber/pathname + * \ / \ / \ / \ /\ / + * - --------------- ------ -------- ------- + * | | | | | + * | | | | Path + * | | | Port + * | | Host / + * | UserPass / + * Scheme / + * \ / + * -------------------------------- + * | + * PrePath + * + * The definition of the URI components has been extended to allow for + * internationalized domain names [2] and the more generic IRI structure [3]. + * + * [1] http://www.ietf.org/rfc/rfc2396.txt + * [2] http://www.ietf.org/internet-drafts/draft-ietf-idn-idna-06.txt + * [3] http://www.ietf.org/internet-drafts/draft-masinter-url-i18n-08.txt + */ + +%{C++ +#undef GetPort // XXX Windows! +#undef SetPort // XXX Windows! +%} + +/** + * nsIURI - interface for an uniform resource identifier w/ i18n support. + * + * AUTF8String attributes may contain unescaped UTF-8 characters. + * Consumers should be careful to escape the UTF-8 strings as necessary, but + * should always try to "display" the UTF-8 version as provided by this + * interface. + * + * AUTF8String attributes may also contain escaped characters. + * + * Unescaping URI segments is unadvised unless there is intimate + * knowledge of the underlying charset or there is no plan to display (or + * otherwise enforce a charset on) the resulting URI substring. + * + * @status FROZEN + */ +[scriptable, uuid(07a22cc0-0ce5-11d3-9331-00104ba0fd40)] +interface nsIURI : nsISupports +{ + /************************************************************************ + * The URI is broken down into the following principal components: + */ + + /** + * Returns a string representation of the URI. Setting the spec causes + * the new spec to be parsed, initializing the URI. + * + * Some characters may be escaped. + */ + attribute AUTF8String spec; + + /** + * The prePath (eg. scheme://user:password@host:port) returns the string + * before the path. This is useful for authentication or managing sessions. + * + * Some characters may be escaped. + */ + readonly attribute AUTF8String prePath; + + /** + * The Scheme is the protocol to which this URI refers. The scheme is + * restricted to the US-ASCII charset per RFC2396. + */ + attribute ACString scheme; + + /** + * The username:password (or username only if value doesn't contain a ':') + * + * Some characters may be escaped. + */ + attribute AUTF8String userPass; + + /** + * The optional username and password, assuming the preHost consists of + * username:password. + * + * Some characters may be escaped. + */ + attribute AUTF8String username; + attribute AUTF8String password; + + /** + * The host:port (or simply the host, if port == -1). + * + * Characters are NOT escaped. + */ + attribute AUTF8String hostPort; + + /** + * The host is the internet domain name to which this URI refers. It could + * be an IPv4 (or IPv6) address literal. If supported, it could be a + * non-ASCII internationalized domain name. + * + * Characters are NOT escaped. + */ + attribute AUTF8String host; + + /** + * A port value of -1 corresponds to the protocol's default port (eg. -1 + * implies port 80 for http URIs). + */ + attribute long port; + + /** + * The path, typically including at least a leading '/' (but may also be + * empty, depending on the protocol). + * + * Some characters may be escaped. + */ + attribute AUTF8String path; + + + /************************************************************************ + * An URI supports the following methods: + */ + + /** + * URI equivalence test (not a strict string comparison). + * + * eg. http://foo.com:80/ == http://foo.com/ + */ + boolean equals(in nsIURI other); + + /** + * An optimization to do scheme checks without requiring the users of nsIURI + * to GetScheme, thereby saving extra allocating and freeing. Returns true if + * the schemes match (case ignored). + */ + boolean schemeIs(in string scheme); + + /** + * Clones the current URI. For some protocols, this is more than just an + * optimization. For example, under MacOS, the spec of a file URL does not + * necessarily uniquely identify a file since two volumes could share the + * same name. + */ + nsIURI clone(); + + /** + * This method resolves a relative string into an absolute URI string, + * using this URI as the base. + * + * NOTE: some implementations may have no concept of a relative URI. + */ + AUTF8String resolve(in AUTF8String relativePath); + + + /************************************************************************ + * Additional attributes: + */ + + /** + * The URI spec with an ASCII compatible encoding. Host portion follows + * the IDNA draft spec. Other parts are URL-escaped per the rules of + * RFC2396. The result is strictly ASCII. + */ + readonly attribute ACString asciiSpec; + + /** + * The URI host with an ASCII compatible encoding. Follows the IDNA + * draft spec for converting internationalized domain names (UTF-8) to + * ASCII for compatibility with existing internet infrasture. + */ + readonly attribute ACString asciiHost; + + /** + * The charset of the document from which this URI originated. An empty + * value implies UTF-8. + * + * If this value is something other than UTF-8 then the URI components + * (e.g., spec, prePath, username, etc.) will all be fully URL-escaped. + * Otherwise, the URI components may contain unescaped multibyte UTF-8 + * characters. + */ + readonly attribute ACString originCharset; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIURIContentListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURIContentListener.idl new file mode 100644 index 00000000..e4c7a294 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURIContentListener.idl @@ -0,0 +1,167 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIRequest; +interface nsIStreamListener; +interface nsIURI; + +/** + * nsIURIContentListener is an interface used by components which + * want to know (and have a chance to handle) a particular content type. + * Typical usage scenarios will include running applications which register + * a nsIURIContentListener for each of its content windows with the uri + * dispatcher service. + * + * @status FROZEN + */ +[scriptable, uuid(94928AB3-8B63-11d3-989D-001083010E9B)] +interface nsIURIContentListener : nsISupports +{ + /** + * Gives the original content listener first crack at stopping a load before + * it happens. + * + * @param aURI URI that is being opened. + * + * @return false if the load can continue; + * true if the open should be aborted. + */ + boolean onStartURIOpen(in nsIURI aURI); + + /** + * Notifies the content listener to hook up an nsIStreamListener capable of + * consuming the data stream. + * + * @param aContentType Content type of the data. + * @param aIsContentPreferred Indicates whether the content should be + * preferred by this listener. + * @param aRequest Request that is providing the data. + * @param aContentHandler nsIStreamListener that will consume the data. + * This should be set to nsnull if + * this content listener can't handle the content + * type. + * + * @return true if the consumer wants to + * handle the load completely by itself. This + * causes the URI Loader do nothing else... + * false if the URI Loader should + * continue handling the load and call the + * returned streamlistener's methods. + */ + boolean doContent(in string aContentType, + in boolean aIsContentPreferred, + in nsIRequest aRequest, + out nsIStreamListener aContentHandler); + + /** + * When given a uri to dispatch, if the URI is specified as 'preferred + * content' then the uri loader tries to find a preferred content handler + * for the content type. The thought is that many content listeners may + * be able to handle the same content type if they have to. i.e. the mail + * content window can handle text/html just like a browser window content + * listener. However, if the user clicks on a link with text/html content, + * then the browser window should handle that content and not the mail + * window where the user may have clicked the link. This is the difference + * between isPreferred and canHandleContent. + * + * @param aContentType Content type of the data. + * @param aDesiredContentType Indicates that aContentType must be converted + * to aDesiredContentType before processing the + * data. This causes a stream converted to be + * inserted into the nsIStreamListener chain. + * This argument can be nsnull if + * the content should be consumed directly as + * aContentType. + * + * @return true if this is a preferred + * content handler for aContentType; + * false otherwise. + */ + boolean isPreferred(in string aContentType, out string aDesiredContentType); + + /** + * When given a uri to dispatch, if the URI is not specified as 'preferred + * content' then the uri loader calls canHandleContent to see if the content + * listener is capable of handling the content. + * + * @param aContentType Content type of the data. + * @param aIsContentPreferred Indicates whether the content should be + * preferred by this listener. + * @param aDesiredContentType Indicates that aContentType must be converted + * to aDesiredContentType before processing the + * data. This causes a stream converted to be + * inserted into the nsIStreamListener chain. + * This argument can be nsnull if + * the content should be consumed directly as + * aContentType. + * + * @return true if the data can be consumed. + * false otherwise. + * + * Note: I really envision canHandleContent as a method implemented + * by the docshell as the implementation is generic to all doc + * shells. The isPreferred decision is a decision made by a top level + * application content listener that sits at the top of the docshell + * hierarchy. + */ + boolean canHandleContent(in string aContentType, + in boolean aIsContentPreferred, + out string aDesiredContentType); + + /** + * The load context associated with a particular content listener. + * The URI Loader stores and accesses this value as needed. + */ + attribute nsISupports loadCookie; + + /** + * The parent content listener if this particular listener is part of a chain + * of content listeners (i.e. a docshell!) + * + * @note If this attribute is set to an object that implements + * nsISupportsWeakReference, the implementation should get the + * nsIWeakReference and hold that. Otherwise, the implementation + * should not refcount this interface; it should assume that a non + * null value is always valid. In that case, the caller is + * responsible for explicitly setting this value back to null if the + * parent content listener is destroyed. + */ + attribute nsIURIContentListener parentContentListener; +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIURL.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURL.idl new file mode 100644 index 00000000..8c735b9d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIURL.idl @@ -0,0 +1,183 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Gagan Saksena (original author) + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIURI.idl" + +/** + * The nsIURL interface provides convenience methods that further + * break down the path portion of nsIURI: + * + * http://directory/fileBaseName.fileExtension?query + * http://directory/fileBaseName.fileExtension#ref + * http://directory/fileBaseName.fileExtension;param + * \ \ / + * \ ----------------------- + * \ | / + * \ fileName / + * ---------------------------- + * | + * filePath + * + * @status FROZEN + */ +[scriptable, uuid(d6116970-8034-11d3-9399-00104ba0fd40)] +interface nsIURL : nsIURI +{ + /************************************************************************* + * The URL path is broken down into the following principal components: + */ + + /** + * Returns a path including the directory and file portions of a + * URL. For example, the filePath of "http://foo/bar.html#baz" is + * "/foo/bar.html". + * + * Some characters may be escaped. + */ + attribute AUTF8String filePath; + + /** + * Returns the parameters specified after the ; in the URL. + * + * Some characters may be escaped. + */ + attribute AUTF8String param; + + /** + * Returns the query portion (the part after the "?") of the URL. + * If there isn't one, an empty string is returned. + * + * Some characters may be escaped. + */ + attribute AUTF8String query; + + /** + * Returns the reference portion (the part after the "#") of the URL. + * If there isn't one, an empty string is returned. + * + * Some characters may be escaped. + */ + attribute AUTF8String ref; + + + /************************************************************************* + * The URL filepath is broken down into the following sub-components: + */ + + /** + * Returns the directory portion of a URL. + * If the URL denotes a path to a directory and not a file, + * e.g. http://foo/bar/, then the Directory attribute accesses + * the complete /foo/bar/ portion, and the FileName is the + * empty string. If the trailing slash is omitted, then the + * Directory is /foo/ and the file is bar (i.e. this is a + * syntactic, not a semantic breakdown of the Path). + * And hence dont rely on this for something to be a definitely + * be a file. But you can get just the leading directory portion + * for sure. + * + * Some characters may be escaped. + */ + attribute AUTF8String directory; + + /** + * Returns the file name portion of a URL. + * If the URL denotes a path to a directory and not a file, + * e.g. http://foo/bar/, then the Directory attribute accesses + * the complete /foo/bar/ portion, and the FileName is the + * empty string. Note that this is purely based on searching + * for the last trailing slash. And hence dont rely on this to + * be a definite file. + * + * Some characters may be escaped. + */ + attribute AUTF8String fileName; + + + /************************************************************************* + * The URL filename is broken down even further: + */ + + /** + * Returns the file basename portion of a filename in a url. + * + * Some characters may be escaped. + */ + attribute AUTF8String fileBaseName; + + /** + * Returns the file extension portion of a filename in a url. If a file + * extension does not exist, the empty string is returned. + * + * Some characters may be escaped. + */ + attribute AUTF8String fileExtension; + + /** + * This method takes a uri and compares the two. The common uri portion + * is returned as a string. The minimum common uri portion is the + * protocol, and any of these if present: login, password, host and port + * If no commonality is found, "" is returned. If they are identical, the + * whole path with file/ref/etc. is returned. For file uris, it is + * expected that the common spec would be at least "file:///" since '/' is + * a shared common root. + * + * Examples: + * this.spec aURIToCompare.spec result + * 1) http://mozilla.org/ http://www.mozilla.org/ "" + * 2) http://foo.com/bar/ ftp://foo.com/bar/ "" + * 3) http://foo.com:8080/ http://foo.com/bar/ "" + * 4) ftp://user@foo.com/ ftp://user:pw@foo.com/ "" + * 5) ftp://foo.com/bar/ ftp://foo.com/bar ftp://foo.com/ + * 6) ftp://foo.com/bar/ ftp://foo.com/bar/b.html ftp://foo.com/bar/ + * 7) http://foo.com/a.htm#i http://foo.com/b.htm http://foo.com/ + * 8) ftp://foo.com/c.htm#i ftp://foo.com/c.htm ftp://foo.com/c.htm + * 9) file:///a/b/c.html file:///d/e/c.html file:/// + */ + AUTF8String getCommonBaseSpec(in nsIURI aURIToCompare); + + /** + * This method takes a uri and returns a substring of this if it can be + * made relative to the uri passed in. If no commonality is found, the + * entire uri spec is returned. If they are identical, "" is returned. + * Filename, query, etc are always returned except when uris are identical. + */ + AUTF8String getRelativeSpec(in nsIURI aURIToCompare); + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIUnicharStreamListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIUnicharStreamListener.idl new file mode 100644 index 00000000..79fef425 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIUnicharStreamListener.idl @@ -0,0 +1,66 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is mozilla.org. + * Portions created by the Initial Developer are Copyright (C) 2004 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsIRequestObserver.idl" + +/** + * nsIUnicharStreamListener is very similar to nsIStreamListener with + * the difference being that this interface gives notifications about + * data being available after the raw data has been converted to + * UTF-16. + * + * nsIUnicharStreamListener + * + * @status FROZEN + */ +[scriptable, uuid(4a7e9b62-fef8-400d-9865-d6820f630b4c)] +interface nsIUnicharStreamListener : nsIRequestObserver +{ + /** + * Called when the next chunk of data (corresponding to the + * request) is available. + * + * @param aRequest request corresponding to the source of the data + * @param aContext user defined context + * @param aData the data chunk + * + * An exception thrown from onUnicharDataAvailable has the + * side-effect of causing the request to be canceled. + */ + void onUnicharDataAvailable(in nsIRequest aRequest, + in nsISupports aContext, in AString aData); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIUploadChannel.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIUploadChannel.idl new file mode 100644 index 00000000..14ad2ab1 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIUploadChannel.idl @@ -0,0 +1,90 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInputStream; + +/** + * nsIUploadChannel + * + * A channel may optionally implement this interface if it supports the + * notion of uploading a data stream. The upload stream may only be set + * prior to the invocation of asyncOpen on the channel. + * + * @status FROZEN + */ +[scriptable, uuid(ddf633d8-e9a4-439d-ad88-de636fd9bb75)] +interface nsIUploadChannel : nsISupports +{ + /** + * Sets a stream to be uploaded by this channel. + * + * Most implementations of this interface require that the stream: + * (1) implement threadsafe addRef and release + * (2) implement nsIInputStream::readSegments + * (3) implement nsISeekableStream::seek + * + * History here is that we need to support both streams that already have + * headers (e.g., Content-Type and Content-Length) information prepended to + * the stream (by plugins) as well as clients (composer, uploading + * application) that want to upload data streams without any knowledge of + * protocol specifications. For this reason, we have a special meaning + * for the aContentType parameter (see below). + * + * @param aStream + * The stream to be uploaded by this channel. + * @param aContentType + * If aContentType is empty, the protocol will assume that no + * content headers are to be added to the uploaded stream and that + * any required headers are already encoded in the stream. In the + * case of HTTP, if this parameter is non-empty, then its value will + * replace any existing Content-Type header on the HTTP request. + * In the case of FTP and FILE, this parameter is ignored. + * @param aContentLength + * A value of -1 indicates that the length of the stream should be + * determined by calling the stream's |available| method. + */ + void setUploadStream(in nsIInputStream aStream, + in ACString aContentType, + in long aContentLength); + + /** + * Get the stream (to be) uploaded by this channel. + */ + readonly attribute nsIInputStream uploadStream; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWeakReference.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWeakReference.idl new file mode 100644 index 00000000..3bdf6eb8 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWeakReference.idl @@ -0,0 +1,102 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Pierre Phaneuf + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + + +/** + * An instance of |nsIWeakReference| is a proxy object that cooperates with + * its referent to give clients a non-owning, non-dangling reference. Clients + * own the proxy, and should generally manage it with an |nsCOMPtr| (see the + * type |nsWeakPtr| for a |typedef| name that stands out) as they would any + * other XPCOM object. The |QueryReferent| member function provides a + * (hopefully short-lived) owning reference on demand, through which clients + * can get useful access to the referent, while it still exists. + * + * @status FROZEN + * @version 1.0 + * @see nsISupportsWeakReference + * @see nsWeakReference + * @see nsWeakPtr + */ +[scriptable, uuid(9188bc85-f92e-11d2-81ef-0060083a0bcf)] +interface nsIWeakReference : nsISupports + { + /** + * |QueryReferent| queries the referent, if it exists, and like |QueryInterface|, produces + * an owning reference to the desired interface. It is designed to look and act exactly + * like (a proxied) |QueryInterface|. Don't hold on to the produced interface permanently; + * that would defeat the purpose of using a non-owning |nsIWeakReference| in the first place. + */ + void QueryReferent( in nsIIDRef uuid, [iid_is(uuid), retval] out nsQIResult result ); + }; + + +/** + * |nsISupportsWeakReference| is a factory interface which produces appropriate + * instances of |nsIWeakReference|. Weak references in this scheme can only be + * produced for objects that implement this interface. + * + * @status FROZEN + * @version 1.0 + * @see nsIWeakReference + * @see nsSupportsWeakReference + */ +[scriptable, uuid(9188bc86-f92e-11d2-81ef-0060083a0bcf)] +interface nsISupportsWeakReference : nsISupports + { + /** + * |GetWeakReference| produces an appropriate instance of |nsIWeakReference|. + * As with all good XPCOM `getters', you own the resulting interface and should + * manage it with an |nsCOMPtr|. + * + * @see nsIWeakReference + * @see nsWeakPtr + * @see nsCOMPtr + */ + nsIWeakReference GetWeakReference(); + }; + + +%{C++ +#ifdef MOZILLA_INTERNAL_API +#include "nsIWeakReferenceUtils.h" +#endif +%} + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowser.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowser.idl new file mode 100644 index 00000000..b3a4dd2d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowser.idl @@ -0,0 +1,170 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIInterfaceRequestor; +interface nsIWebBrowserChrome; +interface nsIURIContentListener; +interface nsIDOMWindow; +interface nsIWeakReference; + +/** + * The nsIWebBrowser interface is implemented by web browser objects. + * Embedders use this interface during initialisation to associate + * the new web browser instance with the embedders chrome and + * to register any listeners. The interface may also be used at runtime + * to obtain the content DOM window and from that the rest of the DOM. + * + * @status FROZEN + */ +[scriptable, uuid(69E5DF00-7B8B-11d3-AF61-00A024FFC08C)] +interface nsIWebBrowser : nsISupports +{ + /** + * Registers a listener of the type specified by the iid to receive + * callbacks. The browser stores a weak reference to the listener + * to avoid any circular dependencies. + * Typically this method will be called to register an object + * to receive nsIWebProgressListener or + * nsISHistoryListener notifications in which case the + * the IID is that of the interface. + * + * @param aListener The listener to be added. + * @param aIID The IID of the interface that will be called + * on the listener as appropriate. + * @return NS_OK for successful registration; + * NS_ERROR_INVALID_ARG if aIID is not + * supposed to be registered using this method; + * NS_ERROR_FAILURE either aListener did not + * expose the interface specified by the IID, or some + * other internal error occurred. + * + * @see removeWebBrowserListener + * @see nsIWeakReference + * @see nsIWebProgressListener + * @see nsISHistoryListener + * + * @return NS_OK, listener was successfully added; + * NS_ERROR_INVALID_ARG, one of the arguments was + * invalid or the object did not implement the interface + * specified by the IID. + */ + void addWebBrowserListener(in nsIWeakReference aListener, in nsIIDRef aIID); + + /** + * Removes a previously registered listener. + * + * @param aListener The listener to be removed. + * @param aIID The IID of the interface on the listener that will + * no longer be called. + * + * @return NS_OK, listener was successfully removed; + * NS_ERROR_INVALID_ARG arguments was invalid or + * the object did not implement the interface specified by the IID. + * + * @see addWebBrowserListener + * @see nsIWeakReference + */ + void removeWebBrowserListener(in nsIWeakReference aListener, in nsIIDRef aIID); + + /** + * The chrome object associated with the browser instance. The embedder + * must create one chrome object for each browser object + * that is instantiated. The embedder must associate the two by setting + * this property to point to the chrome object before creating the browser + * window via the browser's nsIBaseWindow interface. + * + * The chrome object must also implement nsIEmbeddingSiteWindow. + * + * The chrome may optionally implement nsIInterfaceRequestor, + * nsIWebBrowserChromeFocus, + * nsIContextMenuListener and + * nsITooltipListener to receive additional notifications + * from the browser object. + * + * The chrome object may optionally implement nsIWebProgressListener + * instead of explicitly calling addWebBrowserListener and + * removeWebBrowserListener to register a progress listener + * object. If the implementation does this, it must also implement + * nsIWeakReference. + * + * @note The implementation should not refcount the supplied chrome + * object; it should assume that a non nsnull value is + * always valid. The embedder must explicitly set this value back + * to nsnull if the chrome object is destroyed before the browser + * object. + * + * @see nsIBaseWindow + * @see nsIWebBrowserChrome + * @see nsIEmbeddingSiteWindow + * @see nsIInterfaceRequestor + * @see nsIWebBrowserChromeFocus + * @see nsIContextMenuListener + * @see nsITooltipListener + * @see nsIWeakReference + * @see nsIWebProgressListener + */ + attribute nsIWebBrowserChrome containerWindow; + + /** + * URI content listener parent. The embedder may set this property to + * their own implementation if they intend to override or prevent + * how certain kinds of content are loaded. + * + * @note If this attribute is set to an object that implements + * nsISupportsWeakReference, the implementation should get the + * nsIWeakReference and hold that. Otherwise, the implementation + * should not refcount this interface; it should assume that a non + * null value is always valid. In that case, the embedder should + * explicitly set this value back to null if the parent content + * listener is destroyed before the browser object. + * + * @see nsIURIContentListener + */ + attribute nsIURIContentListener parentURIContentListener; + + /** + * The top-level DOM window. The embedder may walk the entire + * DOM starting from this value. + * + * @see nsIDOMWindow + */ + readonly attribute nsIDOMWindow contentDOMWindow; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChrome.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChrome.idl new file mode 100644 index 00000000..e4d45053 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChrome.idl @@ -0,0 +1,154 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIWebBrowser; +interface nsIDocShellTreeItem; + +/** + * nsIWebBrowserChrome corresponds to the top-level, outermost window + * containing an embedded Gecko web browser. + * + * @status FROZEN + */ + +[scriptable, uuid(BA434C60-9D52-11d3-AFB0-00A024FFC08C)] +interface nsIWebBrowserChrome : nsISupports +{ + const unsigned long STATUS_SCRIPT = 0x00000001; + const unsigned long STATUS_SCRIPT_DEFAULT = 0x00000002; + const unsigned long STATUS_LINK = 0x00000003; + + /** + * Called when the status text in the chrome needs to be updated. + * @param statusType indicates what is setting the text + * @param status status string. null is an acceptable value meaning + * no status. + */ + void setStatus(in unsigned long statusType, in wstring status); + + /** + * The currently loaded WebBrowser. The browser chrome may be + * told to set the WebBrowser object to a new object by setting this + * attribute. In this case the implementer is responsible for taking the + * new WebBrowser object and doing any necessary initialization or setup + * as if it had created the WebBrowser itself. This includes positioning + * setting up listeners etc. + */ + attribute nsIWebBrowser webBrowser; + + /** + * Definitions for the chrome flags + */ + const unsigned long CHROME_DEFAULT = 0x00000001; + const unsigned long CHROME_WINDOW_BORDERS = 0x00000002; + const unsigned long CHROME_WINDOW_CLOSE = 0x00000004; + const unsigned long CHROME_WINDOW_RESIZE = 0x00000008; + const unsigned long CHROME_MENUBAR = 0x00000010; + const unsigned long CHROME_TOOLBAR = 0x00000020; + const unsigned long CHROME_LOCATIONBAR = 0x00000040; + const unsigned long CHROME_STATUSBAR = 0x00000080; + const unsigned long CHROME_PERSONAL_TOOLBAR = 0x00000100; + const unsigned long CHROME_SCROLLBARS = 0x00000200; + const unsigned long CHROME_TITLEBAR = 0x00000400; + const unsigned long CHROME_EXTRA = 0x00000800; + + // createBrowserWindow specific flags + const unsigned long CHROME_WITH_SIZE = 0x00001000; + const unsigned long CHROME_WITH_POSITION = 0x00002000; + + // special cases + const unsigned long CHROME_WINDOW_MIN = 0x00004000; + const unsigned long CHROME_WINDOW_POPUP = 0x00008000; + + const unsigned long CHROME_WINDOW_RAISED = 0x02000000; + const unsigned long CHROME_WINDOW_LOWERED = 0x04000000; + const unsigned long CHROME_CENTER_SCREEN = 0x08000000; + const unsigned long CHROME_DEPENDENT = 0x10000000; + // Note: The modal style bit just affects the way the window looks and does + // mean it's actually modal. + const unsigned long CHROME_MODAL = 0x20000000; + const unsigned long CHROME_OPENAS_DIALOG = 0x40000000; + const unsigned long CHROME_OPENAS_CHROME = 0x80000000; + + const unsigned long CHROME_ALL = 0x00000ffe; + + /** + * The chrome flags for this browser chrome. The implementation should + * reflect the value of this attribute by hiding or showing its chrome + * appropriately. + */ + attribute unsigned long chromeFlags; + + /** + * Asks the implementer to destroy the window associated with this + * WebBrowser object. + */ + void destroyBrowserWindow(); + + /** + * Tells the chrome to size itself such that the browser will be the + * specified size. + * @param aCX new width of the browser + * @param aCY new height of the browser + */ + void sizeBrowserTo(in long aCX, in long aCY); + + /** + * Shows the window as a modal window. + * @return (the function error code) the status value specified by + * in exitModalEventLoop. + */ + void showAsModal(); + + /** + * Is the window modal (that is, currently executing a modal loop)? + * @return true if it's a modal window + */ + boolean isWindowModal(); + + /** + * Exit a modal event loop if we're in one. The implementation + * should also exit out of the loop if the window is destroyed. + * @param aStatus - the result code to return from showAsModal + */ + void exitModalEventLoop(in nsresult aStatus); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChromeFocus.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChromeFocus.idl new file mode 100644 index 00000000..793ba9f5 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserChromeFocus.idl @@ -0,0 +1,64 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 0 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * The nsIWebBrowserChromeFocus is implemented by the same object as the + * nsIEmbeddingSiteWindow. It represents the focus up-calls from mozilla + * to the embedding chrome. See mozilla bug #70224 for gratuitous info. + * + * @status FROZEN + */ + +[scriptable, uuid(d2206418-1dd1-11b2-8e55-acddcd2bcfb8)] +interface nsIWebBrowserChromeFocus : nsISupports +{ + /** + * Set the focus at the next focusable element in the chrome. + */ + + void focusNextElement(); + + /** + * Set the focus at the previous focusable element in the chrome. + */ + + void focusPrevElement(); + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFind.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFind.idl new file mode 100644 index 00000000..fc701271 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFind.idl @@ -0,0 +1,181 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Conrad Carlen + * Simon Fraser + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +#include "domstubs.idl" + +/* THIS IS A PUBLIC EMBEDDING API */ + + +/** + * nsIWebBrowserFind + * + * Searches for text in a web browser. + * + * Get one by doing a GetInterface on an nsIWebBrowser. + * + * By default, the implementation will search the focussed frame, or + * if there is no focussed frame, the web browser content area. It + * does not by default search subframes or iframes. To change this + * behaviour, and to explicitly set the frame to search, + * QueryInterface to nsIWebBrowserFindInFrames. + * + * @status FROZEN + */ + +[scriptable, uuid(2f977d44-5485-11d4-87e2-0010a4e75ef2)] +interface nsIWebBrowserFind : nsISupports +{ + /** + * findNext + * + * Finds, highlights, and scrolls into view the next occurrence of the + * search string, using the current search settings. Fails if the + * search string is empty. + * + * @return Whether an occurrence was found + */ + boolean findNext(); + + /** + * searchString + * + * The string to search for. This must be non-empty to search. + */ + attribute wstring searchString; + + /** + * findBackwards + * + * Whether to find backwards (towards the beginning of the document). + * Default is false (search forward). + */ + attribute boolean findBackwards; + + /** + * wrapFind + * + * Whether the search wraps around to the start (or end) of the document + * if no match was found between the current position and the end (or + * beginning). Works correctly when searching backwards. Default is + * false. + */ + attribute boolean wrapFind; + + /** + * entireWord + * + * Whether to match entire words only. Default is false. + */ + attribute boolean entireWord; + + /** + * matchCase + * + * Whether to match case (case sensitive) when searching. Default is false. + */ + attribute boolean matchCase; + + /** + * searchFrames + * + * Whether to search through all frames in the content area. Default is true. + * + * Note that you can control whether the search propagates into child or + * parent frames explicitly using nsIWebBrowserFindInFrames, but if one, + * but not both, of searchSubframes and searchParentFrames are set, this + * returns false. + */ + attribute boolean searchFrames; +}; + + + +/** + * nsIWebBrowserFindInFrames + * + * Controls how find behaves when multiple frames or iframes are present. + * + * Get by doing a QueryInterface from nsIWebBrowserFind. + * + * @status FROZEN + */ + +[scriptable, uuid(e0f5d182-34bc-11d5-be5b-b760676c6ebc)] +interface nsIWebBrowserFindInFrames : nsISupports +{ + /** + * currentSearchFrame + * + * Frame at which to start the search. Once the search is done, this will + * be set to be the last frame searched, whether or not a result was found. + * Has to be equal to or contained within the rootSearchFrame. + */ + attribute nsIDOMWindow currentSearchFrame; + + /** + * rootSearchFrame + * + * Frame within which to confine the search (normally the content area frame). + * Set this to only search a subtree of the frame hierarchy. + */ + attribute nsIDOMWindow rootSearchFrame; + + /** + * searchSubframes + * + * Whether to recurse down into subframes while searching. Default is true. + * + * Setting nsIWebBrowserfind.searchFrames to true sets this to true. + */ + attribute boolean searchSubframes; + + /** + * searchParentFrames + * + * Whether to allow the search to propagate out of the currentSearchFrame into its + * parent frame(s). Search is always confined within the rootSearchFrame. Default + * is true. + * + * Setting nsIWebBrowserfind.searchFrames to true sets this to true. + */ + attribute boolean searchParentFrames; + +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFocus.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFocus.idl new file mode 100644 index 00000000..322a8210 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserFocus.idl @@ -0,0 +1,112 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Chris Saari + * Dan Rosen + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +interface nsIDOMWindow; +interface nsIDOMElement; + +#include "nsISupports.idl" + +/** + * nsIWebBrowserFocus + * Interface that embedders use for controlling and interacting + * with the browser focus management. The embedded browser can be focused by + * clicking in it or tabbing into it. If the browser is currently focused and + * the embedding application's top level window is disabled, deactivate() must + * be called, and activate() called again when the top level window is + * reactivated for the browser's focus memory to work correctly. + * + * @status FROZEN + */ + +[scriptable, uuid(9c5d3c58-1dd1-11b2-a1c9-f3699284657a)] +interface nsIWebBrowserFocus : nsISupports +{ + /** + * MANDATORY + * activate() is a mandatory call that must be made to the browser + * when the embedding application's window is activated *and* the + * browser area was the last thing in focus. This method can also be called + * if the embedding application wishes to give the browser area focus, + * without affecting the currently focused element within the browser. + * + * @note + * If you fail to make this call, mozilla focus memory will not work + * correctly. + */ + void activate(); + + /** + * MANDATORY + * deactivate() is a mandatory call that must be made to the browser + * when the embedding application's window is deactivated *and* the + * browser area was the last thing in focus. On non-windows platforms, + * deactivate() should also be called when focus moves from the browser + * to the embedding chrome. + * + * @note + * If you fail to make this call, mozilla focus memory will not work + * correctly. + */ + void deactivate(); + + /** + * Give the first element focus within mozilla + * (i.e. TAB was pressed and focus should enter mozilla) + */ + void setFocusAtFirstElement(); + + /** + * Give the last element focus within mozilla + * (i.e. SHIFT-TAB was pressed and focus should enter mozilla) + */ + void setFocusAtLastElement(); + + /** + * The currently focused nsDOMWindow when the browser is active, + * or the last focused nsDOMWindow when the browser is inactive. + */ + attribute nsIDOMWindow focusedWindow; + + /** + * The currently focused nsDOMElement when the browser is active, + * or the last focused nsDOMElement when the browser is inactive. + */ + attribute nsIDOMElement focusedElement; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserPrint.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserPrint.idl new file mode 100644 index 00000000..587a6db0 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserPrint.idl @@ -0,0 +1,188 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Don Cone + * Rod Spears + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIDOMWindow; +interface nsIPrintSettings; +interface nsIWebProgressListener; + +/** + * nsIWebBrowserPrint corresponds to the main interface + * for printing an embedded Gecko web browser window/document + * + * @status FROZEN + */ +[scriptable, uuid(9A7CA4B0-FBBA-11d4-A869-00105A183419)] +interface nsIWebBrowserPrint : nsISupports +{ + /** + * PrintPreview Navigation Constants + */ + const short PRINTPREVIEW_GOTO_PAGENUM = 0; + const short PRINTPREVIEW_PREV_PAGE = 1; + const short PRINTPREVIEW_NEXT_PAGE = 2; + const short PRINTPREVIEW_HOME = 3; + const short PRINTPREVIEW_END = 4; + + /** + * Returns a "global" PrintSettings object + * Creates a new the first time, if one doesn't exist. + * + * Then returns the same object each time after that. + * + * Initializes the globalPrintSettings from the default printer + */ + readonly attribute nsIPrintSettings globalPrintSettings; + + /** + * Returns a pointer to the PrintSettings object that + * that was passed into either "print" or "print preview" + * + * This enables any consumers of the interface to have access + * to the "current" PrintSetting at later points in the execution + */ + readonly attribute nsIPrintSettings currentPrintSettings; + + /** + * Returns a pointer to the current child DOMWindow + * that is being print previewed. (FrameSet Frames) + * + * Returns null if parent document is not a frameset or the entire FrameSet + * document is being print previewed + * + * This enables any consumers of the interface to have access + * to the "current" child DOMWindow at later points in the execution + */ + readonly attribute nsIDOMWindow currentChildDOMWindow; + + /** + * Returns whether it is in Print mode + */ + readonly attribute boolean doingPrint; + + /** + * Returns whether it is in Print Preview mode + */ + readonly attribute boolean doingPrintPreview; + + /** + * This returns whether the current document is a frameset document + */ + readonly attribute boolean isFramesetDocument; + + /** + * This returns whether the current document is a frameset document + */ + readonly attribute boolean isFramesetFrameSelected; + + /** + * This returns whether there is an IFrame selected + */ + readonly attribute boolean isIFrameSelected; + + /** + * This returns whether there is a "range" selection + */ + readonly attribute boolean isRangeSelection; + + /** + * This returns the total number of pages for the Print Preview + */ + readonly attribute long printPreviewNumPages; + + /** + * Print the specified DOM window + * + * @param aThePrintSettings - Printer Settings for the print job, if aThePrintSettings is null + * then the global PS will be used. + * @param aWPListener - is updated during the print + * @return void + */ + void print(in nsIPrintSettings aThePrintSettings, + in nsIWebProgressListener aWPListener); + + /** + * Print Preview the specified DOM window + * + * @param aThePrintSettings - Printer Settings for the print preview, if aThePrintSettings is null + * then the global PS will be used. + * @param aChildDOMWin - DOM Window of the child document to be PP (FrameSet frames) + * @param aWPListener - is updated during the printpreview + * @return void + */ + void printPreview(in nsIPrintSettings aThePrintSettings, + in nsIDOMWindow aChildDOMWin, + in nsIWebProgressListener aWPListener); + + /** + * Print Preview - Navigates within the window + * + * @param aNavType - navigation enum + * @param aPageNum - page num to navigate to when aNavType = ePrintPreviewGoToPageNum + * @return void + */ + void printPreviewNavigate(in short aNavType, in long aPageNum); + + /** + * Cancels the current print + * @return void + */ + void cancel(); + + /** + * Returns an array of the names of all documents names (Title or URL) + * and sub-documents. This will return a single item if the attr "isFramesetDocument" is false + * and may return any number of items is "isFramesetDocument" is true + * + * @param aCount - returns number of printers returned + * @param aResult - returns array of names + * @return void + */ + void enumerateDocumentNames(out PRUint32 aCount,[retval, array, size_is(aCount)] out wstring aResult); + + /** + * This exists PrintPreview mode and returns browser window to galley mode + * @return void + */ + void exitPrintPreview(); + +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserSetup.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserSetup.idl new file mode 100644 index 00000000..6785540d --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserSetup.idl @@ -0,0 +1,133 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +/** + * The nsIWebBrowserSetup interface allows certain properties of a new browser + * object to set before the browser window is opened. + * + * @note Unless stated otherwise, settings are presumed to be enabled by + * default. + * + * @status FROZEN + */ +[scriptable, uuid(F15398A0-8018-11d3-AF70-00A024FFC08C)] +interface nsIWebBrowserSetup : nsISupports +{ + /** + * Boolean. Enables/disables plugin support for this browser. + * + * @see setProperty + */ + const unsigned long SETUP_ALLOW_PLUGINS = 1; + + /** + * Boolean. Enables/disables Javascript support for this browser. + * + * @see setProperty + */ + const unsigned long SETUP_ALLOW_JAVASCRIPT = 2; + + /** + * Boolean. Enables/disables meta redirect support for this browser. + * Meta redirect timers will be ignored if this option is disabled. + * + * @see setProperty + */ + const unsigned long SETUP_ALLOW_META_REDIRECTS = 3; + + /** + * Boolean. Enables/disables subframes within the browser + * + * @see setProperty + */ + const unsigned long SETUP_ALLOW_SUBFRAMES = 4; + + /** + * Boolean. Enables/disables image loading for this browser + * window. If you disable the images, load a page, then enable the images, + * the page will *not* automatically load the images for the previously + * loaded page. This flag controls the state of a webBrowser at load time + * and does not automatically re-load a page when the state is toggled. + * Reloading must be done by hand, or by walking through the DOM tree and + * re-setting the src attributes. + * + * @see setProperty + */ + const unsigned long SETUP_ALLOW_IMAGES = 5; + + /** + * Boolean. Enables/disables whether the document as a whole gets focus before + * traversing the document's content, or after traversing its content. + * + * NOTE: this property is obsolete and now has no effect + * + * @see setProperty + */ + const unsigned long SETUP_FOCUS_DOC_BEFORE_CONTENT = 6; + + /** + * Boolean. Enables/disables the use of global history in the browser. Visited + * URLs will not be recorded in the global history when it is disabled. + * + * @see setProperty + */ + const unsigned long SETUP_USE_GLOBAL_HISTORY = 256; + + /** + * Boolean. A value of PR_TRUE makes the browser a chrome wrapper. + * Default is PR_FALSE. + * + * @since mozilla1.0 + * + * @see setProperty + */ + const unsigned long SETUP_IS_CHROME_WRAPPER = 7; + + /** + * Sets an integer or boolean property on the new web browser object. + * Only PR_TRUE and PR_FALSE are legal boolean values. + * + * @param aId The identifier of the property to be set. + * @param aValue The value of the property. + */ + void setProperty(in unsigned long aId, in unsigned long aValue); +}; + diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserStream.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserStream.idl new file mode 100644 index 00000000..c82c88f7 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebBrowserStream.idl @@ -0,0 +1,91 @@ +/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001, 2002 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Marco Pesenti Gritti + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIURI; + +/** + * This interface provides a way to stream data to the web browser. This allows + * loading of data from sources which can not be accessed using URIs and + * nsIWebNavigation. + * + * @status FROZEN + */ +[scriptable, uuid(86d02f0e-219b-4cfc-9c88-bd98d2cce0b8)] +interface nsIWebBrowserStream : nsISupports +{ + /** + * Prepare to load a stream of data. When this function returns successfully, + * it must be paired by a call to closeStream. + * + * @param aBaseURI + * The base URI of the data. Must not be null. Relative + * URIs will be resolved relative to this URI. + * @param aContentType + * ASCII string giving the content type of the data. If rendering + * content of this type is not supported, this method fails. + * This string may include a charset declaration, for example: + * text/html;charset=ISO-8859-1 + * + * @throw NS_ERROR_NOT_AVAILABLE + * The requested content type is not supported. + * @throw NS_ERROR_IN_PROGRESS + * openStream was called twice without an intermediate closeStream. + */ + void openStream(in nsIURI aBaseURI, in ACString aContentType); + + /** + * Append data to this stream. + * @param aData The data to append + * @param aLen Length of the data to append. + * + * @note To append more than 4 GB of data, call this method multiple times. + */ + void appendToStream([const, array, size_is(aLen)] in octet aData, + in unsigned long aLen); + + /** + * Notifies the browser that all the data has been appended. This may notify + * the user that the browser is "done loading" in some form. + * + * @throw NS_ERROR_UNEXPECTED + * This method was called without a preceding openStream. + */ + void closeStream(); +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgress.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgress.idl new file mode 100644 index 00000000..de39ac32 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgress.idl @@ -0,0 +1,172 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIDOMWindow; +interface nsIWebProgressListener; + +/** + * The nsIWebProgress interface is used to add or remove nsIWebProgressListener + * instances to observe the loading of asynchronous requests (usually in the + * context of a DOM window). + * + * nsIWebProgress instances may be arranged in a parent-child configuration, + * corresponding to the parent-child configuration of their respective DOM + * windows. However, in some cases a nsIWebProgress instance may not have an + * associated DOM window. The parent-child relationship of nsIWebProgress + * instances is not made explicit by this interface, but the relationship may + * exist in some implementations. + * + * A nsIWebProgressListener instance receives notifications for the + * nsIWebProgress instance to which it added itself, and it may also receive + * notifications from any nsIWebProgress instances that are children of that + * nsIWebProgress instance. + * + * @status FROZEN + */ +[scriptable, uuid(570F39D0-EFD0-11d3-B093-00A024FFC08C)] +interface nsIWebProgress : nsISupports +{ + /** + * The following flags may be combined to form the aNotifyMask parameter for + * the addProgressListener method. They limit the set of events that are + * delivered to an nsIWebProgressListener instance. + */ + + /** + * These flags indicate the state transistions to observe, corresponding to + * nsIWebProgressListener::onStateChange. + * + * NOTIFY_STATE_REQUEST + * Only receive the onStateChange event if the aStateFlags parameter + * includes nsIWebProgressListener::STATE_IS_REQUEST. + * + * NOTIFY_STATE_DOCUMENT + * Only receive the onStateChange event if the aStateFlags parameter + * includes nsIWebProgressListener::STATE_IS_DOCUMENT. + * + * NOTIFY_STATE_NETWORK + * Only receive the onStateChange event if the aStateFlags parameter + * includes nsIWebProgressListener::STATE_IS_NETWORK. + * + * NOTIFY_STATE_WINDOW + * Only receive the onStateChange event if the aStateFlags parameter + * includes nsIWebProgressListener::STATE_IS_WINDOW. + * + * NOTIFY_STATE_ALL + * Receive all onStateChange events. + */ + const unsigned long NOTIFY_STATE_REQUEST = 0x00000001; + const unsigned long NOTIFY_STATE_DOCUMENT = 0x00000002; + const unsigned long NOTIFY_STATE_NETWORK = 0x00000004; + const unsigned long NOTIFY_STATE_WINDOW = 0x00000008; + const unsigned long NOTIFY_STATE_ALL = 0x0000000f; + + /** + * These flags indicate the other events to observe, corresponding to the + * other four methods defined on nsIWebProgressListener. + * + * NOTIFY_PROGRESS + * Receive onProgressChange events. + * + * NOTIFY_STATUS + * Receive onStatusChange events. + * + * NOTIFY_SECURITY + * Receive onSecurityChange events. + * + * NOTIFY_LOCATION + * Receive onLocationChange events. + */ + const unsigned long NOTIFY_PROGRESS = 0x00000010; + const unsigned long NOTIFY_STATUS = 0x00000020; + const unsigned long NOTIFY_SECURITY = 0x00000040; + const unsigned long NOTIFY_LOCATION = 0x00000080; + + /** + * This flag enables all notifications. + */ + const unsigned long NOTIFY_ALL = 0x000000ff; + + /** + * Registers a listener to receive web progress events. + * + * @param aListener + * The listener interface to be called when a progress event occurs. + * This object must also implement nsISupportsWeakReference. + * @param aNotifyMask + * The types of notifications to receive. + * + * @throw NS_ERROR_INVALID_ARG + * Indicates that aListener was either null or that it does not + * support weak references. + * @throw NS_ERROR_FAILURE + * Indicates that aListener was already registered. + */ + void addProgressListener(in nsIWebProgressListener aListener, + in unsigned long aNotifyMask); + + /** + * Removes a previously registered listener of progress events. + * + * @param aListener + * The listener interface previously registered with a call to + * addProgressListener. + * + * @throw NS_ERROR_FAILURE + * Indicates that aListener was not registered. + */ + void removeProgressListener(in nsIWebProgressListener aListener); + + /** + * The DOM window associated with this nsIWebProgress instance. + * + * @throw NS_ERROR_FAILURE + * Indicates that there is no associated DOM window. + */ + readonly attribute nsIDOMWindow DOMWindow; + + /** + * Indicates whether or not a document is currently being loaded + * in the context of this nsIWebProgress instance. + */ + readonly attribute PRBool isLoadingDocument; +}; diff --git a/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgressListener.idl b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgressListener.idl new file mode 100644 index 00000000..169ae7d1 --- /dev/null +++ b/Src/nprt_plugin/gecko/1.8/win/idl/nsIWebProgressListener.idl @@ -0,0 +1,357 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is + * Netscape Communications, Inc. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + * Darin Fisher + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#include "nsISupports.idl" + +interface nsIWebProgress; +interface nsIRequest; +interface nsIURI; + +/** + * The nsIWebProgressListener interface is implemented by clients wishing to + * listen in on the progress associated with the loading of asynchronous + * requests in the context of a nsIWebProgress instance as well as any child + * nsIWebProgress instances. nsIWebProgress.idl describes the parent-child + * relationship of nsIWebProgress instances. + * + * @status FROZEN + */ +[scriptable, uuid(570F39D1-EFD0-11d3-B093-00A024FFC08C)] +interface nsIWebProgressListener : nsISupports +{ + /** + * State Transition Flags + * + * These flags indicate the various states that requests may transition + * through as they are being loaded. These flags are mutually exclusive. + * + * For any given request, onStateChange is called once with the STATE_START + * flag, zero or more times with the STATE_TRANSFERRING flag or once with the + * STATE_REDIRECTING flag, and then finally once with the STATE_STOP flag. + * NOTE: For document requests, a second STATE_STOP is generated (see the + * description of STATE_IS_WINDOW for more details). + * + * STATE_START + * This flag indicates the start of a request. This flag is set when a + * request is initiated. The request is complete when onStateChange is + * called for the same request with the STATE_STOP flag set. + * + * STATE_REDIRECTING + * This flag indicates that a request is being redirected. The request + * passed to onStateChange is the request that is being redirected. When a + * redirect occurs, a new request is generated automatically to process the + * new request. Expect a corresponding STATE_START event for the new + * request, and a STATE_STOP for the redirected request. + * + * STATE_TRANSFERRING + * This flag indicates that data for a request is being transferred to an + * end consumer. This flag indicates that the request has been targeted, + * and that the user may start seeing content corresponding to the request. + * + * STATE_NEGOTIATING + * This flag is not used. + * + * STATE_STOP + * This flag indicates the completion of a request. The aStatus parameter + * to onStateChange indicates the final status of the request. + */ + const unsigned long STATE_START = 0x00000001; + const unsigned long STATE_REDIRECTING = 0x00000002; + const unsigned long STATE_TRANSFERRING = 0x00000004; + const unsigned long STATE_NEGOTIATING = 0x00000008; + const unsigned long STATE_STOP = 0x00000010; + + + /** + * State Type Flags + * + * These flags further describe the entity for which the state transition is + * occuring. These flags are NOT mutually exclusive (i.e., an onStateChange + * event may indicate some combination of these flags). + * + * STATE_IS_REQUEST + * This flag indicates that the state transition is for a request, which + * includes but is not limited to document requests. (See below for a + * description of document requests.) Other types of requests, such as + * requests for inline content (e.g., images and stylesheets) are + * considered normal requests. + * + * STATE_IS_DOCUMENT + * This flag indicates that the state transition is for a document request. + * This flag is set in addition to STATE_IS_REQUEST. A document request + * supports the nsIChannel interface and its loadFlags attribute includes + * the nsIChannel::LOAD_DOCUMENT_URI flag. + * + * A document request does not complete until all requests associated with + * the loading of its corresponding document have completed. This includes + * other document requests (e.g., corresponding to HTML