2008-05-06 Anders Carlsson <andersca@apple.com>
[WebKit-https.git] / WebKitExamplePlugins / ChangeLog
1 2008-05-06  Anders Carlsson  <andersca@apple.com>
2
3         Reviewed by Mitz.
4
5         Add NPN_PopUpContextMenu example.
6         
7         * NetscapeCocoaPlugin/MenuHandler.h: Added.
8         * NetscapeCocoaPlugin/MenuHandler.m: Added.
9         (-[MenuHandler _openURL:]):
10         (-[MenuHandler _disabledItem:]):
11         (-[MenuHandler validateUserInterfaceItem:]):
12         (-[MenuHandler initWithBrowserFuncs:instance:]):
13         (-[MenuHandler dealloc]):
14         (-[MenuHandler menu]):
15         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
16         * NetscapeCocoaPlugin/main.m:
17         (NPP_Destroy):
18         (handleMouseEvent):
19
20 2008-05-06  Anders Carlsson  <andersca@apple.com>
21
22         Reviewed by Jon, Tim and Mark.
23
24         Add a sample NPAPI plugin that uses the Cocoa event model.
25
26         * .: Added.
27         * ChangeLog: Added.
28         * NetscapeCocoaPlugin: Added.
29         * NetscapeCocoaPlugin/English.lproj: Added.
30         * NetscapeCocoaPlugin/English.lproj/InfoPlist.strings: Added.
31         * NetscapeCocoaPlugin/Info.plist: Added.
32         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj: Added.
33         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj: Added.
34         * NetscapeCocoaPlugin/main.m: Added.
35         (NP_Initialize):
36         (NP_GetEntryPoints):
37         (NP_Shutdown):
38         (NPP_New):
39         (NPP_Destroy):
40         (NPP_SetWindow):
41         (NPP_NewStream):
42         (NPP_DestroyStream):
43         (NPP_WriteReady):
44         (NPP_Write):
45         (NPP_StreamAsFile):
46         (NPP_Print):
47         (handleDraw):
48         (eventType):
49         (invalidatePlugin):
50         (handleMouseEvent):
51         (handleKeyboardEvent):
52         (NPP_HandleEvent):
53         (NPP_URLNotify):
54         (NPP_GetValue):
55         (NPP_SetValue):
56         * NetscapeCocoaPlugin/test.html: Added.