├── distribute
├── version.txt
├── 7za.exe
├── README.txt
└── makepkg.bat
└── src
├── plugin
├── npIETab.vcproj
├── npIETab_VC7.vcproj
├── msinttypes
│ ├── changelog.txt
│ └── README.txt
├── npruntime
│ ├── npietab.def
│ └── resource.h
├── plugin.cpp
├── switchback.html
├── chrom
│ └── README.txt
├── npIETab_VC7.sln
├── urlmon_compat.h
├── NPVariant.h
└── WebBrowserPool.h
├── old_plugin
├── gecko-sdk
│ ├── lib
│ │ ├── plc4.lib
│ │ ├── nspr4.lib
│ │ ├── plds4.lib
│ │ ├── xpcom.lib
│ │ ├── xpcomglue.lib
│ │ ├── embed_base_s.lib
│ │ ├── xpcomglue_s.lib
│ │ ├── MozillaInterfaces.jar
│ │ └── MozillaInterfaces-src.jar
│ ├── bin
│ │ ├── xpidl.exe
│ │ ├── glib-1.2.dll
│ │ ├── regxpcom.exe
│ │ ├── xpt_dump.exe
│ │ ├── xpt_link.exe
│ │ └── libIDL-0.6.dll
│ ├── include
│ │ ├── nsBuildID.h
│ │ ├── nsrootidl.h
│ │ ├── mozilla-config.h
│ │ ├── nsIDOMComment.h
│ │ ├── nsVersionComparator.h
│ │ ├── nsStaticComponents.h
│ │ ├── nsEmbedString.h
│ │ ├── private
│ │ │ └── prpriv.h
│ │ ├── nsIDOMCDATASection.h
│ │ ├── nsIDOMEntityReference.h
│ │ ├── nsIDOMDocumentFragment.h
│ │ ├── xpcom-config.h
│ │ ├── plerror.h
│ │ └── nsDirectoryServiceUtils.h
│ └── idl
│ │ ├── nsIDOMWindow2.idl
│ │ ├── nsIDOMCSSValueList.idl
│ │ ├── nsIDOMAbstractView.idl
│ │ ├── nsIDOMBarProp.idl
│ │ ├── nsIDOMDocumentRange.idl
│ │ ├── nsIDOMDocumentView.idl
│ │ ├── nsIDOMElementCSSInlineStyle.idl
│ │ ├── nsIDOMEntityReference.idl
│ │ ├── nsIDOMEventGroup.idl
│ │ ├── nsIDOMHTMLBRElement.idl
│ │ ├── nsIDOMHTMLDivElement.idl
│ │ ├── nsIDOMHTMLPreElement.idl
│ │ ├── nsIDOMHTMLQuoteElement.idl
│ │ ├── nsIDOMHTMLDListElement.idl
│ │ ├── nsIDOMHTMLHeadElement.idl
│ │ ├── nsIDOMHTMLHtmlElement.idl
│ │ ├── nsIDOMHTMLMenuElement.idl
│ │ ├── nsIDOMHTMLTitleElement.idl
│ │ ├── nsIDOMHTMLParagraphElement.idl
│ │ ├── nsIDOMHTMLDirectoryElement.idl
│ │ ├── nsIDOMHTMLHeadingElement.idl
│ │ ├── nsIDOM3DocumentEvent.idl
│ │ ├── nsIDOMHTMLFieldSetElement.idl
│ │ ├── nsIDOMHTMLTableCaptionElem.idl
│ │ ├── nsIDOMStorageItem.idl
│ │ ├── nsIDOMComment.idl
│ │ ├── nsIDOMDocumentStyle.idl
│ │ ├── nsIDOMHTMLBaseElement.idl
│ │ ├── nsIDOMHTMLLIElement.idl
│ │ ├── nsIDOMDocumentFragment.idl
│ │ ├── nsIDOMHTMLMapElement.idl
│ │ ├── nsIDOMHTMLUListElement.idl
│ │ ├── nsIDOMCSSRuleList.idl
│ │ ├── nsIDOMHTMLModElement.idl
│ │ ├── nsIDOMHTMLFrameSetElement.idl
│ │ ├── nsIDOMCustomEvent.idl
│ │ ├── nsIDOMHTMLOptGroupElement.idl
│ │ ├── nsIDOMStyleSheetList.idl
│ │ ├── nsIDOMHTMLIsIndexElement.idl
│ │ ├── nsIDOMStorageList.idl
│ │ ├── nsIDOMDocumentEvent.idl
│ │ ├── nsIDOMHTMLFontElement.idl
│ │ ├── nsIDOMCDATASection.idl
│ │ ├── nsIDOMHTMLOListElement.idl
│ │ ├── nsIDOMHTMLStyleElement.idl
│ │ ├── nsIDOMEntity.idl
│ │ ├── nsIDOMHTMLCollection.idl
│ │ ├── nsIDOMHTMLLabelElement.idl
│ │ ├── nsIDOMHTMLLegendElement.idl
│ │ ├── nsIDebug.idl
│ │ ├── nsIDOMHTMLHRElement.idl
│ │ ├── nsIDOMStorageWindow.idl
│ │ ├── nsIDOMText.idl
│ │ ├── nsIDOMHTMLBaseFontElement.idl
│ │ ├── nsIWebBrowserChromeFocus.idl
│ │ ├── nsIDOMHTMLMetaElement.idl
│ │ ├── nsIDOMHTMLParamElement.idl
│ │ └── nsIHttpHeaderVisitor.idl
├── plug-in
│ ├── WebBrowser2.h
│ ├── WebBrowser2.cpp
│ ├── np
│ │ └── np_entry.cpp
│ ├── IETab.def
│ ├── StdAfx.cpp
│ ├── resource.h
│ ├── WebBrowserCtrl.h
│ ├── IETab.sln
│ ├── IETab.h
│ └── StdAfx.h
└── interface
│ └── nsIIeTabPlugin.idl
└── extension
├── chrome
├── skin
│ ├── ietab-icon.png
│ ├── ietab-engine-fx.png
│ ├── ietab-engine-ie.png
│ ├── ietab-extapp16.png
│ ├── ietab-button-fx16.png
│ ├── ietab-button-fx24.png
│ ├── ietab-button-ie16.png
│ ├── ietab-button-ie24.png
│ ├── ietab-button-fx16a.png
│ ├── ietab-button-fx24a.png
│ ├── ietab-button-ie16a.png
│ ├── ietab-button-ie24a.png
│ └── ietab-favicon-iedoc.png
├── content
│ └── ietab.xul
└── locale
│ ├── zh-TW
│ └── ietab.dtd
│ └── zh-CN
│ └── ietab.dtd
├── plugins
└── switchback.html
├── install.rdf
├── components
└── nsIeTabProtocolHandler.js
├── defaults
└── preferences
│ └── ietab.js
└── chrome.manifest
/distribute/version.txt:
--------------------------------------------------------------------------------
1 | 4.0.20130422
--------------------------------------------------------------------------------
/distribute/7za.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/distribute/7za.exe
--------------------------------------------------------------------------------
/src/plugin/npIETab.vcproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/plugin/npIETab.vcproj
--------------------------------------------------------------------------------
/src/plugin/npIETab_VC7.vcproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/plugin/npIETab_VC7.vcproj
--------------------------------------------------------------------------------
/src/plugin/msinttypes/changelog.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/plugin/msinttypes/changelog.txt
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/plc4.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/plc4.lib
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/WebBrowser2.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/plug-in/WebBrowser2.h
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-icon.png
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/xpidl.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/xpidl.exe
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/nspr4.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/nspr4.lib
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/plds4.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/plds4.lib
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/xpcom.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/xpcom.lib
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/WebBrowser2.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/plug-in/WebBrowser2.cpp
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/np/np_entry.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/plug-in/np/np_entry.cpp
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/glib-1.2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/glib-1.2.dll
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/regxpcom.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/regxpcom.exe
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/xpt_dump.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/xpt_dump.exe
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/xpt_link.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/xpt_link.exe
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/xpcomglue.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/xpcomglue.lib
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-engine-fx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-engine-fx.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-engine-ie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-engine-ie.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-extapp16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-extapp16.png
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/bin/libIDL-0.6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/bin/libIDL-0.6.dll
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/embed_base_s.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/embed_base_s.lib
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/xpcomglue_s.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/xpcomglue_s.lib
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-fx16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-fx16.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-fx24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-fx24.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-ie16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-ie16.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-ie24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-ie24.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-fx16a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-fx16a.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-fx24a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-fx24a.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-ie16a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-ie16a.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-button-ie24a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-button-ie24a.png
--------------------------------------------------------------------------------
/src/extension/chrome/skin/ietab-favicon-iedoc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/extension/chrome/skin/ietab-favicon-iedoc.png
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/MozillaInterfaces.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/MozillaInterfaces.jar
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/lib/MozillaInterfaces-src.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/root/ietab/master/src/old_plugin/gecko-sdk/lib/MozillaInterfaces-src.jar
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/IETab.def:
--------------------------------------------------------------------------------
1 | LIBRARY NPIETAB
2 |
3 | EXPORTS
4 | NP_GetEntryPoints @1
5 | NP_Initialize @2
6 | NP_Shutdown @3
7 |
--------------------------------------------------------------------------------
/src/plugin/npruntime/npietab.def:
--------------------------------------------------------------------------------
1 | LIBRARY NPIETAB
2 |
3 | EXPORTS
4 | NP_GetEntryPoints @1
5 | NP_Initialize @2
6 | NP_Shutdown @3
7 |
--------------------------------------------------------------------------------
/src/plugin/plugin.cpp:
--------------------------------------------------------------------------------
1 | #include ".\npruntime\plugin.h"
2 |
3 | // get the URL of the html page containing the plugin
4 | char* CPlugin::getPageURL(void)
5 | {
6 | return NULL;
7 | }
8 |
--------------------------------------------------------------------------------
/src/plugin/switchback.html:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/src/extension/plugins/switchback.html:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // IETab.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/distribute/README.txt:
--------------------------------------------------------------------------------
1 | Files in this folder are used for generating a package for release.
2 | The file 7za.exe is from the open source 7zip project to perform compression.
3 | Source code can be get at http://www.7-zip.org/ and is released under LGPL.
4 |
5 | When doing packaging, run makepkg.bat and input a version number.
6 | New package will be created with the name ietab-{version number}.xpi.
7 |
8 |
--------------------------------------------------------------------------------
/distribute/makepkg.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | echo Make package for IE Tab
3 |
4 | rem set /p ver=Please input version number:
5 | set /p ver=_.
16 | * If building a milestone build (eg, MOZ_MILESTONE_RELEASE is set), then
17 | * GRE_BUILD_ID will just contain .
18 | *
19 | */
20 | #define GRE_BUILD_ID "1.8.1.3_0000000000"
21 |
22 | #endif /* _NSBUILDID_H_ */
23 |
24 |
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/WebBrowserCtrl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "webbrowser2.h"
3 | #include
4 |
5 | class CWebBrowserCtrl :
6 | public CWebBrowser2
7 | {
8 | public:
9 | CWebBrowserCtrl(void);
10 | virtual ~CWebBrowserCtrl(void);
11 | bool GoBack(void);
12 | bool GoForward(void);
13 | bool isBackEnabled(){ return canBack; }
14 | bool isForwardEnabled(){ return canForward; }
15 | void enableBack(bool enable){ canBack = enable; }
16 | void enableForward(bool enable){ canForward = enable; }
17 |
18 | protected:
19 | bool canBack;
20 | bool canForward;
21 |
22 | public:
23 | virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
24 | protected:
25 | public:
26 | virtual BOOL DestroyWindow();
27 | };
28 |
--------------------------------------------------------------------------------
/src/plugin/chrom/README.txt:
--------------------------------------------------------------------------------
1 | Chrom is an API/Function interception/hooking library.
2 |
3 | Web site:
4 | https://code.google.com/p/chrom-lib/
5 |
6 | Download from:
7 | https://code.google.com/p/chrom-lib/downloads/detail?name=chrom.h&can=2&q=
8 |
9 | Author:
10 | Chrom (C) Raja Jamwal 2011,
11 |
12 | License:
13 | GNU lesser GPL (http://www.gnu.org/licenses/lgpl.html)
14 |
15 | Introduction:
16 | A open source(under LGPL) library for API/Function interception/hooking. It can
17 | be used as an alternative to Microsoft Research's detours. The idea behind both
18 | is similar, but difference arise from scope of use & the license terms. where as
19 | you can't modify the source of the detours, you can do that in Chrom as
20 | specified in LGPL, Chrom can be used in both free/opensource and proprietary
21 | applications.
22 |
23 |
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/IETab.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 10.00
2 | # Visual Studio 2008
3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IETab", "IETab.vcproj", "{1B800B00-9FB4-4F98-B92C-499ACED9FE6D}"
4 | EndProject
5 | Global
6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
7 | Debug|Win32 = Debug|Win32
8 | Release|Win32 = Release|Win32
9 | EndGlobalSection
10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
11 | {1B800B00-9FB4-4F98-B92C-499ACED9FE6D}.Debug|Win32.ActiveCfg = Debug|Win32
12 | {1B800B00-9FB4-4F98-B92C-499ACED9FE6D}.Debug|Win32.Build.0 = Debug|Win32
13 | {1B800B00-9FB4-4F98-B92C-499ACED9FE6D}.Release|Win32.ActiveCfg = Release|Win32
14 | {1B800B00-9FB4-4F98-B92C-499ACED9FE6D}.Release|Win32.Build.0 = Release|Win32
15 | EndGlobalSection
16 | GlobalSection(SolutionProperties) = preSolution
17 | HideSolutionNode = FALSE
18 | EndGlobalSection
19 | EndGlobal
20 |
--------------------------------------------------------------------------------
/src/plugin/npIETab_VC7.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 8.00
2 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "npIETab", "npIETab_VC7.vcproj", "{22369A54-CE76-4D2C-91F4-B821D5ED4EE6}"
3 | ProjectSection(ProjectDependencies) = postProject
4 | EndProjectSection
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfiguration) = preSolution
8 | Debug = Debug
9 | Release = Release
10 | EndGlobalSection
11 | GlobalSection(ProjectConfiguration) = postSolution
12 | {22369A54-CE76-4D2C-91F4-B821D5ED4EE6}.Debug.ActiveCfg = Debug|Win32
13 | {22369A54-CE76-4D2C-91F4-B821D5ED4EE6}.Debug.Build.0 = Debug|Win32
14 | {22369A54-CE76-4D2C-91F4-B821D5ED4EE6}.Release.ActiveCfg = Release|Win32
15 | {22369A54-CE76-4D2C-91F4-B821D5ED4EE6}.Release.Build.0 = Release|Win32
16 | EndGlobalSection
17 | GlobalSection(ExtensibilityGlobals) = postSolution
18 | EndGlobalSection
19 | GlobalSection(ExtensibilityAddIns) = postSolution
20 | EndGlobalSection
21 | EndGlobal
22 |
--------------------------------------------------------------------------------
/src/extension/chrome/content/ietab.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
10 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/extension/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {77b819fa-95ad-4f2c-ac7c-486b356188a9}
7 | IE Tab
8 | 4.0.20130422
9 | 2
10 | Enables you to use the embedded IE engine within Mozilla/Firefox.
11 | IE Tab Team
12 | Hong Jen Yee (PCMan)
13 | yuoo2k
14 | https://addons.mozilla.org/firefox/addon/ie-tab/
15 | chrome://ietab/content/ietabSetting.xul
16 | chrome://ietab/skin/ietab-icon.png
17 | true
18 |
19 |
20 |
21 |
22 | {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
23 | 10.0
24 | 19.*
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsrootidl.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/1813/mozilla/xpcom/base/nsrootidl.idl
3 | */
4 |
5 | #ifndef __gen_nsrootidl_h__
6 | #define __gen_nsrootidl_h__
7 | /* For IDL files that don't want to include root IDL files. */
8 | #ifndef NS_NO_VTABLE
9 | #define NS_NO_VTABLE
10 | #endif
11 | #include "nscore.h"
12 | #include "prtime.h"
13 | /*
14 | * Forward declarations for new string types
15 | */
16 | class nsAString;
17 | class nsACString;
18 | /*
19 | * Start commenting out the C++ versions of the below in the output header
20 | */
21 | #if 0
22 | /**
23 | * Root idl declarations to be used by all.
24 | * @status FROZEN
25 | */
26 | typedef PRBool PRBool;
27 |
28 | typedef PRUint8 PRUint8;
29 |
30 | typedef PRUint16 PRUint16;
31 |
32 | typedef PRUint16 PRUnichar;
33 |
34 | typedef PRUint32 PRUint32;
35 |
36 | typedef PRUint64 PRUint64;
37 |
38 | typedef PRUint64 PRTime;
39 |
40 | typedef PRInt16 PRInt16;
41 |
42 | typedef PRInt32 PRInt32;
43 |
44 | typedef PRInt64 PRInt64;
45 |
46 | typedef PRUint32 nsrefcnt;
47 |
48 | typedef PRUint32 nsresult;
49 |
50 | typedef PRUint32 size_t;
51 |
52 | /*
53 | * End commenting out the C++ versions of the above in the output header
54 | */
55 | #endif
56 |
57 | #endif /* __gen_nsrootidl_h__ */
58 |
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/IETab.h:
--------------------------------------------------------------------------------
1 | /////////////////////////////////////////////////////////////////////////////
2 | // Name: ietab.h
3 | // Purpose: Displey terminal screen data sroted in CTermData.
4 | // Author: PCMan (HZY) http://pcman.ptt.cc/
5 | // E-mail: hzysoft@sina.com.tw
6 | // Created: 2004.7.17
7 | // Copyright: (C) 2004 PCMan
8 | // Licence: GPL : http://www.gnu.org/licenses/gpl.html
9 | // Modified by:
10 | /////////////////////////////////////////////////////////////////////////////
11 |
12 |
13 | #ifndef IETAB_H
14 | #define IETAB_H
15 |
16 | #include "stdafx.h"
17 | #include "IEDlg.h"
18 | #include
19 |
20 | class CWebBrowser2;
21 |
22 | class CIETab
23 | {
24 | public:
25 | HWND m_hWnd;
26 | CIEDlg* m_pIEWnd;
27 | // class constructor
28 | CIETab(HWND hWnd, const char* url );
29 | // class destructor
30 | ~CIETab();
31 |
32 | void init();
33 |
34 | CWebBrowser2* getWebBrowser(){ return m_pIEWnd->getWebBrowser(); }
35 | protected:
36 | LRESULT WndProc(UINT msg, WPARAM wp, LPARAM lp);
37 | static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
38 | WNDPROC m_OldWndProc;
39 | void OnSize( int SizeType, int cx, int cy );
40 | CString m_URL;
41 |
42 | static CList browserPool;
43 | public:
44 | void destroy(void);
45 | static void cleanupPool(void);
46 | static CIEDlg* popFromPool(void);
47 | static void pushToPool(CIEDlg* dlg);
48 |
49 | };
50 |
51 | #endif // IETAB_H
52 |
53 |
--------------------------------------------------------------------------------
/src/old_plugin/interface/nsIIeTabPlugin.idl:
--------------------------------------------------------------------------------
1 | #include "nsISupports.idl"
2 |
3 | [scriptable, uuid(8fdcb7bc-43ed-462e-979d-4a746f9b223c)]
4 | interface nsIIeTab : nsISupports
5 | {
6 | void updateAll();
7 | void addIeTab(in wstring url);
8 | void loadIeTab(in wstring url);
9 | void closeIeTab();
10 | void onProgressChange(in long progress);
11 | void onSecurityChange(in long security);
12 | };
13 |
14 | [scriptable, uuid(c36b7d1b-5818-42b2-965c-f5851f6f1122)]
15 | interface nsIIETabPlugin : nsISupports
16 | {
17 | attribute nsISupports requestTarget;
18 | readonly attribute boolean canClose;
19 |
20 | readonly attribute boolean canBack;
21 | boolean goBack();
22 | readonly attribute boolean canForward;
23 | boolean goForward();
24 | boolean navigate(in wstring url);
25 | readonly attribute boolean canRefresh;
26 | boolean refresh();
27 | readonly attribute boolean canStop;
28 | boolean stop();
29 |
30 | readonly attribute long progress;
31 | readonly attribute long security;
32 |
33 | readonly attribute wstring url;
34 | readonly attribute wstring title;
35 |
36 | boolean saveAs();
37 | boolean print();
38 | boolean printPreview();
39 | boolean printSetup();
40 |
41 | readonly attribute boolean canCut;
42 | boolean cut();
43 |
44 | readonly attribute boolean canCopy;
45 | boolean copy();
46 |
47 | readonly attribute boolean canPaste;
48 | boolean paste();
49 |
50 | boolean selectAll();
51 | boolean find();
52 |
53 | boolean viewSource();
54 |
55 | void focus();
56 | };
57 |
--------------------------------------------------------------------------------
/src/plugin/urlmon_compat.h:
--------------------------------------------------------------------------------
1 | #ifndef __URL_MON_COMPAT_H_INCLUDED__
2 | #define __URL_MON_COMPAT_H_INCLUDED__
3 |
4 | #ifndef SET_FEATURE_ON_THREAD
5 |
6 | const DWORD SET_FEATURE_ON_THREAD = 0x00000001;
7 | const DWORD SET_FEATURE_ON_PROCESS = 0x00000002;
8 | const DWORD SET_FEATURE_IN_REGISTRY = 0x00000004;
9 | const DWORD SET_FEATURE_ON_THREAD_LOCALMACHINE = 0x00000008;
10 | const DWORD SET_FEATURE_ON_THREAD_INTRANET = 0x00000010;
11 | const DWORD SET_FEATURE_ON_THREAD_TRUSTED = 0x00000020;
12 | const DWORD SET_FEATURE_ON_THREAD_INTERNET = 0x00000040;
13 | const DWORD SET_FEATURE_ON_THREAD_RESTRICTED = 0x00000080;
14 |
15 | enum INTERNETFEATURELIST {
16 | FEATURE_OBJECT_CACHING = 0,
17 | FEATURE_ZONE_ELEVATION = 1,
18 | FEATURE_MIME_HANDLING = 2,
19 | FEATURE_MIME_SNIFFING = 3,
20 | FEATURE_WINDOW_RESTRICTIONS = 4,
21 | FEATURE_WEBOC_POPUPMANAGEMENT = 5,
22 | FEATURE_BEHAVIORS = 6,
23 | FEATURE_DISABLE_MK_PROTOCOL = 7,
24 | FEATURE_LOCALMACHINE_LOCKDOWN = 8,
25 | FEATURE_SECURITYBAND = 9,
26 | FEATURE_RESTRICT_ACTIVEXINSTALL = 10,
27 | FEATURE_VALIDATE_NAVIGATE_URL = 11,
28 | FEATURE_RESTRICT_FILEDOWNLOAD = 12,
29 | FEATURE_ADDON_MANAGEMENT = 13,
30 | FEATURE_PROTOCOL_LOCKDOWN = 14,
31 | FEATURE_HTTP_USERNAME_PASSWORD_DISABLE = 15,
32 | FEATURE_SAFE_BINDTOOBJECT = 16,
33 | FEATURE_UNC_SAVEDFILECHECK = 17,
34 | FEATURE_GET_URL_DOM_FILEPATH_UNENCODED = 18,
35 | FEATURE_ENTRY_COUNT = 19,
36 | };
37 |
38 | #endif
39 |
40 | typedef HRESULT (WINAPI *PCoInternetSetFeatureEnabled)(INTERNETFEATURELIST, DWORD, BOOL);
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/src/old_plugin/plug-in/StdAfx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 | #define WINVER 0x0500
6 | #if !defined(AFX_STDAFX_H__4C6455B6_64BE_4DB3_ACAE_530EF2430750__INCLUDED_)
7 | #define AFX_STDAFX_H__4C6455B6_64BE_4DB3_ACAE_530EF2430750__INCLUDED_
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14 |
15 | #include // MFC core and standard components
16 | #include // MFC extensions
17 |
18 | #ifndef _AFX_NO_OLE_SUPPORT
19 | #include // MFC OLE classes
20 | #include // MFC OLE dialog classes
21 | #include // MFC Automation classes
22 | #endif // _AFX_NO_OLE_SUPPORT
23 |
24 |
25 | #ifndef _AFX_NO_DB_SUPPORT
26 | #include // MFC ODBC database classes
27 | #endif // _AFX_NO_DB_SUPPORT
28 |
29 | #ifndef _AFX_NO_DAO_SUPPORT
30 | #include // MFC DAO database classes
31 | #endif // _AFX_NO_DAO_SUPPORT
32 |
33 | #include // MFC support for Internet Explorer 4 Common Controls
34 | #ifndef _AFX_NO_AFXCMN_SUPPORT
35 | #include // MFC support for Windows Common Controls
36 | #endif // _AFX_NO_AFXCMN_SUPPORT
37 |
38 |
39 | //{{AFX_INSERT_LOCATION}}
40 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
41 |
42 | #endif // !defined(AFX_STDAFX_H__4C6455B6_64BE_4DB3_ACAE_530EF2430750__INCLUDED_)
43 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/mozilla-config.h:
--------------------------------------------------------------------------------
1 | /* List of defines generated by configure. Included with preprocessor flag,
2 | * -include, to avoid long list of -D defines on the compile command-line.
3 | * Do not edit.
4 | */
5 |
6 | #ifndef _MOZILLA_CONFIG_H_
7 | #define _MOZILLA_CONFIG_H_
8 |
9 | #define ACCESSIBILITY 1
10 | #define D_INO d_ino
11 | #define HAVE_SNPRINTF 1
12 | #define HAVE_UINT64_T 1
13 | #define HW_THREADS 1
14 | #define IBMBIDI 1
15 | #define JS_THREADSAFE 1
16 | #define MOZILLA_1_8_BRANCH 1
17 | #define MOZILLA_LOCALE_VERSION "1.8.1"
18 | #define MOZILLA_REGION_VERSION "1.8.1"
19 | #define MOZILLA_SKIN_VERSION "1.8"
20 | #define MOZILLA_VERSION "1.8.1.3"
21 | #define MOZILLA_VERSION_U 1.8.1.3
22 | #define MOZ_BUILD_APP xulrunner
23 | #define MOZ_DEFAULT_TOOLKIT "windows"
24 | #define MOZ_DISTRIBUTION_ID "org.mozilla"
25 | #define MOZ_DLL_SUFFIX ".dll"
26 | #define MOZ_ENABLE_CANVAS 1
27 | #define MOZ_ENABLE_LIBXUL 1
28 | #define MOZ_FEEDS 1
29 | #define MOZ_JSLOADER 1
30 | #define MOZ_LOGGING 1
31 | #define MOZ_MATHML 1
32 | #define MOZ_MORK 1
33 | #define MOZ_PROFILELOCKING 1
34 | #define MOZ_STORAGE 1
35 | #define MOZ_SVG 1
36 | #define MOZ_SVG_RENDERER_CAIRO 1
37 | #define MOZ_UPDATE_CHANNEL default
38 | #define MOZ_USER_DIR "Mozilla"
39 | #define MOZ_VIEW_SOURCE 1
40 | #define MOZ_XPINSTALL 1
41 | #define MOZ_XTF 1
42 | #define MOZ_XUL 1
43 | #define MOZ_XULRUNNER 1
44 | #define MOZ_XUL_APP 1
45 | #define NO_X11 1
46 | #define NS_PRINTING 1
47 | #define NS_PRINT_PREVIEW 1
48 | #define OJI 1
49 | #define STDC_HEADERS 1
50 | #define WIN32 1
51 | #define WIN32_LEAN_AND_MEAN 1
52 | #define WINVER 0x400
53 | #define XP_WIN 1
54 | #define XP_WIN32 1
55 | #define X_DISPLAY_MISSING 1
56 | #define _WIN32 1
57 | #define _WIN32_WINNT 0x400
58 | #define _WINDOWS 1
59 | #define _X86_ 1
60 |
61 | #endif /* _MOZILLA_CONFIG_H_ */
62 |
63 |
--------------------------------------------------------------------------------
/src/plugin/msinttypes/README.txt:
--------------------------------------------------------------------------------
1 | Visual C++ unfortunately lacks some C99 headers, such as inttypes.h and stdint.h.
2 | The project msinttypes fixes the problem.
3 |
4 | The files in this folder are taken from:
5 | http://code.google.com/p/msinttypes/
6 |
7 | The license of the code in this folder is "New BSD License".
8 |
9 | Copyright (c) ,
10 | All rights reserved.
11 |
12 | Redistribution and use in source and binary forms, with or without
13 | modification, are permitted provided that the following conditions are met:
14 | * Redistributions of source code must retain the above copyright
15 | notice, this list of conditions and the following disclaimer.
16 | * Redistributions in binary form must reproduce the above copyright
17 | notice, this list of conditions and the following disclaimer in the
18 | documentation and/or other materials provided with the distribution.
19 | * Neither the name of the nor the
20 | names of its contributors may be used to endorse or promote products
21 | derived from this software without specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
27 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 |
--------------------------------------------------------------------------------
/src/plugin/NPVariant.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 | #include
5 |
6 | #include "nptypes.h"
7 | #include "npapi.h"
8 | #include "npruntime.h"
9 |
10 | class CNPVariant : public NPVariant {
11 | public:
12 |
13 | CNPVariant(void) {
14 | VOID_TO_NPVARIANT(*this);
15 | }
16 |
17 | CNPVariant(int value) {
18 | INT32_TO_NPVARIANT(value, *this);
19 | }
20 |
21 | CNPVariant(bool value) {
22 | BOOLEAN_TO_NPVARIANT(value, *this);
23 | }
24 |
25 | CNPVariant(char* value) {
26 | STRINGZ_TO_NPVARIANT(value, *this);
27 | }
28 |
29 | CNPVariant(NPObject* value) {
30 | OBJECT_TO_NPVARIANT(value, *this);
31 | }
32 |
33 | CNPVariant(double value) {
34 | DOUBLE_TO_NPVARIANT(value, *this);
35 | }
36 |
37 | ~CNPVariant(void) {
38 | NPN_ReleaseVariantValue(this);
39 | }
40 |
41 | CNPVariant& operator=(int value) {
42 | INT32_TO_NPVARIANT(value, *this);
43 | return *this;
44 | }
45 |
46 | CNPVariant& operator=(bool value) {
47 | BOOLEAN_TO_NPVARIANT(value, *this);
48 | return *this;
49 | }
50 |
51 | CNPVariant& operator=(char* value) {
52 | STRINGZ_TO_NPVARIANT(value, *this);
53 | return *this;
54 | }
55 |
56 | CNPVariant& operator=(NPObject* value) {
57 | OBJECT_TO_NPVARIANT(value, *this);
58 | return *this;
59 | }
60 |
61 | CNPVariant& operator=(double value) {
62 | DOUBLE_TO_NPVARIANT(value, *this);
63 | return *this;
64 | }
65 |
66 | operator int() {
67 | return NPVARIANT_TO_INT32(*this);
68 | }
69 |
70 | operator bool() {
71 | return NPVARIANT_TO_BOOLEAN(*this);
72 | }
73 |
74 | operator NPString() {
75 | return NPVARIANT_TO_STRING(*this);
76 | }
77 |
78 | operator const char*() {
79 | NPString str = NPVARIANT_TO_STRING(*this);
80 | return str.UTF8Characters;
81 | }
82 |
83 | operator NPObject*() {
84 | return NPVARIANT_TO_OBJECT(*this);
85 | }
86 |
87 | operator double() {
88 | return NPVARIANT_TO_DOUBLE(*this);
89 | }
90 | };
91 |
92 |
--------------------------------------------------------------------------------
/src/extension/components/nsIeTabProtocolHandler.js:
--------------------------------------------------------------------------------
1 | //
2 | // npIeTabProtocolHandler.js
3 | //
4 | // Copyright (C) 2012 yuoo2k
5 | //
6 | // This program is free software: you can redistribute it and/or modify
7 | // it under the terms of the GNU General Public License as published by
8 | // the Free Software Foundation, either version 3 of the License, or
9 | // (at your option) any later version.
10 | //
11 | // This program is distributed in the hope that it will be useful,
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | // GNU General Public License for more details.
15 | //
16 | // You should have received a copy of the GNU General Public License
17 | // along with this program. If not, see .
18 | //
19 |
20 | const Cc = Components.classes;
21 | const Ci = Components.interfaces;
22 | Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
23 |
24 | function IeTabProtocol() { }
25 | IeTabProtocol.prototype = {
26 | scheme: "ie",
27 | classDescription: "IE Tab Protocol Handler",
28 | classID: Components.ID("{7f22eb55-29b0-49f1-beb8-12744891aab7}"),
29 | contractID: "@mozilla.org/network/protocol;1?name=ie",
30 | QueryInterface: XPCOMUtils.generateQI([Ci.nsIProtocolHandler, Ci.nsISupports]),
31 | protocolFlags: Ci.nsIProtocolHandler.URI_NORELATIVE | Ci.nsIProtocolHandler.URI_NOAUTH,
32 | defaultPort: -1,
33 | allowPort: function(aPort, aScheme) {
34 | return false;
35 | },
36 | newURI: function(aSpec, aOriginCharset, aBaseURI) {
37 | var m = /^ie:(\S+)$/.exec(aSpec);
38 | if (m) { aSpec = "chrome://ietab/content/ietab.xul#" + encodeURI(m[1]); }
39 | return Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService).newURI(aSpec, null, null);
40 | },
41 | newChannel: function(aURI) {
42 | return Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService).newChannel(aURI, null, null);
43 | }
44 | };
45 |
46 | const NSGetFactory = XPCOMUtils.generateNSGetFactory([IeTabProtocol]);
47 |
--------------------------------------------------------------------------------
/src/extension/defaults/preferences/ietab.js:
--------------------------------------------------------------------------------
1 | //
2 | // ietab.js
3 | //
4 | // Copyright (C) 2012 yuoo2k
5 | //
6 | // This program is free software: you can redistribute it and/or modify
7 | // it under the terms of the GNU General Public License as published by
8 | // the Free Software Foundation, either version 3 of the License, or
9 | // (at your option) any later version.
10 | //
11 | // This program is distributed in the hope that it will be useful,
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | // GNU General Public License for more details.
15 | //
16 | // You should have received a copy of the GNU General Public License
17 | // along with this program. If not, see .
18 | //
19 |
20 | pref("extensions.ietab.filter", true);
21 | pref("extensions.ietab.filterlist", "/^file:\/\/\/.*\.(mht|mhtml)$/ http://*update.microsoft.com/* http://www.windowsupdate.com/*");
22 |
23 | pref("extensions.ietab.toolsmenu", true);
24 | pref("extensions.ietab.toolsmenu.icon", false);
25 | pref("extensions.ietab.statusbar", true);
26 |
27 | pref("extensions.ietab.handleUrlBar", false);
28 | pref("extensions.ietab.alwaysNewTab", false);
29 | pref("extensions.ietab.focustab", true);
30 | pref("extensions.ietab.handleBookmarkURL", true);
31 |
32 | pref("extensions.ietab.pagelink", true);
33 | pref("extensions.ietab.bookmark", true);
34 | pref("extensions.ietab.tabsmenu", true);
35 |
36 | pref("extensions.ietab.pagelink.extapp", true);
37 | pref("extensions.ietab.bookmark.extapp", true);
38 | pref("extensions.ietab.tabsmenu.extapp", true);
39 |
40 | pref("extensions.ietab.icon.pagelink", false);
41 | pref("extensions.ietab.icon.tabsmenu", false);
42 | pref("extensions.ietab.icon.bookmark", false);
43 |
44 | pref("extensions.ietab.ctrlclick", true);
45 | pref("extensions.ietab.extAppPath", "");
46 | pref("extensions.ietab.extAppParam", "%1");
47 |
48 | pref("extensions.ietab.titleEnding", "");
49 | pref("extensions.ietab.intl.charset.default", "");
50 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsIDOMComment.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/1813/mozilla/dom/public/idl/core/nsIDOMComment.idl
3 | */
4 |
5 | #ifndef __gen_nsIDOMComment_h__
6 | #define __gen_nsIDOMComment_h__
7 |
8 |
9 | #ifndef __gen_nsIDOMCharacterData_h__
10 | #include "nsIDOMCharacterData.h"
11 | #endif
12 |
13 | /* For IDL files that don't want to include root IDL files. */
14 | #ifndef NS_NO_VTABLE
15 | #define NS_NO_VTABLE
16 | #endif
17 |
18 | /* starting interface: nsIDOMComment */
19 | #define NS_IDOMCOMMENT_IID_STR "a6cf9073-15b3-11d2-932e-00805f8add32"
20 |
21 | #define NS_IDOMCOMMENT_IID \
22 | {0xa6cf9073, 0x15b3, 0x11d2, \
23 | { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24 |
25 | class NS_NO_VTABLE nsIDOMComment : public nsIDOMCharacterData {
26 | public:
27 |
28 | NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCOMMENT_IID)
29 |
30 | };
31 |
32 | /* Use this macro when declaring classes that implement this interface. */
33 | #define NS_DECL_NSIDOMCOMMENT \
34 | /* no methods! */
35 |
36 | /* Use this macro to declare functions that forward the behavior of this interface to another object. */
37 | #define NS_FORWARD_NSIDOMCOMMENT(_to) \
38 | /* no methods! */
39 |
40 | /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
41 | #define NS_FORWARD_SAFE_NSIDOMCOMMENT(_to) \
42 | /* no methods! */
43 |
44 | #if 0
45 | /* Use the code below as a template for the implementation class for this interface. */
46 |
47 | /* Header file */
48 | class nsDOMComment : public nsIDOMComment
49 | {
50 | public:
51 | NS_DECL_ISUPPORTS
52 | NS_DECL_NSIDOMCOMMENT
53 |
54 | nsDOMComment();
55 |
56 | private:
57 | ~nsDOMComment();
58 |
59 | protected:
60 | /* additional members */
61 | };
62 |
63 | /* Implementation file */
64 | NS_IMPL_ISUPPORTS1(nsDOMComment, nsIDOMComment)
65 |
66 | nsDOMComment::nsDOMComment()
67 | {
68 | /* member initializers and constructor code */
69 | }
70 |
71 | nsDOMComment::~nsDOMComment()
72 | {
73 | /* destructor code */
74 | }
75 |
76 | /* End of implementation class template. */
77 | #endif
78 |
79 |
80 | #endif /* __gen_nsIDOMComment_h__ */
81 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsVersionComparator.h:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is Mozilla XPCOM.
15 | *
16 | * The Initial Developer of the Original Code is
17 | * Benjamin Smedberg .
18 | *
19 | * Portions created by the Initial Developer are Copyright (C) 2005
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #ifndef nsVersionComparator_h__
39 | #define nsVersionComparator_h__
40 |
41 | #include "nscore.h"
42 |
43 | /**
44 | * Compare two version strings.
45 | *
46 | * @see nsIVersionComparator
47 | */
48 | PRInt32 NS_COM_GLUE
49 | NS_CompareVersions(const char *A, const char *B);
50 |
51 | #endif // nsVersionComparator_h__
52 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsStaticComponents.h:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is the Mozilla Toolkit.
15 | *
16 | * The Initial Developer of the Original Code is
17 | * Benjamin Smedberg
18 | *
19 | * Portions created by the Initial Developer are Copyright (C) 2005
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #ifndef nsStaticComponents_h__
39 | #define nsStaticComponents_h__
40 |
41 | // These symbols are provided by nsStaticComponents.cpp, and also by other
42 | // static component providers such as nsStaticXULComponents (libxul).
43 |
44 | extern nsStaticModuleInfo const *const kPStaticModules;
45 | extern PRUint32 const kStaticModuleCount;
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsEmbedString.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is a small implementation of the nsAString and nsACString.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Peter Annema .
19 | *
20 | * Portions created by the Initial Developer are Copyright (C) 2002
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | * Darin Fisher
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either the GNU General Public License Version 2 or later (the "GPL"), or
28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #ifndef nsEmbedString_h___
41 | #define nsEmbedString_h___
42 |
43 | #include "nsStringAPI.h"
44 |
45 | /**
46 | * compatibility
47 | */
48 | typedef nsString nsEmbedString;
49 | typedef nsCString nsEmbedCString;
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/private/prpriv.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is the Netscape Portable Runtime (NSPR).
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998-2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #ifndef prpriv_h___
39 | #define prpriv_h___
40 |
41 | /*
42 | * NSPR 2.0 Private API
43 | */
44 |
45 | #ifndef XP_MAC
46 | #include "private/pprio.h"
47 | #include "private/pprthred.h"
48 | #else
49 | #include "pprio.h"
50 | #include "pprthred.h"
51 | #endif
52 |
53 | #endif /* prpriv_h___ */
54 |
--------------------------------------------------------------------------------
/src/extension/chrome.manifest:
--------------------------------------------------------------------------------
1 | content ietab chrome/content/
2 | skin ietab classic/1.0 chrome/skin/
3 |
4 | overlay chrome://browser/content/browser.xul chrome://ietab/content/ietabOverlay.xul
5 | style chrome://global/content/customizeToolbar.xul chrome://ietab/skin/ietab.css
6 |
7 | component {7f22eb55-29b0-49f1-beb8-12744891aab7} components/nsIeTabProtocolHandler.js
8 | contract @mozilla.org/network/protocol;1?name=ie {7f22eb55-29b0-49f1-beb8-12744891aab7}
9 |
10 | component {3fdaa104-5988-4050-94fc-c711d568fe64} components/nsIeTabContentPolicyHandler.js
11 | contract @mozilla.org/ietabfilter;1 {3fdaa104-5988-4050-94fc-c711d568fe64}
12 | category content-policy IeTabContentPolicy @mozilla.org/ietabfilter;1
13 |
14 | locale ietab en-US chrome/locale/en-US/
15 | locale ietab es-AR chrome/locale/es-AR/
16 | locale ietab es-ES chrome/locale/es-ES/
17 | locale ietab et-EE chrome/locale/et-EE/
18 | locale ietab eu-ES chrome/locale/eu-ES/
19 | locale ietab fa-IR chrome/locale/fa-IR/
20 | locale ietab fi-FI chrome/locale/fi-FI/
21 | locale ietab fr-FR chrome/locale/fr-FR/
22 | locale ietab fy-NL chrome/locale/fy-NL/
23 | locale ietab he-IL chrome/locale/he-IL/
24 | locale ietab hr-HR chrome/locale/hr-HR/
25 | locale ietab hu-HU chrome/locale/hu-HU/
26 | locale ietab id-ID chrome/locale/id-ID/
27 | locale ietab it-IT chrome/locale/it-IT/
28 | locale ietab ja-JP chrome/locale/ja-JP/
29 | locale ietab km-KH chrome/locale/km-KH/
30 | locale ietab ko-KR chrome/locale/ko-KR/
31 | locale ietab lt-LT chrome/locale/lt-LT/
32 | locale ietab mn-MN chrome/locale/mn-MN/
33 | locale ietab nb-NO chrome/locale/nb-NO/
34 | locale ietab nl-NL chrome/locale/nl-NL/
35 | locale ietab pl-PL chrome/locale/pl-PL/
36 | locale ietab pt-BR chrome/locale/pt-BR/
37 | locale ietab pt-PT chrome/locale/pt-PT/
38 | locale ietab ro-RO chrome/locale/ro-RO/
39 | locale ietab ru-RU chrome/locale/ru-RU/
40 | locale ietab sk-SK chrome/locale/sk-SK/
41 | locale ietab sl-SI chrome/locale/sl-SI/
42 | locale ietab sr-RS chrome/locale/sr-RS/
43 | locale ietab sv-SE chrome/locale/sv-SE/
44 | locale ietab th-TH chrome/locale/th-TH/
45 | locale ietab tr-TR chrome/locale/tr-TR/
46 | locale ietab uk-UA chrome/locale/uk-UA/
47 | locale ietab vi-VN chrome/locale/vi-VN/
48 | locale ietab zh-CN chrome/locale/zh-CN/
49 | locale ietab zh-TW chrome/locale/zh-TW/
50 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsIDOMCDATASection.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/1813/mozilla/dom/public/idl/core/nsIDOMCDATASection.idl
3 | */
4 |
5 | #ifndef __gen_nsIDOMCDATASection_h__
6 | #define __gen_nsIDOMCDATASection_h__
7 |
8 |
9 | #ifndef __gen_nsIDOMText_h__
10 | #include "nsIDOMText.h"
11 | #endif
12 |
13 | /* For IDL files that don't want to include root IDL files. */
14 | #ifndef NS_NO_VTABLE
15 | #define NS_NO_VTABLE
16 | #endif
17 |
18 | /* starting interface: nsIDOMCDATASection */
19 | #define NS_IDOMCDATASECTION_IID_STR "a6cf9071-15b3-11d2-932e-00805f8add32"
20 |
21 | #define NS_IDOMCDATASECTION_IID \
22 | {0xa6cf9071, 0x15b3, 0x11d2, \
23 | { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24 |
25 | class NS_NO_VTABLE nsIDOMCDATASection : public nsIDOMText {
26 | public:
27 |
28 | NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCDATASECTION_IID)
29 |
30 | };
31 |
32 | /* Use this macro when declaring classes that implement this interface. */
33 | #define NS_DECL_NSIDOMCDATASECTION \
34 | /* no methods! */
35 |
36 | /* Use this macro to declare functions that forward the behavior of this interface to another object. */
37 | #define NS_FORWARD_NSIDOMCDATASECTION(_to) \
38 | /* no methods! */
39 |
40 | /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
41 | #define NS_FORWARD_SAFE_NSIDOMCDATASECTION(_to) \
42 | /* no methods! */
43 |
44 | #if 0
45 | /* Use the code below as a template for the implementation class for this interface. */
46 |
47 | /* Header file */
48 | class nsDOMCDATASection : public nsIDOMCDATASection
49 | {
50 | public:
51 | NS_DECL_ISUPPORTS
52 | NS_DECL_NSIDOMCDATASECTION
53 |
54 | nsDOMCDATASection();
55 |
56 | private:
57 | ~nsDOMCDATASection();
58 |
59 | protected:
60 | /* additional members */
61 | };
62 |
63 | /* Implementation file */
64 | NS_IMPL_ISUPPORTS1(nsDOMCDATASection, nsIDOMCDATASection)
65 |
66 | nsDOMCDATASection::nsDOMCDATASection()
67 | {
68 | /* member initializers and constructor code */
69 | }
70 |
71 | nsDOMCDATASection::~nsDOMCDATASection()
72 | {
73 | /* destructor code */
74 | }
75 |
76 | /* End of implementation class template. */
77 | #endif
78 |
79 |
80 | #endif /* __gen_nsIDOMCDATASection_h__ */
81 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsIDOMEntityReference.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/1813/mozilla/dom/public/idl/core/nsIDOMEntityReference.idl
3 | */
4 |
5 | #ifndef __gen_nsIDOMEntityReference_h__
6 | #define __gen_nsIDOMEntityReference_h__
7 |
8 |
9 | #ifndef __gen_nsIDOMNode_h__
10 | #include "nsIDOMNode.h"
11 | #endif
12 |
13 | /* For IDL files that don't want to include root IDL files. */
14 | #ifndef NS_NO_VTABLE
15 | #define NS_NO_VTABLE
16 | #endif
17 |
18 | /* starting interface: nsIDOMEntityReference */
19 | #define NS_IDOMENTITYREFERENCE_IID_STR "a6cf907a-15b3-11d2-932e-00805f8add32"
20 |
21 | #define NS_IDOMENTITYREFERENCE_IID \
22 | {0xa6cf907a, 0x15b3, 0x11d2, \
23 | { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24 |
25 | class NS_NO_VTABLE nsIDOMEntityReference : public nsIDOMNode {
26 | public:
27 |
28 | NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMENTITYREFERENCE_IID)
29 |
30 | };
31 |
32 | /* Use this macro when declaring classes that implement this interface. */
33 | #define NS_DECL_NSIDOMENTITYREFERENCE \
34 | /* no methods! */
35 |
36 | /* Use this macro to declare functions that forward the behavior of this interface to another object. */
37 | #define NS_FORWARD_NSIDOMENTITYREFERENCE(_to) \
38 | /* no methods! */
39 |
40 | /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
41 | #define NS_FORWARD_SAFE_NSIDOMENTITYREFERENCE(_to) \
42 | /* no methods! */
43 |
44 | #if 0
45 | /* Use the code below as a template for the implementation class for this interface. */
46 |
47 | /* Header file */
48 | class nsDOMEntityReference : public nsIDOMEntityReference
49 | {
50 | public:
51 | NS_DECL_ISUPPORTS
52 | NS_DECL_NSIDOMENTITYREFERENCE
53 |
54 | nsDOMEntityReference();
55 |
56 | private:
57 | ~nsDOMEntityReference();
58 |
59 | protected:
60 | /* additional members */
61 | };
62 |
63 | /* Implementation file */
64 | NS_IMPL_ISUPPORTS1(nsDOMEntityReference, nsIDOMEntityReference)
65 |
66 | nsDOMEntityReference::nsDOMEntityReference()
67 | {
68 | /* member initializers and constructor code */
69 | }
70 |
71 | nsDOMEntityReference::~nsDOMEntityReference()
72 | {
73 | /* destructor code */
74 | }
75 |
76 | /* End of implementation class template. */
77 | #endif
78 |
79 |
80 | #endif /* __gen_nsIDOMEntityReference_h__ */
81 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMWindow2.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Marco Pesenti Gritti
19 | * Portions created by the Initial Developer are Copyright (C) 2004
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #include "nsIDOMWindow.idl"
39 |
40 | [scriptable, uuid(65455132-b96a-40ec-adea-52fa22b1028c)]
41 | interface nsIDOMWindow2 : nsIDOMWindow
42 | {
43 | /**
44 | * Get the window root for this window. This is useful for hooking
45 | * up event listeners to this window and every other window nested
46 | * in the window root.
47 | */
48 | [noscript] readonly attribute nsIDOMEventTarget windowRoot;
49 | };
50 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsIDOMDocumentFragment.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/1813/mozilla/dom/public/idl/core/nsIDOMDocumentFragment.idl
3 | */
4 |
5 | #ifndef __gen_nsIDOMDocumentFragment_h__
6 | #define __gen_nsIDOMDocumentFragment_h__
7 |
8 |
9 | #ifndef __gen_nsIDOMNode_h__
10 | #include "nsIDOMNode.h"
11 | #endif
12 |
13 | /* For IDL files that don't want to include root IDL files. */
14 | #ifndef NS_NO_VTABLE
15 | #define NS_NO_VTABLE
16 | #endif
17 |
18 | /* starting interface: nsIDOMDocumentFragment */
19 | #define NS_IDOMDOCUMENTFRAGMENT_IID_STR "a6cf9076-15b3-11d2-932e-00805f8add32"
20 |
21 | #define NS_IDOMDOCUMENTFRAGMENT_IID \
22 | {0xa6cf9076, 0x15b3, 0x11d2, \
23 | { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24 |
25 | class NS_NO_VTABLE nsIDOMDocumentFragment : public nsIDOMNode {
26 | public:
27 |
28 | NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTFRAGMENT_IID)
29 |
30 | };
31 |
32 | /* Use this macro when declaring classes that implement this interface. */
33 | #define NS_DECL_NSIDOMDOCUMENTFRAGMENT \
34 | /* no methods! */
35 |
36 | /* Use this macro to declare functions that forward the behavior of this interface to another object. */
37 | #define NS_FORWARD_NSIDOMDOCUMENTFRAGMENT(_to) \
38 | /* no methods! */
39 |
40 | /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
41 | #define NS_FORWARD_SAFE_NSIDOMDOCUMENTFRAGMENT(_to) \
42 | /* no methods! */
43 |
44 | #if 0
45 | /* Use the code below as a template for the implementation class for this interface. */
46 |
47 | /* Header file */
48 | class nsDOMDocumentFragment : public nsIDOMDocumentFragment
49 | {
50 | public:
51 | NS_DECL_ISUPPORTS
52 | NS_DECL_NSIDOMDOCUMENTFRAGMENT
53 |
54 | nsDOMDocumentFragment();
55 |
56 | private:
57 | ~nsDOMDocumentFragment();
58 |
59 | protected:
60 | /* additional members */
61 | };
62 |
63 | /* Implementation file */
64 | NS_IMPL_ISUPPORTS1(nsDOMDocumentFragment, nsIDOMDocumentFragment)
65 |
66 | nsDOMDocumentFragment::nsDOMDocumentFragment()
67 | {
68 | /* member initializers and constructor code */
69 | }
70 |
71 | nsDOMDocumentFragment::~nsDOMDocumentFragment()
72 | {
73 | /* destructor code */
74 | }
75 |
76 | /* End of implementation class template. */
77 | #endif
78 |
79 |
80 | #endif /* __gen_nsIDOMDocumentFragment_h__ */
81 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/xpcom-config.h:
--------------------------------------------------------------------------------
1 | /* xpcom/xpcom-config.h. Generated automatically by configure. */
2 | /* Global defines needed by xpcom clients */
3 |
4 | #ifndef _XPCOM_CONFIG_H_
5 | #define _XPCOM_CONFIG_H_
6 |
7 | /* Define this to throw() if the compiler complains about
8 | * constructors returning NULL
9 | */
10 | #define CPP_THROW_NEW throw()
11 |
12 | /* Define if the c++ compiler supports a 2-byte wchar_t */
13 | /* #undef HAVE_CPP_2BYTE_WCHAR_T */
14 |
15 | /* Define if the c++ compiler supports changing access with |using| */
16 | /* #undef HAVE_CPP_ACCESS_CHANGING_USING */
17 |
18 | /* Define if the c++ compiler can resolve ambiguity with |using| */
19 | /* #undef HAVE_CPP_AMBIGUITY_RESOLVING_USING */
20 |
21 | /* Define if the c++ compiler has builtin Bool type */
22 | /* #undef HAVE_CPP_BOOL */
23 |
24 | /* Define if a dyanmic_cast to void* gives the most derived object */
25 | /* #undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR */
26 |
27 | /* Define if the c++ compiler supports the |explicit| keyword */
28 | /* #undef HAVE_CPP_EXPLICIT */
29 |
30 | /* Define if the c++ compiler supports the modern template
31 | * specialization syntax
32 | */
33 | /* #undef HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX */
34 |
35 | /* Define if the c++ compiler supports the |std| namespace */
36 | /* #undef HAVE_CPP_NAMESPACE_STD */
37 |
38 | /* Define if the c++ compiler supports reinterpret_cast */
39 | /* #undef HAVE_CPP_NEW_CASTS */
40 |
41 | /* Define if the c++ compiler supports partial template specialization */
42 | /* #undef HAVE_CPP_PARTIAL_SPECIALIZATION */
43 |
44 | /* Define if the c++ compiler has trouble comparing a constant
45 | * reference to a templatized class to zero
46 | */
47 | /* #undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO */
48 |
49 | /* Define if the c++ compiler supports the |typename| keyword */
50 | /* #undef HAVE_CPP_TYPENAME */
51 |
52 | /* Define if the stanard template operator!=() is ambiguous */
53 | /* #undef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL */
54 |
55 | /* Define if statvfs() is available */
56 | /* #undef HAVE_STATVFS */
57 |
58 | /* Define if the c++ compiler requires implementations of
59 | * unused virtual methods
60 | */
61 | /* #undef NEED_CPP_UNUSED_IMPLEMENTATIONS */
62 |
63 | /* Define to either or */
64 | #define NEW_H
65 |
66 | /* Define if binary compatibility with Mozilla 1.x string code is desired */
67 | #define MOZ_V1_STRING_ABI 1
68 |
69 | #endif /* _XPCOM_CONFIG_H_ */
70 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMCSSValueList.idl:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is mozilla.org code.
15 | *
16 | * The Initial Developer of the Original Code is
17 | * Netscape Communications Corporation.
18 | * Portions created by the Initial Developer are Copyright (C) 2002
19 | * the Initial Developer. All Rights Reserved.
20 | *
21 | * Contributor(s):
22 | * Christopher A. Aillon (original author)
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #include "nsIDOMCSSValue.idl"
39 |
40 | /**
41 | * The nsIDOMCSSValueList interface is a datatype for a list of CSS
42 | * values in the Document Object Model.
43 | *
44 | * For more information on this interface please see
45 | * http://www.w3.org/TR/DOM-Level-2-Style
46 | *
47 | * @status FROZEN
48 | */
49 |
50 | [scriptable, uuid(8f09fa84-39b9-4dca-9b2f-db0eeb186286)]
51 | interface nsIDOMCSSValueList : nsIDOMCSSValue
52 | {
53 | readonly attribute unsigned long length;
54 | nsIDOMCSSValue item(in unsigned long index);
55 | };
56 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMAbstractView.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Johnny Stenback (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "domstubs.idl"
40 |
41 | /**
42 | * The nsIDOMAbstractView interface is a datatype for a view in the
43 | * Document Object Model.
44 | *
45 | * For more information on this interface please see
46 | * http://www.w3.org/TR/DOM-Level-2-Views
47 | *
48 | * @status FROZEN
49 | */
50 |
51 | [scriptable, uuid(F51EBADE-8B1A-11D3-AAE7-0010830123B4)]
52 | interface nsIDOMAbstractView : nsISupports
53 | {
54 | readonly attribute nsIDOMDocumentView document;
55 | };
56 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMBarProp.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMBarProp interface is the interface for controlling and
44 | * accessing the visibility of certain UI items (scrollbars, menubars,
45 | * toolbars, ...) through the DOM.
46 | *
47 | * @status FROZEN
48 | */
49 |
50 | [scriptable, uuid(9eb2c150-1d56-11d3-8221-0060083a0bcf)]
51 | interface nsIDOMBarProp : nsISupports
52 | {
53 | attribute boolean visible;
54 | };
55 |
--------------------------------------------------------------------------------
/src/plugin/WebBrowserPool.h:
--------------------------------------------------------------------------------
1 | //
2 | // WebBrowserPool.h: A pool of newly created CWebBrowser controls
3 | // This is mainly used by CWebBrowser::OnNewWindow().
4 | //
5 | // Copyright (C) 2012 Hong Jen Yee (PCMan)
6 | //
7 | // This program is free software: you can redistribute it and/or modify
8 | // it under the terms of the GNU General Public License as published by
9 | // the Free Software Foundation, either version 3 of the License, or
10 | // (at your option) any later version.
11 | //
12 | // This program is distributed in the hope that it will be useful,
13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | // GNU General Public License for more details.
16 | //
17 | // You should have received a copy of the GNU General Public License
18 | // along with this program. If not, see .
19 | //
20 |
21 | #include // for CAtlList
22 | #include
23 | #pragma once
24 | #include
25 | #include
26 |
27 | class CWebBrowser;
28 |
29 | typedef CWinTraits CWebBrowserPoolTraits;
30 |
31 | struct CWebBrowserPoolItem {
32 |
33 | CWebBrowserPoolItem(CWebBrowser* webBrowser = NULL, CString url = CString()):
34 | m_URL(url),
35 | m_WebBrowser(webBrowser),
36 | m_WaitTime(0) {
37 | }
38 |
39 | CString m_URL;
40 | CWebBrowser* m_WebBrowser;
41 | int m_WaitTime;
42 | };
43 |
44 | class CWebBrowserPool: public CWindowImpl {
45 |
46 | public:
47 | CWebBrowserPool(void);
48 | ~CWebBrowserPool(void);
49 |
50 | POSITION Find(CString url);
51 | POSITION Find(CWebBrowser* webBrowser);
52 |
53 | CWebBrowser* AddNew(CString url);
54 |
55 | CWebBrowserPoolItem* GetAt(POSITION pos) {
56 | return m_Pool.GetAt(pos);
57 | }
58 |
59 | void RemoveAt(POSITION pos);
60 |
61 | private:
62 |
63 | enum {
64 | TIMER_ID = 100,
65 | TIMEOUT = 10
66 | };
67 |
68 | BEGIN_MSG_MAP(CWebBrowser)
69 | MESSAGE_HANDLER(WM_TIMER, OnTimer)
70 | MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
71 | END_MSG_MAP()
72 |
73 | LRESULT OnTimer(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
74 | LRESULT OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
75 |
76 | private:
77 | CAtlList m_Pool;
78 | bool m_HasTimer;
79 | };
80 |
81 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMDocumentRange.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Johnny Stenback (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "domstubs.idl"
40 |
41 | /**
42 | * The nsIDOMDocumentRange interface is an interface to a document
43 | * object that supports ranges in the Document Object Model.
44 | *
45 | * For more information on this interface please see
46 | * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/
47 | *
48 | * @status FROZEN
49 | */
50 |
51 | [scriptable, uuid(7b9badc6-c9bc-447a-8670-dbd195aed24b)]
52 | interface nsIDOMDocumentRange : nsISupports {
53 | nsIDOMRange createRange();
54 | };
55 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMDocumentView.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Johnny Stenback (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "domstubs.idl"
40 |
41 | /**
42 | * The nsIDOMDocumentView interface is a datatype for a document that
43 | * supports views in the Document Object Model.
44 | *
45 | * For more information on this interface please see
46 | * http://www.w3.org/TR/DOM-Level-2-Views
47 | *
48 | * @status FROZEN
49 | */
50 |
51 | [scriptable, uuid(1ACDB2BA-1DD2-11B2-95BC-9542495D2569)]
52 | interface nsIDOMDocumentView : nsISupports
53 | {
54 | readonly attribute nsIDOMAbstractView defaultView;
55 | };
56 |
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMElementCSSInlineStyle.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Johnny Stenback (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "domstubs.idl"
40 |
41 | /**
42 | * The nsIDOMElementCSSInlineStyle interface allows access to the inline
43 | * style information for elements.
44 | *
45 | * For more information on this interface please see
46 | * http://www.w3.org/TR/DOM-Level-2-Style
47 | *
48 | * @status FROZEN
49 | */
50 |
51 | [scriptable, uuid(99715845-95fc-4a56-aa53-214b65c26e22)]
52 | interface nsIDOMElementCSSInlineStyle : nsISupports
53 | {
54 | readonly attribute nsIDOMCSSStyleDeclaration style;
55 | };
56 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMEntityReference.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMNode.idl"
41 |
42 | /**
43 | * nsIDOMEntityReference is an interface to a node that represents a
44 | * reference to one of the entities defined in the document.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Core/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf907a-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMEntityReference : nsIDOMNode
54 | {
55 | };
56 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMEventGroup.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Tom Pixley (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "domstubs.idl"
40 |
41 | /**
42 | * The nsIDOMEventTarget interface is the interface implemented by all
43 | * event targets in the Document Object Model.
44 | *
45 | * For more information on this interface please see
46 | * http://www.w3.org/TR/DOM-Level-3-Events/
47 | */
48 |
49 | [scriptable, uuid(33347bee-6620-4841-8152-36091ae80c7e)]
50 | interface nsIDOMEventGroup : nsISupports
51 | {
52 | // Introduced in DOM Level 3:
53 | boolean isSameEventGroup(in nsIDOMEventGroup other);
54 | };
55 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLBRElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLBRElement interface is the interface to a [X]HTML br
44 | * element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a5-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString clear;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLDivElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLDivElement interface is the interface to a [X]HTML
44 | * div element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a0-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString align;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLPreElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLPreElement interface is the interface to a [X]HTML
44 | * pre element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a4-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
54 | {
55 | attribute long width;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLQuoteElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLQuoteElement interface is the interface to a [X]HTML
44 | * q element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a3-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString cite;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLDListElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLDListElement interface is the interface to a [X]HTML
44 | * dl element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf909b-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean compact;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLHeadElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLHeadElement interface is the interface to a [X]HTML
44 | * head element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9087-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString profile;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLHtmlElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLHtmlElement interface is the interface to a [X]HTML
44 | * html element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9086-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString version;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLMenuElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLMenuElement interface is the interface to a [X]HTML
44 | * menu element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf909d-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean compact;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLTitleElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLTitleElement interface is the interface to a [X]HTML
44 | * title element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9089-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString text;
56 | };
57 |
--------------------------------------------------------------------------------
/src/extension/chrome/locale/zh-TW/ietab.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLParagraphElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLParagraphElement interface is the interface to a
44 | * [X]HTML p element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a1-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString align;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLDirectoryElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLDirectoryElement interface is the interface to a
44 | * [X]HTML dir element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf909c-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean compact;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLHeadingElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLHeadingElement interface is the interface to a
44 | * [X]HTML h1, h2, h3, ... element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a2-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString align;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOM3DocumentEvent.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Tom Pixley (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMDocumentEvent interface is the interface to the event
44 | * factory method on a DOM document object.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-3-Events/
48 | */
49 |
50 | [scriptable, uuid(090ecc19-b7cb-4f47-ae47-ed68d4926249)]
51 | interface nsIDOM3DocumentEvent : nsISupports
52 | {
53 | // Introduced in DOM Level 3:
54 | nsIDOMEventGroup createEventGroup();
55 | };
56 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLFieldSetElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLFieldSetElement interface is the interface to a
44 | * [X]HTML fieldset element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9097-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
54 | {
55 | readonly attribute nsIDOMHTMLFormElement form;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLTableCaptionElem.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLTableCaptionElement interface is the interface to a
44 | * [X]HTML caption element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90b3-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString align;
56 | };
57 |
--------------------------------------------------------------------------------
/src/extension/chrome/locale/zh-CN/ietab.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMStorageItem.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Neil Deakin
19 | * Portions created by the Initial Developer are Copyright (C) 2006
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #include "domstubs.idl"
39 |
40 | /**
41 | * Interface for a client side storage item. See
42 | * http://www.whatwg.org/specs/web-apps/current-work/#scs-client-side
43 | * for more information.
44 | *
45 | * A respresentation of a storage object item.
46 | */
47 |
48 | [scriptable, uuid(0CC37C78-4C5F-48E1-ADFC-7480B8FE9DC4)]
49 | interface nsIDOMStorageItem : nsISupports
50 | {
51 | /**
52 | * Indicates whether a key is available only in a secure context.
53 | */
54 | attribute boolean secure;
55 |
56 | /**
57 | * The value associated with the item.
58 | */
59 | attribute DOMString value;
60 | };
61 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMComment.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMCharacterData.idl"
41 |
42 | /**
43 | * The nsIDOMComment interface inherits from nsIDOMCharacterData and represents
44 | * the content of a comment, i.e., all the characters between the starting
45 | * ''.
46 | *
47 | * For more information on this interface please see
48 | * http://www.w3.org/TR/DOM-Level-2-Core/
49 | *
50 | * @status FROZEN
51 | */
52 |
53 | [scriptable, uuid(a6cf9073-15b3-11d2-932e-00805f8add32)]
54 | interface nsIDOMComment : nsIDOMCharacterData
55 | {
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMDocumentStyle.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMDocumentStyle interface is an interface to a document
44 | * object that supports style sheets in the Document Object Model.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Style
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(3d9f4973-dd2e-48f5-b5f7-2634e09eadd9)]
53 | interface nsIDOMDocumentStyle : nsISupports
54 | {
55 | readonly attribute nsIDOMStyleSheetList styleSheets;
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLBaseElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLBaseElement interface is the interface to a [X]HTML
44 | * base element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf908b-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString href;
56 | attribute DOMString target;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLLIElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLLIElement interface is the interface to a [X]HTML li
44 | * element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf909e-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString type;
56 | attribute long value;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMDocumentFragment.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMNode.idl"
41 |
42 | /**
43 | * DocumentFragment is a "lightweight" or "minimal" Document object.
44 | * nsIDOMDocumentFragment is used in situations where the Document
45 | * interface can potentially be a heavyweight interface.
46 | *
47 | * For more information on this interface please see
48 | * http://www.w3.org/TR/DOM-Level-2-Core/
49 | *
50 | * @status FROZEN
51 | */
52 |
53 | [scriptable, uuid(a6cf9076-15b3-11d2-932e-00805f8add32)]
54 | interface nsIDOMDocumentFragment : nsIDOMNode
55 | {
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLMapElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLMapElement interface is the interface to a [X]HTML
44 | * map element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90af-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
54 | {
55 | readonly attribute nsIDOMHTMLCollection areas;
56 | attribute DOMString name;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLUListElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLUListElement interface is the interface to a [X]HTML
44 | * ul element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9099-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean compact;
56 | attribute DOMString type;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMCSSRuleList.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMCSSRuleList interface is a datatype for a list of CSS
44 | * style rules in the Document Object Model.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Style
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90c0-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMCSSRuleList : nsISupports
54 | {
55 | readonly attribute unsigned long length;
56 | nsIDOMCSSRule item(in unsigned long index);
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLModElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLModElement interface is the interface to a [X]HTML
44 | * ins and del element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a9-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLModElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString cite;
56 | attribute DOMString dateTime;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLFrameSetElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLFrameSetElement interface is the interface to a
44 | * [X]HTML frameset element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90b8-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString cols;
56 | attribute DOMString rows;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMCustomEvent.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Tom Pixley (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMEvent.idl"
41 |
42 | /**
43 | * The nsIDOMEventTarget interface is the interface implemented by all
44 | * event targets in the Document Object Model.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-3-Events/
48 | */
49 |
50 | [scriptable, uuid(55c7af7b-1a64-40bf-87eb-2c2cbee0491b)]
51 | interface nsIDOMCustomEvent : nsIDOMEvent
52 | {
53 | void setCurrentTarget(in nsIDOMNode target);
54 | void setEventPhase(in unsigned short phase);
55 |
56 | };
57 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLOptGroupElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLOptGroupElement interface is the interface to a
44 | * [X]HTML optgroup element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9091-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean disabled;
56 | attribute DOMString label;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMStyleSheetList.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMStyleSheetList interface is a datatype for a style sheet
44 | * list in the Document Object Model.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Style
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9081-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMStyleSheetList : nsISupports
54 | {
55 | readonly attribute unsigned long length;
56 | nsIDOMStyleSheet item(in unsigned long index);
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLIsIndexElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLIsIndexElement interface is the interface to a
44 | * [X]HTML isindex element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf908c-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLIsIndexElement : nsIDOMHTMLElement
54 | {
55 | readonly attribute nsIDOMHTMLFormElement form;
56 | attribute DOMString prompt;
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMStorageList.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Neil Deakin
19 | * Portions created by the Initial Developer are Copyright (C) 2006
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #include "domstubs.idl"
39 |
40 | /**
41 | * Interface for a client side storage. See
42 | * http://www.whatwg.org/specs/web-apps/current-work/#scs-client-side
43 | * for more information.
44 | *
45 | * Allows access to contextual storage areas by domain.
46 | */
47 |
48 | interface nsIDOMStorage;
49 |
50 | [scriptable, uuid(f2166929-91B6-4372-8D5F-C366F47A5F54)]
51 | interface nsIDOMStorageList : nsISupports
52 | {
53 | /**
54 | * Returns a storage object for a particular domain.
55 | *
56 | * @param domain domain to retrieve
57 | * @returns a storage area for the given domain
58 | */
59 | nsIDOMStorage namedItem(in DOMString domain);
60 | };
61 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMDocumentEvent.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Tom Pixley (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMDocumentEvent interface is the interface to the event
44 | * factory method on a DOM document object.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Events/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(46b91d66-28e2-11d4-ab1e-0010830123b4)]
53 | interface nsIDOMDocumentEvent : nsISupports
54 | {
55 | nsIDOMEvent createEvent(in DOMString eventType)
56 | raises(DOMException);
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLFontElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLFontElement interface is the interface to a [X]HTML
44 | * font element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a7-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString color;
56 | attribute DOMString face;
57 | attribute DOMString size;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMCDATASection.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMText.idl"
41 |
42 | /**
43 | * CDATA sections are used to escape blocks of text containing characters
44 | * that would otherwise be regarded as markup.
45 | * Their primary purpose is for including material such as XML fragments,
46 | * without needing to escape all the delimiters.
47 | *
48 | * For more information on this interface please see
49 | * http://www.w3.org/TR/DOM-Level-2-Core/
50 | *
51 | * @status FROZEN
52 | */
53 |
54 | [scriptable, uuid(a6cf9071-15b3-11d2-932e-00805f8add32)]
55 | interface nsIDOMCDATASection : nsIDOMText
56 | {
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLOListElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLOListElement interface is the interface to a [X]HTML
44 | * ol element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf909a-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean compact;
56 | attribute long start;
57 | attribute DOMString type;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLStyleElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLStyleElement interface is the interface to a [X]HTML
44 | * style element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf908d-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
54 | {
55 | attribute boolean disabled;
56 | attribute DOMString media;
57 | attribute DOMString type;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMEntity.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMNode.idl"
41 |
42 | /**
43 | * The nsIDOMEntity interface represents an entity, either parsed
44 | * or unparsed, in an XML document.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Core/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9079-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMEntity : nsIDOMNode
54 | {
55 | readonly attribute DOMString publicId;
56 | readonly attribute DOMString systemId;
57 | readonly attribute DOMString notationName;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLCollection.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "domstubs.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLCollection interface is an interface to a collection
44 | * of [X]HTML elements.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9083-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLCollection : nsISupports
54 | {
55 | readonly attribute unsigned long length;
56 |
57 | nsIDOMNode item(in unsigned long index);
58 | nsIDOMNode namedItem(in DOMString name);
59 | };
60 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLLabelElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLLabelElement interface is the interface to a [X]HTML
44 | * label element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9096-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
54 | {
55 | readonly attribute nsIDOMHTMLFormElement form;
56 | attribute DOMString accessKey;
57 | attribute DOMString htmlFor;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLLegendElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLLegendElement interface is the interface to a [X]HTML
44 | * legend element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9098-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
54 | {
55 | readonly attribute nsIDOMHTMLFormElement form;
56 | attribute DOMString accessKey;
57 | attribute DOMString align;
58 | };
59 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDebug.idl:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is XPCOM
15 | *
16 | * The Initial Developer of the Original Code is Doug Turner
17 | *
18 | * Portions created by the Initial Developer are Copyright (C) 2003
19 | * the Initial Developer. All Rights Reserved.
20 | *
21 | * Contributor(s):
22 | *
23 | * Alternatively, the contents of this file may be used under the terms of
24 | * either the GNU General Public License Version 2 or later (the "GPL"), or
25 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 | * in which case the provisions of the GPL or the LGPL are applicable instead
27 | * of those above. If you wish to allow use of your version of this file only
28 | * under the terms of either the GPL or the LGPL, and not to allow others to
29 | * use your version of this file under the terms of the MPL, indicate your
30 | * decision by deleting the provisions above and replace them with the notice
31 | * and other provisions required by the GPL or the LGPL. If you do not delete
32 | * the provisions above, a recipient may use your version of this file under
33 | * the terms of any one of the MPL, the GPL or the LGPL.
34 | *
35 | * ***** END LICENSE BLOCK ***** */
36 |
37 |
38 | #include "nsISupports.idl"
39 |
40 | /**
41 | * nsIDebug is an interface between XPCOM Glue and XPCOM. Users should access
42 | * the nsIDebug interface through the static class nsDebug.
43 | * @see nsDebug.h
44 | *
45 | * @status UNDER_REVIEW
46 | *
47 | */
48 |
49 | [scriptable, uuid(3bf0c3d7-3bd9-4cf2-a971-33572c503e1e)]
50 | interface nsIDebug : nsISupports
51 | {
52 | void assertion(in string aStr,
53 | in string aExpr,
54 | in string aFile,
55 | in long aLine);
56 |
57 | void warning(in string aStr,
58 | in string aFile,
59 | in long aLine);
60 |
61 | void break(in string aFile,
62 | in long aLine);
63 |
64 | void abort(in string aFile,
65 | in long aLine);
66 | };
67 |
68 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLHRElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLHRElement interface is the interface to a [X]HTML hr
44 | * element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a8-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString align;
56 | attribute boolean noShade;
57 | attribute DOMString size;
58 | attribute DOMString width;
59 | };
60 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMStorageWindow.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Neil Deakin
19 | * Portions created by the Initial Developer are Copyright (C) 2006
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | #include "domstubs.idl"
39 |
40 | /**
41 | * Interface for a client side storage. See
42 | * http://www.whatwg.org/specs/web-apps/current-work/#scs-client-side
43 | * for more information.
44 | *
45 | * Allows access to contextual storage areas.
46 | */
47 |
48 | interface nsIDOMStorage;
49 | interface nsIDOMStorageList;
50 |
51 | [scriptable, uuid(55E9C181-2476-47CF-97F8-EFDAAF7B6F7A)]
52 | interface nsIDOMStorageWindow : nsISupports
53 | {
54 | /**
55 | * Session storage for the current browsing context.
56 | */
57 | readonly attribute nsIDOMStorage sessionStorage;
58 |
59 | /**
60 | * Global storage, accessible by domain.
61 | */
62 | readonly attribute nsIDOMStorageList globalStorage;
63 | };
64 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMText.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMCharacterData.idl"
41 |
42 | /**
43 | * The nsIDOMText interface inherits from nsIDOMCharacterData and represents
44 | * the textual content (termed character data in XML) of an Element or Attr.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-Core/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf9082-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMText : nsIDOMCharacterData
54 | {
55 | nsIDOMText splitText(in unsigned long offset)
56 | raises(DOMException);
57 | };
58 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLBaseFontElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLBaseFontElement interface is the interface to a
44 | * [X]HTML basefont element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90a6-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLBaseFontElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString color;
56 | attribute DOMString face;
57 | // Modified in DOM Level 2:
58 | attribute long size;
59 | };
60 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIWebBrowserChromeFocus.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 0 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is the Mozilla browser.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications, Inc.
20 | * Portions created by the Initial Developer are Copyright (C) 1999
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "nsISupports.idl"
40 |
41 | /**
42 | * The nsIWebBrowserChromeFocus is implemented by the same object as the
43 | * nsIEmbeddingSiteWindow. It represents the focus up-calls from mozilla
44 | * to the embedding chrome. See mozilla bug #70224 for gratuitous info.
45 | *
46 | * @status FROZEN
47 | */
48 |
49 | [scriptable, uuid(d2206418-1dd1-11b2-8e55-acddcd2bcfb8)]
50 | interface nsIWebBrowserChromeFocus : nsISupports
51 | {
52 | /**
53 | * Set the focus at the next focusable element in the chrome.
54 | */
55 |
56 | void focusNextElement();
57 |
58 | /**
59 | * Set the focus at the previous focusable element in the chrome.
60 | */
61 |
62 | void focusPrevElement();
63 |
64 | };
65 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/plerror.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is the Netscape Portable Runtime (NSPR).
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998-2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | /*
39 | ** File: plerror.h
40 | ** Description: Simple routine to print translate the calling thread's
41 | ** error numbers and print them.
42 | */
43 |
44 | #if defined(PLERROR_H)
45 | #else
46 | #define PLERROR_H
47 |
48 | #include "prio.h"
49 | #include "prtypes.h"
50 |
51 | PR_BEGIN_EXTERN_C
52 | /*
53 | ** Print the messages to "syserr" prepending 'msg' if not NULL.
54 | */
55 | PR_EXTERN(void) PL_PrintError(const char *msg);
56 |
57 | /*
58 | ** Print the messages to specified output file prepending 'msg' if not NULL.
59 | */
60 | PR_EXTERN(void) PL_FPrintError(PRFileDesc *output, const char *msg);
61 |
62 | PR_END_EXTERN_C
63 |
64 | #endif /* defined(PLERROR_H) */
65 |
66 | /* plerror.h */
67 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLMetaElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLMetaElement interface is the interface to a [X]HTML
44 | * meta element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf908a-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString content;
56 | attribute DOMString httpEquiv;
57 | attribute DOMString name;
58 | attribute DOMString scheme;
59 | };
60 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIDOMHTMLParamElement.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 2000
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Vidur Apparao (original author)
24 | * Johnny Stenback
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #include "nsIDOMHTMLElement.idl"
41 |
42 | /**
43 | * The nsIDOMHTMLParamElement interface is the interface to a [X]HTML
44 | * param element.
45 | *
46 | * For more information on this interface please see
47 | * http://www.w3.org/TR/DOM-Level-2-HTML/
48 | *
49 | * @status FROZEN
50 | */
51 |
52 | [scriptable, uuid(a6cf90ad-15b3-11d2-932e-00805f8add32)]
53 | interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
54 | {
55 | attribute DOMString name;
56 | attribute DOMString type;
57 | attribute DOMString value;
58 | attribute DOMString valueType;
59 | };
60 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/idl/nsIHttpHeaderVisitor.idl:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is Mozilla.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications.
19 | * Portions created by the Initial Developer are Copyright (C) 2001
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | * Darin Fisher (original author)
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #include "nsISupports.idl"
40 |
41 | /**
42 | * Implement this interface to visit http headers.
43 | *
44 | * @status FROZEN
45 | */
46 | [scriptable, uuid(0cf40717-d7c1-4a94-8c1e-d6c9734101bb)]
47 | interface nsIHttpHeaderVisitor : nsISupports
48 | {
49 | /**
50 | * Called by the nsIHttpChannel implementation when visiting request and
51 | * response headers.
52 | *
53 | * @param aHeader
54 | * the header being visited.
55 | * @param aValue
56 | * the header value (possibly a comma delimited list).
57 | *
58 | * @throw any exception to terminate enumeration
59 | */
60 | void visitHeader(in ACString aHeader, in ACString aValue);
61 | };
62 |
--------------------------------------------------------------------------------
/src/old_plugin/gecko-sdk/include/nsDirectoryServiceUtils.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is Mozilla Communicator client code, released
16 | * March 31, 1998.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998-1999
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either of the GNU General Public License Version 2 or later (the "GPL"),
27 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | #ifndef nsDirectoryServiceUtils_h___
40 | #define nsDirectoryServiceUtils_h___
41 |
42 | #include "nsIServiceManager.h"
43 | #include "nsIProperties.h"
44 | #include "nsServiceManagerUtils.h"
45 | #include "nsCOMPtr.h"
46 | #include "nsXPCOMCID.h"
47 | #include "nsIFile.h"
48 |
49 | inline nsresult
50 | NS_GetSpecialDirectory(const char* specialDirName, nsIFile* *result)
51 | {
52 | nsresult rv;
53 | nsCOMPtr serv(do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID, &rv));
54 | if (NS_FAILED(rv))
55 | return rv;
56 |
57 | return serv->Get(specialDirName, NS_GET_IID(nsIFile),
58 | NS_REINTERPRET_CAST(void**, result));
59 | }
60 |
61 | #endif
62 |
--------------------------------------------------------------------------------