lazarus-ccr/components/geckoport/version2/gecko10/nsiwebprogress.inc
loesje_ 625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00

27 lines
1.0 KiB
PHP

type
nsIWebProgress = interface(nsISupports)
['{570F39D0-EFD0-11d3-B093-00A024FFC08C}']
procedure addProgressListener(aListener: nsIWebProgressListener; aNotifyMask: idlulong); safecall;
procedure removeProgressListener(aListener: nsIWebProgressListener); safecall;
function GetDOMWindow(): nsIDOMWindow; safecall;
property DOMWindow : nsIDOMWindow read GetDOMWindow;
function GetisLoadingDocument(): longbool; safecall;
property isLoadingDocument : longbool read GetisLoadingDocument;
end;
const
nsIWebProgress_NOTIFY_STATE_REQUEST=$00000001;
nsIWebProgress_NOTIFY_STATE_DOCUMENT=$00000002;
nsIWebProgress_NOTIFY_STATE_NETWORK=$00000004;
nsIWebProgress_NOTIFY_STATE_WINDOW=$00000008;
nsIWebProgress_NOTIFY_STATE_ALL=$0000000f;
nsIWebProgress_NOTIFY_PROGRESS=$00000010;
nsIWebProgress_NOTIFY_STATUS=$00000020;
nsIWebProgress_NOTIFY_SECURITY=$00000040;
nsIWebProgress_NOTIFY_LOCATION=$00000080;
nsIWebProgress_NOTIFY_REFRESH=$00000100;
nsIWebProgress_NOTIFY_ALL=$000001ff;