Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITouchBarUpdater.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITouchBarUpdater",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void updateTouchBarInputs (in nsIBaseWindow aWindow, in Array<nsITouchBarInput> aInputs); */
Method {
name: "UpdateTouchBarInputs",
params: &[Param { name: "aWindow", ty: "*const nsIBaseWindow" }, Param { name: "aInputs", ty: "*const thin_vec::ThinVec<Option<RefPtr<nsITouchBarInput>>>" }],
ret: "::nserror::nsresult",
},
/* void enterCustomizeMode (); */
Method {
name: "EnterCustomizeMode",
params: &[],
ret: "::nserror::nsresult",
},
/* boolean isTouchBarInitialized (); */
Method {
name: "IsTouchBarInitialized",
params: &[Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void setTouchBarInitialized (in boolean aIsInitialized); */
Method {
name: "SetTouchBarInitialized",
params: &[Param { name: "aIsInitialized", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void showPopover (in nsIBaseWindow aWindow, in nsITouchBarInput aPopover, in boolean aShowing); */
Method {
name: "ShowPopover",
params: &[Param { name: "aWindow", ty: "*const nsIBaseWindow" }, Param { name: "aPopover", ty: "*const nsITouchBarInput" }, Param { name: "aShowing", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}