comparison dwt/internal/mozilla/nsIContentViewer.d @ 291:b0bd1789106b

fix: added wrong directory :(
author John Reimer<terminal.node@gmail.com>
date Wed, 06 Aug 2008 18:29:44 -0700
parents dd63eb078d7a
children 942da4b6558a
comparison
equal deleted inserted replaced
290:4c1340edee0d 291:b0bd1789106b
1 module dwt.internal.mozilla.nsIContentViewer;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 import dwt.internal.mozilla.nsIDOMDocument;
8 import dwt.internal.mozilla.nsISHEntry;
9
10 /******************************************************************************
11
12 ******************************************************************************/
13
14 const char[] NS_ICONTENTVIEWER_IID_STR = "6a7ddb40-8a9e-4576-8ad1-71c5641d8780";
15
16 const nsIID NS_ICONTENTVIEWER_IID=
17 {0x6a7ddb40, 0x8a9e, 0x4576,
18 [ 0x8a, 0xd1, 0x71, 0xc5, 0x64, 0x1d, 0x87, 0x80 ]};
19
20 extern(System)
21
22 interface nsIContentViewer : nsISupports {
23
24 static const char[] IID_STR = NS_ICONTENTVIEWER_IID_STR;
25 static const nsIID IID = NS_ICONTENTVIEWER_IID;
26
27 nsresult Init(nsIWidget * aParentWidget, nsIDeviceContext * aDeviceContext, nsRect * aBounds);
28 nsresult GetContainer(nsISupports *aContainer);
29 nsresult SetContainer(nsISupports aContainer);
30 nsresult LoadStart(nsISupports aDoc);
31 nsresult LoadComplete(PRUint32 aStatus);
32 nsresult PermitUnload(PRBool *_retval);
33 nsresult PageHide(PRBool isUnload);
34 nsresult Close(nsISHEntry historyEntry);
35 nsresult Destroy();
36 nsresult Stop();
37 nsresult GetDOMDocument(nsIDOMDocument *aDOMDocument);
38 nsresult SetDOMDocument(nsIDOMDocument aDOMDocument);
39 nsresult GetBounds(nsRect * aBounds);
40 nsresult SetBounds(nsRect * aBounds);
41 nsresult GetPreviousViewer(nsIContentViewer *aPreviousViewer);
42 nsresult SetPreviousViewer(nsIContentViewer aPreviousViewer);
43 nsresult Move(PRInt32 aX, PRInt32 aY);
44 nsresult Show();
45 nsresult Hide();
46 nsresult GetEnableRendering(PRBool *aEnableRendering);
47 nsresult SetEnableRendering(PRBool aEnableRendering);
48 nsresult GetSticky(PRBool *aSticky);
49 nsresult SetSticky(PRBool aSticky);
50 nsresult RequestWindowClose(PRBool *_retval);
51 nsresult Open(nsISupports aState);
52 nsresult ClearHistoryEntry();
53
54 }
55
56 /******************************************************************************
57
58 ******************************************************************************/
59
60 const char[] NS_ICONTENTVIEWER_MOZILLA_1_8_BRANCH_IID_STR = "51341ed4-a3bf-4fd5-ae17-5fd3ec59dcab";
61
62 const nsIID NS_ICONTENTVIEWER_MOZILLA_1_8_BRANCH_IID=
63 {0x51341ed4, 0xa3bf, 0x4fd5,
64 [ 0xae, 0x17, 0x5f, 0xd3, 0xec, 0x59, 0xdc, 0xab ]};
65
66 extern(System)
67
68 interface nsIContentViewer_MOZILLA_1_8_BRANCH : nsISupports {
69
70 static const char[] IID_STR = NS_ICONTENTVIEWER_MOZILLA_1_8_BRANCH_IID_STR;
71 static const nsIID IID = NS_ICONTENTVIEWER_MOZILLA_1_8_BRANCH_IID;
72
73 nsresult OpenWithEntry(nsISupports aState, nsISHEntry aSHEntry);
74
75 }
76