Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsIContextMenuListener2.d @ 348:9a4d7706df52
Test Update to fix linux XPCOM interface issues
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:46:44 -0700 |
parents | 942da4b6558a |
children |
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsIContextMenuListener2.d Wed Oct 29 20:12:27 2008 -0700 +++ b/dwt/internal/mozilla/nsIContextMenuListener2.d Fri Oct 31 21:46:44 2008 -0700 @@ -15,8 +15,6 @@ {0x7fb719b3, 0xd804, 0x4964, [ 0x95, 0x96, 0x77, 0xcf, 0x92, 0x4e, 0xe3, 0x14 ]}; -//extern(System) - interface nsIContextMenuListener2 : nsISupports { static const char[] IID_STR = NS_ICONTEXTMENULISTENER2_IID_STR; @@ -30,6 +28,7 @@ enum { CONTEXT_INPUT = 16U }; enum { CONTEXT_BACKGROUND_IMAGE = 32U }; +extern(System): nsresult OnShowContextMenu(PRUint32 aContextFlags, nsIContextMenuInfo aUtils); } @@ -43,13 +42,12 @@ {0x2f977d56, 0x5485, 0x11d4, [ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 ]}; -//extern(System) - interface nsIContextMenuInfo : nsISupports { static const char[] IID_STR = NS_ICONTEXTMENUINFO_IID_STR; static const nsIID IID = NS_ICONTEXTMENUINFO_IID; +extern(System): nsresult GetMouseEvent(nsIDOMEvent *aMouseEvent); nsresult GetTargetNode(nsIDOMNode *aTargetNode); nsresult GetAssociatedLink(nsAString * aAssociatedLink);