2008-05-06 Anders Carlsson <andersca@apple.com>
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 May 2008 00:52:56 +0000 (00:52 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 May 2008 00:52:56 +0000 (00:52 +0000)
commitccfc36c0d048018dc5b289ea3e8b149bca719aee
treec5ee5eb4ac97dfc2f1cb87e9e3a8daa5a7e56b60
parent324f891e7a4596170c049f236acf303d2626af33
2008-05-06  Anders Carlsson  <andersca@apple.com>

        Reviewed by Mitz.

        Add NPN_PopUpContextMenu example.

        * NetscapeCocoaPlugin/MenuHandler.h: Added.
        * NetscapeCocoaPlugin/MenuHandler.m: Added.
        (-[MenuHandler _openURL:]):
        (-[MenuHandler _disabledItem:]):
        (-[MenuHandler validateUserInterfaceItem:]):
        (-[MenuHandler initWithBrowserFuncs:instance:]):
        (-[MenuHandler dealloc]):
        (-[MenuHandler menu]):
        * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
        * NetscapeCocoaPlugin/main.m:
        (NPP_Destroy):
        (handleMouseEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitExamplePlugins/ChangeLog
WebKitExamplePlugins/NetscapeCocoaPlugin/MenuHandler.h [new file with mode: 0644]
WebKitExamplePlugins/NetscapeCocoaPlugin/MenuHandler.m [new file with mode: 0644]
WebKitExamplePlugins/NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj
WebKitExamplePlugins/NetscapeCocoaPlugin/main.m