125
|
1 module dwt.internal.mozilla.nsIDocShellTreeOwner;
|
|
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.nsIDocShellTreeItem;
|
|
8 import dwt.internal.mozilla.nsStringAPI;
|
|
9
|
|
10 /******************************************************************************
|
|
11
|
|
12 ******************************************************************************/
|
|
13
|
|
14 const char[] NS_IDOCSHELLTREEOWNER_IID_STR = "9e508466-5ebb-4618-abfa-9ad47bed0b2e";
|
|
15
|
|
16 const nsIID NS_IDOCSHELLTREEOWNER_IID=
|
|
17 {0x9e508466, 0x5ebb, 0x4618,
|
|
18 [ 0xab, 0xfa, 0x9a, 0xd4, 0x7b, 0xed, 0x0b, 0x2e ]};
|
|
19
|
|
20 interface nsIDocShellTreeOwner : nsISupports {
|
|
21
|
|
22 static const char[] IID_STR = NS_IDOCSHELLTREEOWNER_IID_STR;
|
|
23 static const nsIID IID = NS_IDOCSHELLTREEOWNER_IID;
|
|
24
|
|
25 extern(System):
|
|
26 nsresult FindItemWithName(PRUnichar *name, nsIDocShellTreeItem aRequestor, nsIDocShellTreeItem aOriginalRequestor, nsIDocShellTreeItem *_retval);
|
|
27 nsresult ContentShellAdded(nsIDocShellTreeItem aContentShell, PRBool aPrimary, PRUnichar *aID);
|
|
28 nsresult GetPrimaryContentShell(nsIDocShellTreeItem *aPrimaryContentShell);
|
|
29 nsresult SizeShellTo(nsIDocShellTreeItem shell, PRInt32 cx, PRInt32 cy);
|
|
30 nsresult SetPersistence(PRBool aPersistPosition, PRBool aPersistSize, PRBool aPersistSizeMode);
|
|
31 nsresult GetPersistence(PRBool *aPersistPosition, PRBool *aPersistSize, PRBool *aPersistSizeMode);
|
|
32
|
|
33 }
|
|
34
|
|
35 /******************************************************************************
|
|
36
|
|
37 ******************************************************************************/
|
|
38
|
|
39 const char[] NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID_STR = "3c2a6927-e923-4ea8-bbda-a335c768ce4e";
|
|
40
|
|
41 const nsIID NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID=
|
|
42 {0x3c2a6927, 0xe923, 0x4ea8,
|
|
43 [ 0xbb, 0xda, 0xa3, 0x35, 0xc7, 0x68, 0xce, 0x4e ]};
|
|
44
|
|
45 interface nsIDocShellTreeOwner_MOZILLA_1_8_BRANCH : nsIDocShellTreeOwner {
|
|
46
|
|
47 static const char[] IID_STR = NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID_STR;
|
|
48 static const nsIID IID = NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID;
|
|
49
|
|
50 extern(System):
|
|
51 nsresult ContentShellAdded2(nsIDocShellTreeItem aContentShell, PRBool aPrimary, PRBool aTargetable, nsAString * aID);
|
|
52 nsresult ContentShellRemoved(nsIDocShellTreeItem aContentShell);
|
|
53
|
|
54 }
|
|
55
|