1 module org.eclipse.swt.internal.mozilla.nsIEmbeddingSiteWindow;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 
9 const char[] NS_IEMBEDDINGSITEWINDOW_IID_STR = "3e5432cd-9568-4bd1-8cbe-d50aba110743";
10 
11 const nsIID NS_IEMBEDDINGSITEWINDOW_IID= 
12   {0x3e5432cd, 0x9568, 0x4bd1, 
13     [ 0x8c, 0xbe, 0xd5, 0x0a, 0xba, 0x11, 0x07, 0x43 ]};
14 
15 interface nsIEmbeddingSiteWindow : nsISupports {
16 
17   static const char[] IID_STR = NS_IEMBEDDINGSITEWINDOW_IID_STR;
18   static const nsIID IID = NS_IEMBEDDINGSITEWINDOW_IID;
19 
20   enum { DIM_FLAGS_POSITION = 1U };
21   enum { DIM_FLAGS_SIZE_INNER = 2U };
22   enum { DIM_FLAGS_SIZE_OUTER = 4U };
23 
24 extern(System):
25   nsresult SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy);
26   nsresult GetDimensions(PRUint32 flags, PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
27   nsresult SetFocus();
28   nsresult GetVisibility(PRBool *aVisibility);
29   nsresult SetVisibility(PRBool aVisibility);
30   nsresult GetTitle(PRUnichar * *aTitle);
31   nsresult SetTitle(PRUnichar * aTitle);
32   nsresult GetSiteWindow(void * *aSiteWindow);
33 
34 }
35