Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIDocShellTreeOwner.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
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 extern(System) | |
21 | |
22 interface nsIDocShellTreeOwner : nsISupports { | |
23 | |
24 static const char[] IID_STR = NS_IDOCSHELLTREEOWNER_IID_STR; | |
25 static const nsIID IID = NS_IDOCSHELLTREEOWNER_IID; | |
26 | |
27 nsresult FindItemWithName(PRUnichar *name, nsIDocShellTreeItem aRequestor, nsIDocShellTreeItem aOriginalRequestor, nsIDocShellTreeItem *_retval); | |
28 nsresult ContentShellAdded(nsIDocShellTreeItem aContentShell, PRBool aPrimary, PRUnichar *aID); | |
29 nsresult GetPrimaryContentShell(nsIDocShellTreeItem *aPrimaryContentShell); | |
30 nsresult SizeShellTo(nsIDocShellTreeItem shell, PRInt32 cx, PRInt32 cy); | |
31 nsresult SetPersistence(PRBool aPersistPosition, PRBool aPersistSize, PRBool aPersistSizeMode); | |
32 nsresult GetPersistence(PRBool *aPersistPosition, PRBool *aPersistSize, PRBool *aPersistSizeMode); | |
33 | |
34 } | |
35 | |
36 /****************************************************************************** | |
37 | |
38 ******************************************************************************/ | |
39 | |
40 const char[] NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID_STR = "3c2a6927-e923-4ea8-bbda-a335c768ce4e"; | |
41 | |
42 const nsIID NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID= | |
43 {0x3c2a6927, 0xe923, 0x4ea8, | |
44 [ 0xbb, 0xda, 0xa3, 0x35, 0xc7, 0x68, 0xce, 0x4e ]}; | |
45 | |
46 extern(System) | |
47 | |
48 interface nsIDocShellTreeOwner_MOZILLA_1_8_BRANCH : nsIDocShellTreeOwner { | |
49 | |
50 static const char[] IID_STR = NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID_STR; | |
51 static const nsIID IID = NS_IDOCSHELLTREEOWNER_MOZILLA_1_8_BRANCH_IID; | |
52 | |
53 nsresult ContentShellAdded2(nsIDocShellTreeItem aContentShell, PRBool aPrimary, PRBool aTargetable, nsAString * aID); | |
54 nsresult ContentShellRemoved(nsIDocShellTreeItem aContentShell); | |
55 | |
56 } | |
57 |