view org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIWebBrowser.d @ 0:6dd524f61e62

add dwt win and basic java stuff
author Frank Benoit <benoit@tionex.de>
date Mon, 02 Mar 2009 14:44:16 +0100
parents
children
line wrap: on
line source

module org.eclipse.swt.internal.mozilla.nsIWebBrowser;

import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;

import org.eclipse.swt.internal.mozilla.nsIWebBrowserChrome; 
import org.eclipse.swt.internal.mozilla.nsIURIContentListener;
import org.eclipse.swt.internal.mozilla.nsIDOMWindow;
import org.eclipse.swt.internal.mozilla.nsIWeakReference;

const char[] NS_IWEBBROWSER_IID_STR = "69e5df00-7b8b-11d3-af61-00a024ffc08c";

const nsIID NS_IWEBBROWSER_IID= 
  {0x69e5df00, 0x7b8b, 0x11d3, 
    [ 0xaf, 0x61, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]};

interface nsIWebBrowser : nsISupports {

  static const char[] IID_STR = NS_IWEBBROWSER_IID_STR;
  static const nsIID IID = NS_IWEBBROWSER_IID;

extern(System):
  nsresult AddWebBrowserListener(nsIWeakReference aListener, nsIID * aIID);
  nsresult RemoveWebBrowserListener(nsIWeakReference aListener, nsIID * aIID);
  nsresult GetContainerWindow(nsIWebBrowserChrome  *aContainerWindow);
  nsresult SetContainerWindow(nsIWebBrowserChrome  aContainerWindow);
  nsresult GetParentURIContentListener(nsIURIContentListener  *aParentURIContentListener);
  nsresult SetParentURIContentListener(nsIURIContentListener  aParentURIContentListener);
  nsresult GetContentDOMWindow(nsIDOMWindow  *aContentDOMWindow);

}