00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 #include "tmozIDomainConfiguration.idl" 00004 #include "tmozIDomainComponentManager.idl" 00005 #include "tmozIActionObjectListener.idl" 00006 00007 interface tmozIFrame; 00008 interface tmozIApplication; 00009 00023 [scriptable, uuid(b8eb824d-56d0-473d-9479-478fb7b20e7b) ] 00024 interface tmozIDomain: nsISupports 00025 { 00031 readonly attribute tmozIApplication application; 00032 00036 const long DOMAIN_STATUS_INACTIVE = 0; 00037 00041 const long DOMAIN_STATUS_STARTING = 1; 00042 00046 const long DOMAIN_STATUS_ACTIVATED = 2; 00047 00057 readonly attribute long status; 00058 00064 readonly attribute tmozIDomainConfiguration configuration; 00065 00072 readonly attribute tmozIFrame mainFrame; 00073 00080 readonly attribute tmozIDomainComponentManager componentManager; 00081 00088 void commitChanges(); 00089 00096 void cleanAllFiles(); 00097 00106 void registerCommand(in AString command, in AString text); 00107 00115 void unregisterCommand(in AString command); 00116 00125 void registerActionObjectListener(in AString objectType, in tmozIActionObjectListener listener); 00126 00136 void unregisterActionObjectListener(in tmozIActionObjectListener listener); 00137 };