comparison 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
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
13 13
14 const nsIID NS_ICONTEXTMENULISTENER2_IID= 14 const nsIID NS_ICONTEXTMENULISTENER2_IID=
15 {0x7fb719b3, 0xd804, 0x4964, 15 {0x7fb719b3, 0xd804, 0x4964,
16 [ 0x95, 0x96, 0x77, 0xcf, 0x92, 0x4e, 0xe3, 0x14 ]}; 16 [ 0x95, 0x96, 0x77, 0xcf, 0x92, 0x4e, 0xe3, 0x14 ]};
17 17
18 //extern(System)
19
20 interface nsIContextMenuListener2 : nsISupports { 18 interface nsIContextMenuListener2 : nsISupports {
21 19
22 static const char[] IID_STR = NS_ICONTEXTMENULISTENER2_IID_STR; 20 static const char[] IID_STR = NS_ICONTEXTMENULISTENER2_IID_STR;
23 static const nsIID IID = NS_ICONTEXTMENULISTENER2_IID; 21 static const nsIID IID = NS_ICONTEXTMENULISTENER2_IID;
24 22
28 enum { CONTEXT_DOCUMENT = 4U }; 26 enum { CONTEXT_DOCUMENT = 4U };
29 enum { CONTEXT_TEXT = 8U }; 27 enum { CONTEXT_TEXT = 8U };
30 enum { CONTEXT_INPUT = 16U }; 28 enum { CONTEXT_INPUT = 16U };
31 enum { CONTEXT_BACKGROUND_IMAGE = 32U }; 29 enum { CONTEXT_BACKGROUND_IMAGE = 32U };
32 30
31 extern(System):
33 nsresult OnShowContextMenu(PRUint32 aContextFlags, nsIContextMenuInfo aUtils); 32 nsresult OnShowContextMenu(PRUint32 aContextFlags, nsIContextMenuInfo aUtils);
34 } 33 }
35 34
36 /****************************************************************************** 35 /******************************************************************************
37 36
41 40
42 const nsIID NS_ICONTEXTMENUINFO_IID= 41 const nsIID NS_ICONTEXTMENUINFO_IID=
43 {0x2f977d56, 0x5485, 0x11d4, 42 {0x2f977d56, 0x5485, 0x11d4,
44 [ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 ]}; 43 [ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 ]};
45 44
46 //extern(System)
47
48 interface nsIContextMenuInfo : nsISupports { 45 interface nsIContextMenuInfo : nsISupports {
49 46
50 static const char[] IID_STR = NS_ICONTEXTMENUINFO_IID_STR; 47 static const char[] IID_STR = NS_ICONTEXTMENUINFO_IID_STR;
51 static const nsIID IID = NS_ICONTEXTMENUINFO_IID; 48 static const nsIID IID = NS_ICONTEXTMENUINFO_IID;
52 49
50 extern(System):
53 nsresult GetMouseEvent(nsIDOMEvent *aMouseEvent); 51 nsresult GetMouseEvent(nsIDOMEvent *aMouseEvent);
54 nsresult GetTargetNode(nsIDOMNode *aTargetNode); 52 nsresult GetTargetNode(nsIDOMNode *aTargetNode);
55 nsresult GetAssociatedLink(nsAString * aAssociatedLink); 53 nsresult GetAssociatedLink(nsAString * aAssociatedLink);
56 nsresult GetImageContainer(imgIContainer *aImageContainer); 54 nsresult GetImageContainer(imgIContainer *aImageContainer);
57 nsresult GetImageSrc(nsIURI *aImageSrc); 55 nsresult GetImageSrc(nsIURI *aImageSrc);