GeckoPluginSDK-samplesWin32

所属分类:Windows编程
开发工具:Visual C++
文件大小:5145KB
下载次数:11
上传日期:2009-04-17 16:28:04
上 传 者oujiucfan
说明:  GeckoPluginSDK-samplesWin32.zip是一些mozilla插件開發的範例,裏面包含了開發Plugin所需的SDK
(GeckoPluginSDK-samplesWin32.zip are some examples of the mozilla plug-in development, which contains the necessary SDK Development Plugin)

文件列表:
GeckoPluginSDK-samples\Win32SDK (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\appcomps (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\appcomps\idl (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\appcomps\idl\nsIGlobalHistory.idl (2805, 2002-04-26)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\appcomps\include (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\appcomps\include\nsIGlobalHistory.h (3555, 2003-05-08)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\content (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\content\idl (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\content\idl\nsISelection.idl (5994, 2001-09-24)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\content\include (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\content\include\nsISelection.h (15201, 2003-05-08)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\idl (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\idl\nsICookie.idl (3621, 2002-03-15)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\idl\nsICookieManager.idl (2822, 2002-03-15)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\include (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\include\nsICookie.h (8228, 2003-05-08)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\cookie\include\nsICookieManager.h (4615, 2003-05-08)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl (0, 2003-05-21)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOM3DocumentEvent.idl (2373, 2002-04-18)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOM3EventTarget.idl (3132, 2002-04-18)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMAbstractView.idl (2305, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMAttr.idl (2694, 2001-11-27)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMBarProp.idl (2314, 2002-05-08)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCDATASection.idl (2448, 2001-11-27)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCharacterData.idl (3508, 2001-11-27)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMComment.idl (2399, 2001-11-27)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSPrimitiveValue.idl (4977, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSRule.idl (3054, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSRuleList.idl (2407, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSStyleDeclaration.idl (3169, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSStyleSheet.idl (2713, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSValue.idl (2704, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCSSValueList.idl (2297, 2003-01-14)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMCustomEvent.idl (2419, 2002-04-18)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMDocument.idl (4824, 2001-11-27)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMDocumentEvent.idl (2443, 2001-12-05)
GeckoPluginSDK-samples\Win32SDK\gecko-sdk\dom\idl\nsIDOMDocumentFragment.idl (2401, 2001-11-27)
... ...

Last updated 12.20.2001 The current version of the Netscape Plugin API is designed to help the developers to start creating plugins for Mozilla based browsers. This SDK is based on the API developed originally for Netscape browsers starting with Netscape 2.x. Some additions have been made at the time of release Netscape 3.x and Netscape 4.x. The present SDK reflects major changes related to Mozilla code base: LiveConnect for plugin scriptability is no longer supported, existing plugins should be modified slightly to become scriptable again; the browser services are now accessible from the plugin through the access to the service manager. The SDK is intended to help in creating full-blown plugins to work with Mozilla code base without actually having the whole Mozilla source tree present and built. =============================================================== The Common folder contains stub implementations of the NPAPI methods, there is no need to modify files in this folder, just include them into your project. This is not necessary though, some samples or plugin projects may use their own implementations, the files in this folder are just an illustration of one possible way to do that. The Samples section at this point contains the following plugin samples: 1. Basic plugin Shows the bare bones of the plugin dll. It does not do anything special, 'Hello, World' type of thing. Demonstrates how the plugin dll is invoked and how NPAPI methods are called. Can be used as a starting template for writing your own plugin. 2. Simple plugin This plugin example illustrates specific for Mozilla code base features. It is scriptable via JavaScript and uses services provided by the browser. Some xpcom interfaces are implemented here so the Mozilla browser is aware of its capabilities. The plugin does not draw in the native window but rather uses JavaScript box to display the result of its work. Therefore, there are no separate projects for different platforms in this sample. 3. Scriptable plugin Yet another example of plugin scriptability. This plugin implements two native methods callable from the JavaScript and uses native window drawings. 4. Windowless plugin Example of a plugin which does not use native window messaging mechanism and relies exclusively on NPP_HandleEvent to receive GUI messages such as for painting. This plugin simply draws gray rectangle in occupied area. Scriptable samples require generation of .xpt files which should reside in the Mozilla Components directory. To make sure Mozilla is aware of the presence of the new .xpt file one may look at xpti.dat. To force Mozilla to re-scan the Components directory xpti.dat should be removed before Mozilla is started. =============================================================== Plugin developers might find it useful for debugging purporsed to turn off the exeption catching mechanism currently implemented in Mozilla on Windows. To do this add the following line into your prefs.js file: user_pref("plugin.dont_try_safe_calls", true);

近期下载者

相关文件


收藏者