Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITouchBarHelper.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITouchBarHelper",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString activeUrl; */
Method {
name: "GetActiveUrl",
params: &[Param { name: "aActiveUrl", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString activeTitle; */
Method {
name: "GetActiveTitle",
params: &[Param { name: "aActiveTitle", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean isUrlbarFocused; */
Method {
name: "GetIsUrlbarFocused",
params: &[Param { name: "aIsUrlbarFocused", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void toggleFocusUrlbar (); */
Method {
name: "ToggleFocusUrlbar",
params: &[],
ret: "::nserror::nsresult",
},
/* void unfocusUrlbar (); */
Method {
name: "UnfocusUrlbar",
params: &[],
ret: "::nserror::nsresult",
},
/* attribute nsIArray allItems; */
Method {
name: "GetAllItems",
params: &[Param { name: "aAllItems", ty: "*mut *const nsIArray" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetAllItems",
params: &[Param { name: "aAllItems", ty: "*const nsIArray" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Document document; */
Method {
name: "GetDocument",
params: &[Param { name: "aDocument", ty: "*mut *const libc::c_void" }],
ret: "::nserror::nsresult",
},
/* nsITouchBarInput getTouchBarInput (in string aInputName); */
Method {
name: "GetTouchBarInput",
params: &[Param { name: "aInputName", ty: "*const libc::c_char" }, Param { name: "_retval", ty: "*mut *const nsITouchBarInput" }],
ret: "::nserror::nsresult",
},
/* void insertRestrictionInUrlbar (in string aToken); */
Method {
name: "InsertRestrictionInUrlbar",
params: &[Param { name: "aToken", ty: "*const libc::c_char" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}