Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/modules/nsIBrowserWindowTracker.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIVisibleTab",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* attribute AString contentTitle; */
Method {
name: "GetContentTitle",
params: &[Param { name: "aContentTitle", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetContentTitle",
params: &[Param { name: "aContentTitle", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute int64_t browserId; */
Method {
name: "GetBrowserId",
params: &[Param { name: "aBrowserId", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetBrowserId",
params: &[Param { name: "aBrowserId", ty: "i64" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIBrowserWindowTracker",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* Array<nsIVisibleTab> getAllVisibleTabs (); */
Method {
name: "GetAllVisibleTabs",
params: &[Param { name: "_retval", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsIVisibleTab>>>" }],
ret: "::nserror::nsresult",
},
/* nsISupports getBrowserById (in uint64_t aBrowserId); */
Method {
name: "GetBrowserById",
params: &[Param { name: "aBrowserId", ty: "u64" }, Param { name: "_retval", ty: "*mut *const nsISupports" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}