Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/base/nsIAvailableMemoryWatcherBase.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITabUnloader",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void unloadTabAsync (); */
Method {
name: "UnloadTabAsync",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIAvailableMemoryWatcherBase",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void registerTabUnloader (in nsITabUnloader aTabUnloader); */
Method {
name: "RegisterTabUnloader",
params: &[Param { name: "aTabUnloader", ty: "*const nsITabUnloader" }],
ret: "::nserror::nsresult",
},
/* void onUnloadAttemptCompleted (in nsresult aResult); */
Method {
name: "OnUnloadAttemptCompleted",
params: &[Param { name: "aResult", ty: "nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}